Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: update online schema change wording (#1637)

tianzhou3bb56b9085d5
diff --git a/frontend/src/components/AlterSchemaPrepForm/GhostDialog.vue b/frontend/src/components/AlterSchemaPrepForm/GhostDialog.vue
index fb42dfaae0..03297b5438 100644
--- a/frontend/src/components/AlterSchemaPrepForm/GhostDialog.vue
+++ b/frontend/src/components/AlterSchemaPrepForm/GhostDialog.vue
@@ -39,7 +39,7 @@
<i18n-t tag="p" keypath="issue.migration-mode.online.description">
<template #link>
<LearnMoreLink
- url="https://github.com/bytebase/bytebase/blob/main/docs/design/gh-ost-integration.md"
+ url="https://www.bytebase.com/docs/features/online-schema-change"
/>
</template>
</i18n-t>
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index f5317954d0..487ca8c1f2 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -473,11 +473,11 @@
"title": "Migration mode",
"normal": {
"title": "Normal migration (for normal-sized table)",
- "description": "Perform schema change directly on the target table."
+ "description": "Perform schema change directly on the target table. A lock will be held during the entire migration."
},
"online": {
"title": "Online migration (for large-sized table)",
- "description": "Perform schema change on a duplicated empty table. Sync the data and swap the table name after sync finishes. Applying migration on a large table directly would cause long-time unavailability {link}."
+ "description": "Based on gh-ost. For large tables, it can reduce the table lock duration from hours to seconds {link}."
}
},
"new-issue": "@:common.new @:common.issue",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index db79a3c9db..bf9d968233 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -473,11 +473,11 @@
"title": "变更模式",
"normal": {
"title": "普通变更 (适用于正常大小的表)",
- "description": "直接在目标表上执行 schema 变更。"
+ "description": "直接在目标表上执行 schema 变更,表在整个变更期间会被锁住。"
},
"online": {
- "title": "在线变更 (适用于数据量大的表)",
- "description": "在复制的空表上执行 schema 变更,开始从原表同步数据,并在同步完成之后交换表名。如果直接在原表上变更会导致长时间不可用 {link}。"
+ "title": "在线变更 (适用于大数据量的表)",
+ "description": "基于 gh-ost。对于大表,可以把锁表的时间从小时级降低到秒级 {link}。"
}
},
"new-issue": "@:common.new@:common.issue",