new feature ——>mysql to oracle Migration
Oracle Migration
Good guide to identifying differences
Schema
Data
Objects
Application
MySQL Migration Toolkit
- Does
- Tables/Views
- Data
- Does Not (yet)
- Sequences
- Stored Procedures
- Triggers
Oracle Migration - Schema
Case Sensitive Table Names
Data Types
- INT, FLOAT/DOUBLE, NUMBER
- UNSIGNED
- BIT
Sequences replacement – Auto Increment
What's Missing
Snapshots, Check Constraints, Flashback queries, synonyms
Oracle Migration - Data
Date Format – no NLS_DATE_FORMAT
Silent conversions
- Less likely due to Oracle as Source
No Oracle Timestamp (no ms support)
Data Verification necessary
- COUNT(), SUM(), MD5()
Oracle Migration – Data Verification
Numeric Precision/Rounding
Character Sets (multi-byte data)
CHAR usage
- CHAR(5)
- Oracle 'abc ' - 5 characters long
- MySQL 'abc' - 3 characters long
Oracle Migration - Objects
No Packages
Restricted Triggers
- Only one trigger per table per DML statement
- Missing
- INSTEAD,
- INSERT OR UPDATE
- OR REPLACE
- Only for DML Statements
Oracle Migration - Application
NVL() --> IFNULL()
ROWNUM --> LIMIT
SEQ.CURRVAL --> LAST_INSERT_ID()
SEQ.NEXTVAL --> NULL
NO DUAL necessary (SELECT NOW())
NO DECODE() --> IF() CASE()
JOIN (+) Syntax --> INNER|OUTER LEFT|RIGHT
Oracle Migration - Application
Date Functions
- CURDATE(), NOW()
Data Formats
- Default is YYYY-MM-DD
Case insensitive searching
- no UPPER(column) = UPPER(value)
- Character Set/Collation specific
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10130206/viewspace-1060007/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Database 12C New FeatureOracleDatabase
- Oracle 12c Recover Table New FeatureOracle
- java new featureJava
- oracle 12c new feature 列不可見Oracle
- Oracle10g New Feature -- 6. Oracle Data PumpOracle
- Oracle10g New Feature -- 8. Tablespace ManagementOracle
- Oracle10g New Feature -- 4. Flashback DatabaseOracleDatabase
- Oracle10g New Feature -- 3.Flashback TableOracle
- Oracle10g New Feature -- 2.Flashback RecordsOracle
- 12c new feature
- 版本新特性(new feature)
- Oracle10g New Feature -- 11. Wait InterfaceOracleAI
- Oracle10g New Feature -- 7. Rollback MonitoringOracle
- Oracle10g New Feature -- 5.Temporary Tablespace GroupOracle
- oracle10g new feature -- 1. SqlplusOracleSQL
- Oracle10g New Feature -- 14. OEM ( Oracle Enterprise Manager)Oracle
- oracle 11g ocp new feature 1z0-050Oracle
- Oracle10g New Feature:CRS(Cluster Ready Services) (zt)Oracle
- 11g New Feature: Health monitor
- Oracle10g New Feature -- 9. ASM (Automatic Storage Management)OracleASM
- oracle 12cR2 new feature dbca 命令可以建立standby 庫Oracle
- Does Goldengate Support The New Oracle 10g Flashback Feature? [ID 966212.1]GoOracle 10g
- Oracle10g New Feature -- 13. Automatic Shared Memory ManagementOracle
- Oracle10g New Feature --12. ASSM ( Automatic Segment Space Management )OracleSSM
- Oracle10g New Feature -- 10. AWR (Automatic Workload Repository)Oracle
- oracle10g new feature:對expdp並行方式的幾個測試Oracle並行
- j2ee1.4 new feature請教banq
- oracle 12c R2 new feature 支援執行過的歷史命令Oracle
- oracle 12c new feature crsctl 停止資源時提供預覽確認功能Oracle
- MySQL Migration Toolkit Java JRE errorMySqlJavaError
- 11g New Feature: Health monitor (Doc ID 466920.1)
- [20130817]Oracle 12c new feature In-Database Archiving.txtOracleDatabase
- New in Mysql 5.5MySql
- [20190805]Oracle 12c New Feature – Online Partitioning.txtOracle
- Oracle Migration Workbench - Part Two(轉載)Oracle
- Test Negtive Role Set in a stream environmnet- 10g_new_feature
- ORACLE 11G FLASHBACK FEATUREOracle
- Oracle Database Change Data Capture featureOracleDatabaseAPT