[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-07。"],[[["\u003cp\u003eThis guide addresses migrating Oracle tables without primary keys to PostgreSQL, a requirement for Database Migration Service.\u003c/p\u003e\n"],["\u003cp\u003eThe default Database Migration Service workspace automatically creates \u003ccode\u003erowid\u003c/code\u003e columns as primary keys, but the legacy workspace requires manual key creation.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a primary key by leveraging existing unique columns or indexes in the Oracle source table.\u003c/p\u003e\n"],["\u003cp\u003eAnother option is creating a new \u003ccode\u003erowid\u003c/code\u003e column in the PostgreSQL destination, which Database Migration Service populates using Oracle's \u003ccode\u003erowid\u003c/code\u003e pseudocolumn values.\u003c/p\u003e\n"],["\u003cp\u003eIf no other option works, you may create a primary key encompassing all columns of the table, ensuring it does not exceed PostgreSQL's maximum key length.\u003c/p\u003e\n"]]],[],null,[]]