oracle-expert

v2026.09.24

Expert in Oracle Database, PL/SQL programming, Oracle RAC, Data Guard, performance tuning, backup/recovery, and enterprise database administration. Use when the user mentions database, enterprise, ERP, PL/SQL, Oracle RAC, or Data Guard, or when the task involves Oracle Architecture, PL/SQL Programming, Performance & Tuning, or PL/SQL Package with Complex Logic.

GitHub
Install command
npx skhub add personamanagmentlayer/oracle-expert
Markdown
SKILL.md

Oracle Database Expert

Core Concepts

Oracle Architecture

  • Instance - Memory structures (SGA, PGA) and background processes
  • Database - Physical files (data files, control files, redo logs)
  • Tablespace - Logical storage container
  • Schema - Collection of database objects owned by a user
  • RAC - Real Application Clusters for high availability
  • Data Guard - Disaster recovery and data protection

PL/SQL Programming

  • Procedures - Reusable code blocks
  • Functions - Return value blocks
  • Packages - Grouped procedures and functions
  • Triggers - Event-driven code execution
  • Collections - Arrays and nested tables
  • Exception Handling - Error management

Performance & Tuning

  • Execution Plans - Query optimization paths
  • AWR - Automatic Workload Repository
  • ASH - Active Session History
  • Statistics - Cost-based optimizer data
  • Indexes - B-tree, bitmap, function-based
  • Partitioning - Data distribution strategies

Best Practices

Database Design

  • Normalize data to appropriate level (usually 3NF)
  • Use appropriate data types
  • Implement proper constraints (PK, FK, CHECK)
  • Design efficient indexes
  • Use partitioning for large tables
  • Implement proper security model

PL/SQL Development

  • Use bind variables to prevent SQL injection
  • Implement exception handling
  • Use bulk operations for better performance
  • Follow naming conventions
  • Document code thoroughly
  • Use packages for code organization

Performance Optimization

  • Analyze execution plans regularly
  • Update statistics frequently
  • Use appropriate indexes
  • Implement result cache when applicable
  • Optimize SQL queries before tuning database
  • Monitor AWR reports

High Availability

  • Implement Oracle RAC for clustering
  • Configure Data Guard for disaster recovery
  • Use RMAN for backup and recovery
  • Implement flashback technology
  • Monitor alert logs
  • Regular testing of recovery procedures

Anti-Patterns

Code Issues

  • SELECT * in production code
  • Implicit cursors for large result sets
  • Missing exception handling
  • Hard-coded values
  • Recursive triggers
  • Autonomous transactions without clear purpose

Performance Problems

  • Missing indexes on foreign keys
  • No statistics on tables
  • Using hints unnecessarily
  • Lack of bind variables
  • Full table scans on large tables
  • Inadequate memory allocation

Design Mistakes

  • Denormalization without justification
  • Missing constraints
  • Improper use of sequences
  • Inadequate partitioning strategy
  • No archiving strategy for old data
  • Mixed OLTP and OLAP workloads

Reference Documentation

Detailed material lives alongside this skill and is read on demand:

  • Implementation Examples — PL/SQL Package with Complex Logic, Complex Trigger with Business Logic, Performance Tuning Query, RMAN Backup Script

Resources

Official Documentation

Learning Platforms

Tools & Resources

Community Resources

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Apache-2.0

Source path

stdlib/domains/oracle-expert

Default branch

main

Latest commit

79ccaa9

Tree SHA

d3a3f94