Migration Oracle to PostgreSQL "百家"文档集

本文涉及的产品
云原生数据库 PolarDB MySQL 版,Serverless 5000PCU 100GB
云原生数据库 PolarDB 分布式版,标准版 2核8GB
云数据库 RDS MySQL Serverless,0.5-2RCU 50GB
简介:

标签

PostgreSQL , Oracle


背景

2002 Porting from Oracle to PostgreSQL

《PDF Download》

Agenda

  • SQL Syntax, Functions, Sequences, Etc.
  • Database Server General Characteristics
  • Data Types and JDBC
  • Other Considerations:
  • References:

2008 Porting Oracle Applications to PostgreSQL

《PDF Download》

Agenda

  • Porting the SQL
  • Porting Tools
  • PL/SQL vs. PL/pgSQL
  • Interfaces
  • Project Management

2011 Oracle to Postgres Migration

《PDF Download》

Agenda

  • Schema Migration
  • Data Type Migration
  • Data Migration
  • Business Logic Migration
  • Other Objects
  • Connectors / Drivers / Libraries
  • Application / SQL Migration
  • DBA Migration
  • Tools
  • Ora2pg

2012 Migrating Oracle queries to PostgreSQL

推荐

《PDF Download》

Agenda

Why?
How?
Data migration
Query conversion

2016 PostgreSQL Porting Guide

https://github.com/spacewalkproject/spacewalk/wiki/PostgreSQLPortingGuide

Agenda

  • General rules
  • Problems and how to solve them
    • The VARCHAR-NULL problem
    • The DECODE/NVL2 functions problem
    • The NVL function problem
    • JOIN in ANSI syntax
    • SELECT column AS alias
    • Default cast to integer
    • The sysdate problem
    • Date arithmetics
    • Triggers must return something
    • Triggers mustn't touch old if they are on insert
    • Procedure call from Hibernate
    • ORDER BY expression in DISTINCT select
    • Rownum problem
    • Subquery with no alias
    • Composite type accessing
    • Concatenating of evr
    • Global function evr_t_as_vre_simple
    • No autonomous transactions
    • NUMBER to NUMERIC
    • Calling procedures
    • SELECT UNIQUE
    • TO_NUMBER function
    • TO_DATE function
    • DELETE without FROM
    • DUAL table
    • MINUS keyword
    • Bind parameter with space
    • Portable nextval
    • Recursion with opened cursors
    • Anonymous procedural SQL blocks, in Python (backend)
    • Relation (table) does not exists
    • Inserting / writing blob in Python (backend)

2016 Migrations to PostgreSQL (from Oracle)

《PDF Download》

Agenda

  • Why migrate to PostgreSQL ?
  • Migration process - overview
  • Preliminary Migration Analysis
  • Migration challenges
  • Database Design / Architecture
  • High Availability challenges
  • Development challenges (database)
  • Database migration
  • Schema Migration
  • PL/SQL Migration
  • Data Migration
  • Migration Large Objects
  • Pg_largeobjects - Limitation
  • Migrating JSON Data
  • Development challenges (Migrating Oracle SQLs for Application)
  • SQLs Migration for application

2016 Oracle to Postgres Migration

《PDF Download》

Agenda

  • part 1
    • Oracle Database ™
    • how an application interacts with an RDBMS
    • the ora2pg tool
  • part 2
    • PostgreSQL features for DBAs and developers

2016 PostgreSQL for Oracle DBA

《PDF Download》

Agenda

  • Mind Migration
  • Some terminology
  • “Architecture”
  • Security
  • Backup and Recovery
  • High Availability / Disaster recovery
  • Other unordered stuff to consider

其他 PostgreSQL for Oracle DBA

https://wiki.postgresql.org/wiki/PostgreSQL_for_Oracle_DBAs

《Become a PostgreSQL DBA》

2017 Oracle to PostgreSQL Migrations

《PDF Download》

Agenda

  • Introduction
  • Executive Summary
  • Benefits of Migrating to PostgreSQL
  • When to Migrate
  • Common Database Migration Challenges and Risks
  • Migration Life Cycle
  • Migration Service
    • Scope of Service
    • Identifying Migration Candidates
  • Analyzing Migration Candidates
  • Planning a Migration
  • Migrating an Application
  • Testing the Application
  • Production Deployment
  • Conclusion
  • About OpenSCG

2018 Oracle Database 11g/12c To Amazon Aurora with PostgreSQL Compatibility (9.6.x)

极为详细

《PDF Download》

Agenda

  • Introduction
  • Disclaimer
  • Automatic Migration of Oracle Schema Objects Using the AWS Schema Conversion Tool
  • Migration SQL & PL/SQL (Manual)
  • Migration Tables & Indexes (Manual)
  • Migration Database Objects (Manual)
  • Migration Database Administration (Manual)

Oracle to PostgreSQL migration - automatic tool research

http://wiki.openbravo.com/wiki/ERP_2.50:Oracle_to_PostgreSQL_migration_-_automatic_tool_research

Agenda

  • Introduction
  • Guideline compliant database
  • Database full of Oracle specific elements
    • Syntax
    • Data Types
    • NULL
    • Sequences
    • Other Joins
    • NLS * vs. LC *
    • ROWNUM and ROWID
    • Things That Won’t Work Directly
    • PL/SQL
      • Triggers
      • Procedures/ Functions
  • Tools
    • ora2pg
      • Installation
      • Configuration
      • Execution
      • Results
    • orafce
      • Installation
      • Results
  • Links
  • Conclusions

Oracle to Postgres Conversion

https://wiki.postgresql.org/wiki/Oracle_to_Postgres_Conversion

https://wiki.postgresql.org/wiki/Oracle

Agenda

  • What you should know before you begin
  • Transactions
  • Grammar Differences
    • Sysdate
    • The Dual Table
    • ROWNUM and ROWID
    • Sequences
    • Decode
    • NVL
    • Subquery in FROM
  • Functional Differences
    • Outer Joins
    • CONNECT BY
    • NO_DATA_FOUND and TOO_MANY_ROWS
      • Data Types
    • Empty strings and NULL values
    • Numeric Types
    • Date and Time
    • CLOBs
    • BLOBs
  • External Tools
相关实践学习
使用PolarDB和ECS搭建门户网站
本场景主要介绍基于PolarDB和ECS实现搭建门户网站。
阿里云数据库产品家族及特性
阿里云智能数据库产品团队一直致力于不断健全产品体系,提升产品性能,打磨产品功能,从而帮助客户实现更加极致的弹性能力、具备更强的扩展能力、并利用云设施进一步降低企业成本。以云原生+分布式为核心技术抓手,打造以自研的在线事务型(OLTP)数据库Polar DB和在线分析型(OLAP)数据库Analytic DB为代表的新一代企业级云原生数据库产品体系, 结合NoSQL数据库、数据库生态工具、云原生智能化数据库管控平台,为阿里巴巴经济体以及各个行业的企业客户和开发者提供从公共云到混合云再到私有云的完整解决方案,提供基于云基础设施进行数据从处理、到存储、再到计算与分析的一体化解决方案。本节课带你了解阿里云数据库产品家族及特性。
相关文章
|
28天前
|
Oracle 关系型数据库 分布式数据库
PolarDB常见问题之PolarDB(Oracle兼容版) 执行命令报错如何解决
PolarDB是阿里云推出的下一代关系型数据库,具有高性能、高可用性和弹性伸缩能力,适用于大规模数据处理场景。本汇总囊括了PolarDB使用中用户可能遭遇的一系列常见问题及解答,旨在为数据库管理员和开发者提供全面的问题指导,确保数据库平稳运行和优化使用体验。
|
1月前
|
关系型数据库 分布式数据库 数据库
PolarDB PostgreSQL版:Oracle兼容的高性能数据库
PolarDB PostgreSQL版是一款高性能的数据库,具有与Oracle兼容的特性。它采用了分布式架构,可以轻松处理大量的数据,同时还支持多种数据类型和函数,具有高可用性和可扩展性。它还提供了丰富的管理工具和性能优化功能,为企业提供了可靠的数据存储和处理解决方案。PolarDB PostgreSQL版在数据库领域具有很高的竞争力,可以满足各种企业的需求。
|
7月前
|
Oracle 关系型数据库 数据库
PostgreSQL和Oracle两种数据库有啥区别?如何选择?
PostgreSQL和Oracle两种数据库有啥区别?如何选择?
198 0
|
8月前
|
SQL Oracle 关系型数据库
物化视图(Oracle与PostgreSQL对比)
物化视图(Oracle与PostgreSQL对比)
|
8月前
|
SQL Oracle 关系型数据库
PostgreSQL技术大讲堂 - 第27讲:Oracle-FDW部署
从零开始学PostgreSQL,PG技术大讲堂 - 第27讲:Oracle-FDW部署
167 2
|
4月前
|
SQL Oracle 关系型数据库
Oracle,Postgresql等数据库使用
Oracle,Postgresql等数据库简单使用
133 0
Oracle,Postgresql等数据库使用
|
7月前
|
Oracle 关系型数据库 分布式数据库
如何从Oracle迁移到PolarDB(ADAM)(二)
如何从Oracle迁移到PolarDB(ADAM)(二)
128 0
|
7月前
|
SQL Oracle 关系型数据库
Polar DB-O (兼容 Oracle 语法版本)和Polar DB PostgreSQL 版本概述(二)
Polar DB-O (兼容 Oracle 语法版本)和Polar DB PostgreSQL 版本概述(二)
689 0
|
21天前
|
关系型数据库 分布式数据库 数据库
成都晨云信息技术完成阿里云PolarDB数据库产品生态集成认证
近日,成都晨云信息技术有限责任公司(以下简称晨云信息)与阿里云PolarDB PostgreSQL版数据库产品展开产品集成认证。测试结果表明,晨云信息旗下晨云-站群管理系统(V1.0)与阿里云以下产品:开源云原生数据库PolarDB PostgreSQL版(V11),完全满足产品兼容认证要求,兼容性良好,系统运行稳定。
|
28天前
|
关系型数据库 分布式数据库 数据库
PolarDB常见问题之数据库不能自己减少节点如何解决
PolarDB是阿里云推出的下一代关系型数据库,具有高性能、高可用性和弹性伸缩能力,适用于大规模数据处理场景。本汇总囊括了PolarDB使用中用户可能遭遇的一系列常见问题及解答,旨在为数据库管理员和开发者提供全面的问题指导,确保数据库平稳运行和优化使用体验。

相关产品

  • 云原生数据库 PolarDB