# ============================================================================= # Oracle Data Pump Import Parameter File - CONTAFIN_ORACLE Schema # ============================================================================= # # Purpose: Import CONTAFIN_ORACLE schema (common schema with rights, updates) # # Usage: # impdp system/password@service parfile=import-contafin.par # # Or with explicit password prompt: # impdp system@service parfile=import-contafin.par # # Prerequisites: # 1. DMPDIR directory exists: CREATE DIRECTORY DMPDIR AS 'C:\DMPDIR'; # 2. contafin_oracle.dmp file is in C:\DMPDIR # 3. CONTAFIN_ORACLE user created (or will be created by import) # # ============================================================================= # ----------------------------------------------------------------------------- # Source and Destination # ----------------------------------------------------------------------------- # Oracle directory object containing DMP files DIRECTORY=DMPDIR # Source dump file name DUMPFILE=contafin_oracle.dmp # Import log file (will be created in DMPDIR) LOGFILE=import_contafin_oracle.log # ----------------------------------------------------------------------------- # Schema Configuration # ----------------------------------------------------------------------------- # Schema to import SCHEMAS=CONTAFIN_ORACLE # ----------------------------------------------------------------------------- # Import Behavior # ----------------------------------------------------------------------------- # Action when table already exists: # SKIP - Skip existing tables (preserves data) # APPEND - Add rows to existing tables # TRUNCATE - Delete existing rows, then import # REPLACE - Drop and recreate tables TABLE_EXISTS_ACTION=REPLACE # Transform OID to avoid conflicts # Required when importing between different databases TRANSFORM=OID:N # ----------------------------------------------------------------------------- # Performance Settings # ----------------------------------------------------------------------------- # Number of parallel worker processes # Adjust based on CPU cores available PARALLEL=2 # ----------------------------------------------------------------------------- # Exclusions (Optional) # ----------------------------------------------------------------------------- # Exclude specific object types if needed # EXCLUDE=STATISTICS # EXCLUDE=INDEX:"='IDX_TEMP%'" # ----------------------------------------------------------------------------- # Remapping (Optional) # ----------------------------------------------------------------------------- # Remap tablespace if source uses different tablespace name # REMAP_TABLESPACE=SOURCE_TS:ROA # Remap schema if importing to different schema name # REMAP_SCHEMA=CONTAFIN_ORACLE:CONTAFIN_ORACLE # ----------------------------------------------------------------------------- # Advanced Options # ----------------------------------------------------------------------------- # Continue import even if some objects fail # CONTENT=ALL # Import metadata only (no data) # CONTENT=METADATA_ONLY # Import data only (no DDL) # CONTENT=DATA_ONLY # ============================================================================= # Expected Objects in CONTAFIN_ORACLE: # # - Tables: NOM_FIRME, NOM_USERI, NOM_DREPTURI, etc. (~50 tables) # - Views: Various application views (~20 views) # - Packages: PACK_MIGRARE, AUTH_PACK, etc. (~10 packages) # - Procedures/Functions: Various utilities (~50) # - Triggers: Various (~20) # # Total: ~300+ objects # =============================================================================