oraclecloud-schema-migration

Featured

Migrate to OCI Autonomous Database — wallet setup, mTLS, Data Pump, and python-oracledb. Use when provisioning Autonomous DB, downloading wallets, or migrating data with Data Pump. Trigger with "autonomous database", "oci adb", "wallet download", "data pump oci", "mtls oracle".

API & Backend 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# OCI Autonomous Database — Migration & Connection ## Overview Migrate to and connect with OCI Autonomous Database (ADB) using the Python SDK and python-oracledb. Autonomous Database is OCI's crown jewel but migrating to it from standard Oracle DB or other databases is full of gotchas — wallet downloads require SDK calls (not just console clicks), mTLS is mandatory by default, connection strings use a different format than standard Oracle, and Data Pump exports need specific parameter adjustments for ADB compatibility. **Purpose:** Provision an Autonomous Database, download the wallet, establish a connection, and migrate data using Data Pump. ## Prerequisites - **OCI Python SDK** — `pip install oci` - **Oracle DB driver** — `pip install oracledb` - **Config file** at `~/.oci/config` with fields: `user`, `fingerprint`, `tenancy`, `region`, `key_file` - **IAM policy** — `Allow group Developers to manage autonomous-databases in compartment <name>` - **Python 3.8+** - For Data Pump: access to the source Oracle database with DBA privileges ## Instructions ### Step 1: Provision an Autonomous Database ```python import oci import base64 import zipfile import os config = oci.config.from_file("~/.oci/config") db_client = oci.database.DatabaseClient(config) # Create Autonomous Database (Transaction Processing workload) adb = db_client.create_autonomous_database( oci.database.models.CreateAutonomousDatabaseDetails( compartment_id=config["tenancy"], display_n...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category