domestic IT platforms Database migration field guide :Oracle Licence fees 600 ten thousand Alternative decision-making
What about the migration of the credit database? This is a technical selection. 、 Migration Path 、 Performance to security control. , Disassembly Oracle Present. Dameng DM8 The operational process , Guide to true cases and pits 。 Huanan Tengfei Technology share.
2025 End of year , Shenzhen's medium-sized manufacturing company CTO Throw it out at the technology selection. one Group Data :" Ours. Oracle Annual licence fee 600 ten thousand , maintenance More. 80 ten thousand 。 The migration of the national production database must be on the agenda once the letter-making requirements have been met. "This silence of all those present -- not that Oracle is not bad, but that almost 700 million of pure software is spent every year, which hurts too much in manufacturing, where only 5 profits are made. This is not an example. According to IDC《2025 Annual China database market tracking report 》, China Relationship Database Market Size 45.3 hundred-million CNY , For the first time, the share of the national production database has broken. 40%。 The domestic IT platforms database replacement rate for the three main sectors of finance, government and manufacturing has reached 35%, 52% and 18%, respectively. In 2026 years, this number is still climbing. But moving is not as simple as changing software. The database contains enterprise cores business data, with any error during the migration, minor interruptions of hours, and loss of data and non-compliance with the audit. Today's, non-fiction, from technical choice, migration path to risk control, gives you a practical guide to landing. I. What are the options for the IBRD? 2025-2026 Year , A database of the national production relationship has been developed for Dameng 、 The people's vault. 、OceanBase、TiDB、GaussDB The diverse pattern of representation 。 Dameng Database (DM8/DM8C) With the help of Oracle height Compatible syntax solver 、 Grow up. DSC Cluster structure and domestic party politics 、 Energy 、 Long-term landing experience in manufacturing , To become a tradition. Oracle The first target for the stock system replacement one 。 Selection Dameng It's not blind. , It's based on the continuity of its technology. :PL/SQL dialect Supported 、SQL Square Map 、RAC Structure Matches 、 And the perfect surrounding tool chain. 。 Compatibility, however, does not amount to zero modification. A true smooth alternative requires a four-way technological divide that transcends structural differences, data consistency, appliance suitability and performance.
Industry background and cores: Why must the word “stable” be used for migration?
The essence of the enterprise-grade database migration is the reconstruction of the cores asset. Oracle has developed a deep-separated technological ecology in its long evolution: storage process encapsulating cores business logic, physical view supporting complex statements, RAC providing horizontal expansion capability, and Data Guard securing a different location for disaster recovery. When an enterprise decides to replace it, the first point of pain is not the cost of software licences, but the exposure of hidden technical debts. Many systems are moving ahead at an early stage of the line, sunking a large number of computing logics into the database layer, resulting in an application layer that is heavily dependent on Oracle-specific functions, sequence mechanisms and transactional isolation. Direct migration often triggers a chain reaction, such as SQL implementation plan drift, an increase in the probability of a dead lock, and bulk operation time overruns.
Second, co-fertilization of hardware and software in the CBI environment has added complexity. The national production database usually operation matches UnionTech UOS or Kylin Operating system on ARM or x86 frame chips. Differences in the lower command set, kernel control policy, and file system properties (e.g., differences between ext4/xfs and Oracle ASM) affect both I/O swallowage and memory distribution. Lack of targeted kernel specifications modulation, even if the database software itself is compatible, the overall performance may be reduced by more than 30%.
Thirdly, compliance and audit requirements are becoming more stringent. MLPS 2.0 、 Secret assessment 、 Data security law against data encryption 、 Access control 、 Operational audits provided quantitative indicators 。 Traditional Oracle audit modules often rely on third-party plugins or manual configurations, while domestic IT platforms databases require original Supported national algorithms, dynamic desensitization, fine particle control. Migration is not just a technical transition, but a reshaping of the security architecture.
Finally, the team capacity fault is maximum risk. The senior DBA skill tree is concentrated in AWR report analysis, RAC node segregation, ASM disk group management, while the monitoring systems, diagnostic tools and cluster management of the national production database vary. Skills migration requires systematic knowledge transfer and combat exercises, otherwise failure screening will be caught in the trap of “blind touch”.
two 、 cores Technical programme details : From Oracle Present. Dameng It's... four Large migration dimension
2.1 Architecture Assessment and Compatibility Map
The first step in the relocation was to establish a complete asset list and compatible baseline. Use the automatic scanning tool to conduct an in-depth analysis of existing Oracle cases, extract table structure, index, binding, view, storage process, function, package, trigger, sequence, synonym, etc. Dameng Databases to provide compatibility mode (ORACLE mode ), Opens at the instance level SQL dialect compatibility , But the bottom implementation engine still follows the self-research optimizer. 。 Differences requiring focused mapping include: The NVL function needs to be replaced with IFNULL or COALESCE; ROWNUM page break logic has to be rewritten to OFFSET/FETCH or an analytical function; Recursive query needs to confirm CTE syntax Supported; Oracle It's... SYSDATE Yes. Dameng Corresponding with the need CURRENT_TIMESTAMP or SYSDATE( The difference between the versions needs to be verified )。
Yes. RAC Structure , Dameng DSC(Data Sharing Cluster) Use shared storage + Structure for log sync , Private between nodes Network Conducted cache Integration (Cache Fusion) With Lock Management 。 The storage multi-path configuration, the heartbeat Network bandwidth, and the arbitration disk policy are assessed for migration. If the original system is used ADG Conducted read/write Separation , Dameng It's possible. DM Data Replicator( Synchronization of real-time data ) Cooperation read-only Achieving similar capabilities at nodes , But be careful to synchronize. latency and services consistent The trade-off of sex. 。
2.2 Data Migration and Harmonization Validation
Data migration follows the “full + incremental” two-stage strategy. Full Phase Use Dameng DTS(Data Transformation Service) or third Square CDC Tools for batch extraction , Supported Parallel Splits 、 Breakpoints 、 Object Filter 。 For TB level data, the transfer batches by table partition or business module need to be split to avoid over-sizing the undo table space by single transaction. The incremental phase relies on log resolution techniques (e.g. excavating Oracle Redo Log/Archive Log), captures DML operations in real time and converts to target library SQL or logical changes to ensure that the migration window period is kept in writing.
Consistency verification is the key to the success or failure of the migration. A multi-dimensional verification mechanism must be introduced, not only on line comparison, but also on base-level reconciliation of table logs and empty value distribution; MD5/SHA256 for the data layer to split key fields; The logical layer performs sample execution matching for complex views and storage process outputs. For large fields such as BLOB/CLOB, verify whether encoding conversions (e. g. AL32UTF8 to UTF8) trigger a cut or a wiring. After validation, the cutdown time is entered.
2.3 application layering and SQL optimization
The cores that applies the modifications is the connection drive and service model fit. JDBC Driver toggle to Dameng Provided dmjdbc Driver , Connect pool specifications ( Like maximum Number of connections 、 Free timeout 、 Validate queries ) Repressurized 。 Oracle Default READ COMMITTED Isolation level is in. Dameng Conduct in China consistent , But the size of the line lock is equal to the size of the particle. standby There is a difference in the system. , We need to check if the application layer is dependent Oracle Unique FOR UPDATE NOWAIT or SKIP LOCKED Syntax: 。
SQL is the headline of the recovery of performance after migration. Dameng It's... CBO( Cost-based optimizer ) Statistical information-gathering strategies and strategies Oracle Different. , Yes. manual Trigger or Configure automatic Statistical missions 。 For SQL which is a poor plan, you can either specify access paths by adding HINT or rephrase JOIN order, remove hidden type conversions and avoid using functions in index columns. For batch import scenes, it is recommended to close external key check and only limit authentication, to load (Direct Path Insert) with a direct path, and to recreate index and statistical information when completed.
2.4 High Available Structure Switches to disaster recovery
The production environment must have a high-availability base. Dameng DSC Supported Double Living Structure , But we need to make sure we share it. storage With dual controllers and multipaths redundancy 。 If the original system relies on Oracle RAC It's... load balancing , Dameng Through the middle ( Like Dameng read/write Separation of clusters or third Party agents ) Distribution of requests for reading 。 For disaster recovery, the RPO control level minutes is controlled by the RPO using the "Land DSC Cluster + Off-Site Sync" structure, and the RTO target is less than 15 minutes. Regular fail-out injection exercises, analog node crash, Network partition, storage failure to verify the efficiency of automatic to switch scripts to manual intervention processes. The backup policy needs to combine the dmrman tool to achieve full + increment + archive log cycle backup and validate the process ' s integrity and time-consuming.
III. Comparison of migration paths: straight-up, two-track and re-constructed trade-offs
The choice of the migration path directly determines the project life cycle and risk exposure. Big Bang applies to systems with small data volume, non-business cores and retrofits to control the volume of work. The advantage is that the implementation cycle is short and resources are low; The disadvantage is the high pressure of cutting windows and the high cost of rolling back. Once the verification failed, full reliance on backup recovery was required, and the operational downtime could exceed expectations.
Two-track parallel (Dual-Track) is the mainstream option for the current enterprise-grade migration. Creates a real-time synchronized Oracle link to the target library through the CDC tool, which will cut business flows gradually (e.g., read and write first) and parallels the old system with operation 1-3 months. The advantage is that risk is manageable, reciprocated at any time, and greyscale validation is easy; The disadvantage is that double-written synchronization brings additional I/O costs, requires conflict resolution strategies (e.g. time stamping priority or rules of operation coverage) and multiplication of operations and maintenance complexity.
The re-engineering applied to enterprises with heavy technological debt and long-term planning of clouds. Discard database layer, move business logic to application layer or microservice and use distributed database architecture. The advantage would be to move away from factory binding and to modernize the structure; The disadvantages are long development cycles, high human costs, short-term ROI and negative. Only cores systems are recommended for re-engineering or for the direct use of the IST system.
Path decisions should be based on system classification: cores trading systems prioritize two-track parallels, edge systems can be moved and old legacy systems assess re-construct value. Regardless of the path, clear rollback and data freeze mechanisms must be developed to ensure that business continuity is not affected in extreme cases.
IV. Deployment and selection practical advice: How to avoid the fall trap?
The hardware selection is subject to the " redundancy Priority, Performance Match " principle. CPU recommends the multi-core structure (single node 32 above) and memory configurations of 30% not less than the total data to ensure Buffer Pool efficiency. storage must use NVMe SSD or enterprise-grade SAS arrays, RAID level recommends RAID 10 or RAID 5+ hot standby. At the Network level, cluster heartbeats need to be synchronised with data in a separate 10 Gigabit /25GbE web card, which is physically isolated from the application of Network. Operating system kernel specifications needs to be targeted at database optimization: adjust shared_memory, semaphores, file-max, vm.swappiness, close the transparency page (THP) to avoid memory distribution of latency.
Test validation cannot be limited to functional clearance. The pressure environment for the production of 1:1 needs to be constructed using the analog real business load (e.g. TPC-C modified model, batch report query, high concurrent shorts). Pressure indicators should cover TPS, QPS, P99 latency, CPU utilization, IOPS, and the peak of connections. Targeted bottlenecks, prioritize locking waiting, full-watch scanning, memory contest, Network latency. Shenzhen Huanan Tengfei Technology provides a life-cycle transport service in field operations, and its technical team can, through self-study compatible scanning platform, update the detailed output list and risk matrix at the assessment stage; (a) During the implementation phase, verify scripts using standard and automatic for 70% consistency; At the modulation stage, the targeting optimization was slow for SQL and cluster specifications based on analysis of AWR reports and real-time implementation plans. The delivery not only includes a migration report but also provides follow-up 3 months of performance monitoring and modulation, ensuring that the system passes the milling period.
The manufacturer assesses that four dimensions should be focused: maturity of the tool chain (provides automatic migration, monitoring, backup tools), ecological compatibility (middle, OA, ERP, BI, adapt list), service Response to SLA (time limits for Supported at the crash site, expert resource pool), long-term evolution route (version updates frequency, open-source community activity, cloud Supported capability). Avoiding using only price or short-term POC results as a basis for decision-making, the database is an asset for the ten years period, and long-term service capacity is far more important than the initial discount.
V. Future evolution: the next stop of the IBRD
The IBRD database is moving from “substitution” to “generic innovation”. The HTAP (Mixed Services and Analysis Processing) architecture is Standard configuration, calculated by a storage in rows and memory, to achieve the same engine for transactions and analysis load and reduce data handling latency. The AI-driven autonomous database began landing, using machine learning forecasts for slow SQL, automatic to collect statistical information, dynamically adjust memory allocations, and identify abnormal access mode to significantly lower the artificially fine-tuning threshold.
The cloud structure has accelerated its spread. Based on Kubernetes _Other Organiser Operator Achieved automatic Deployment 、 Magnification 、 Fault self-healing. ; Multi-tenant segregation and Serverless billing models lower the IT threshold for SMEs. Open-source ecology develops in parallel with commercial distributions, and the contribution of community-based plugins, drivers and monitoring panels are enriched and form a virtuous cycle. Security capacity has evolved to a deep, fully integrated state secret SM2/SM3/SM4 and dynamic data desensitization, zero trust access control, block-chain audit logs have become compliance baselines.
standard synchronised. The SQL syntax regulation, migration interface and performance testing benchmarks are gradually harmonized to reduce the cost of cross-bank migration. The enterprise IT architecture will move from "single-point replacement" to "whole re-constructing" and the database will be used as a data base, integrated with data midstation, real-time computing, and privacy computation depths to support the smart upgrade of operations.
VI. Professional summary
From Oracle Present. Dameng Organisation , Yes one The scene involves architecture 、 Data 、 Apply 、 Secure system engineering 。 The key to success lies not in the pile of tools, but in methodological rigour and nuanced implementation. The prior assessment must quantify compatibility gaps, migration paths need to match operational risk tolerance, double-track parallel and grey-scale cut-off are effective means of reducing downside risks, and performance-reducing and high-availability designs are the bottom line safeguards available for production. Enterprises should establish inter-sectoral migration units to identify the boundaries of responsibilities of the owner, the application manager, DBA, Network / storage engineers and to establish detailed cut-off SOP and roll-back checks. Alternatives to Creativity are not endpoints, but the starting point for the modernization of the technological architecture. The transition process can be translated into a technical debt clearance, the removal of performance bottlenecks and the upgrading of security capabilities if the transition from “passive compliance” to “active support” is truly achieved. Select to have a complete tool chain 、 Methodological approaches and long-term implementation service Partners in capacity , The learning curve will be significantly shortened , Ensuring cores Business continuity in the technology vault switch 、 Steady. 、 Efficiency operation 。











