diff --git a/docs/content/preview/manage/data-migration/bulk-export-ysql.md b/docs/content/preview/manage/data-migration/bulk-export-ysql.md index 9adda5625de9..8ccb166692cd 100644 --- a/docs/content/preview/manage/data-migration/bulk-export-ysql.md +++ b/docs/content/preview/manage/data-migration/bulk-export-ysql.md @@ -44,7 +44,7 @@ The `ysql_dump` tool can simplify some steps of your schema migration, refer to ### Specify `PRIMARY KEY` inline -YugabyteDB (as of v2.2) does not support the PostgreSQL syntax of first declaring a table, and subsequently running an ALTER TABLE command to add the primary key. This is because the data in YugabyteDB tables are index-organized according to the primary key specification. There is a significant performance difference in a distributed SQL database between a table that is organized by row ID with an added primary key constraint, versus a table whose data layout is index-organized from the get go. +YugabyteDB supports the PostgreSQL syntax of first declaring a table, and subsequently running an ALTER TABLE command to add the primary key. Note that the ALTER TABLE operation requires a disk re-write and may be resource intensive, so it is recommended to set the primary key inline as part of the CREATE TABLE operation. ### Use `HASH` sort order diff --git a/docs/content/stable/manage/data-migration/bulk-export-ysql.md b/docs/content/stable/manage/data-migration/bulk-export-ysql.md index 5a01a52b8f82..8ff2e0765f33 100644 --- a/docs/content/stable/manage/data-migration/bulk-export-ysql.md +++ b/docs/content/stable/manage/data-migration/bulk-export-ysql.md @@ -44,7 +44,7 @@ The `ysql_dump` tool can simplify some steps of your schema migration, refer to ### Specify `PRIMARY KEY` inline -YugabyteDB (as of v2.2) does not support the PostgreSQL syntax of first declaring a table, and subsequently running an ALTER TABLE command to add the primary key. This is because the data in YugabyteDB tables are index-organized according to the primary key specification. There is a significant performance difference in a distributed SQL database between a table that is organized by row ID with an added primary key constraint, versus a table whose data layout is index-organized from the get go. +YugabyteDB supports the PostgreSQL syntax of first declaring a table, and subsequently running an ALTER TABLE command to add the primary key. Note that the ALTER TABLE operation requires a disk re-write and may be resource intensive, so it is recommended to set the primary key inline as part of the CREATE TABLE operation. ### Use `HASH` sort order