Oracle to Sybase ASE Migration Guide
Oracle to Sybase ASE Migration Guide
Oracle to Sybase ASE Migration Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
ORACLE TO SYB<strong>ASE</strong> <strong>ASE</strong> MIGRATION GUIDERev.1.3and bill have been added as database users. Under each user, a salesdetails table is created, which willhave the full name john.salesdetails and bill.salesdetails.Either option is possible; technically <strong>ASE</strong> does not favor one over the other, but the multi-tenancy model fits best with<strong>ASE</strong>'s methods for backup and res<strong>to</strong>re.It should be noted that multi-tenancy models are sometimes incorrectly seen as security weaknesses since it would beeasier for user bill <strong>to</strong> access john's tables, since they are located in the same <strong>ASE</strong> database. This is however not justified:if standard best practices around <strong>ASE</strong> security are followed, then security can be fully guaranteed.One consideration around multi-tenancy databases is that a backup of a database contains the data from all users in thatdatabase. If this is undesirable, for example because each user wants <strong>to</strong> have a backup copy of his own database, thenthe first option above (separate <strong>ASE</strong> databases for each user) should be followed instead.Lastly, it may also be the case that there is only one <strong>Oracle</strong> schema. In that case, there is no need <strong>to</strong> qualify the <strong>ASE</strong>tables with the owner name since they will all be owned by the dbo user.4.6 Schema-related <strong>Oracle</strong>-<strong>Sybase</strong> terminologyFollowing is the high-level terminology mapping of <strong>Oracle</strong> concepts <strong>to</strong> <strong>Sybase</strong> concepts. This table is not intended <strong>to</strong> beused for direct migration purposes, but only as high-level terminology guidance.<strong>Oracle</strong>DatabaseSchemaTablespaceSegmentUndo/rollback tablespaceOnline redo logs<strong>Sybase</strong> <strong>ASE</strong>Database ServerDatabase and objects owned by the same user.Aspects of <strong>ASE</strong> database and/or database device and/orsegment(system/sysaux tablespace<strong>ASE</strong> master database;temporary tablespace<strong>ASE</strong> tempdb database;user-defined tablespacedatabase device and/or segment)A database object that has space allocated (table, index,materialized view)Transaction logTransaction logUser User, Login (see section 5.5)RoleTableTemporary tableRoleTableTemporary tableViewMaterialized ViewClusterIndexIndex-organized tableColumn-level check constraintViewNo direct equivalentNo direct equivalentNon-unique indexTable with clustered indexColumn-level check constraintDatabase Schema <strong>Migration</strong> 20