3 Customer Responsibilities

The primary custom schema in RDS is a powerful, writable environment that enables you to extend Oracle Retail Cloud Services. With this flexibility comes responsibility. As the schema owner, you are accountable for the performance, reliability, and behavior of your extensions.

This chapter outlines the key responsibilities that ensure your extensions remain performant, maintainable, and compliant with the RDS operational model.

Performance and Scalability

You are responsible for ensuring that all custom services and queries operate within acceptable performance boundaries.

  • Query Duration Limits: Synchronous service queries and PL/SQL blocks must complete in less than 300 seconds. Aim for under 150 seconds in baseline testing so normal workload variation does not push a call toward the limit.
  • Traffic Intensity: Estimate request arrival rates and average processing time to avoid overload.
  • Baseline Testing: Collect timing metrics under representative workloads for all services and reports.
  • Scalability Awareness: RDS has finite resources. Excessive CPU consumption or session usage can affect availability.

Resource Monitoring

Monitor the workload generated by your extensions and the resources available to them. The Retail DB Ops Console (RDOC) provides historical usage and session information; Retail DB Ops Console explains the charts and management actions.

  • Session Management: Review session count history and active sessions when investigating connection pressure or long-running work. Session counts indicate possible ORDS connection-pool pressure; they do not measure checked-out ORDS connections. Before ending a session, identify its owning application or process and confirm that interruption and rollback of uncommitted work are acceptable. Use a support request for sessions outside RDOC's management criteria.

  • CPU and Storage: Review CPU demand and customer-schema storage history over a representative period. Investigate repeated CPU peaks and storage growth alongside SQL, jobs, and workload changes. The chart reference lines are planning aids, not automatic recommendations to add capacity. Request a capacity review when the evidence shows that available headroom may no longer meet expected demand.

  • Efficiency: Optimize queries and background jobs to minimize resource usage.

Maintenance Preparedness

Custom objects may become invalid during RDS maintenance when underlying views or dependencies are dropped and recreated. Maintenance preparedness helps prevent downtime and ensures a smooth return to service.

Pre-Maintenance Responsibilities

  1. Notify Users: Let users know in advance to reduce disruption and prevent long-running or orphaned sessions.

  2. Disable Custom Jobs: Suspend scheduled jobs (for example, DBMS_SCHEDULER) to avoid interference during maintenance.

  3. Suspend External Orchestration: Pause external workflows that target RDS to avoid unexpected connections.

  4. Review Active Sessions: Check for sessions holding locks on custom objects that could prevent recompilation. Coordinate with the owning application or process before ending an eligible session; ending it can interrupt processing and roll back uncommitted work. See Retail DB Ops Console for RDOC's session-management criteria and actions.

Post-Maintenance Responsibilities

  1. Check for Lingering Sessions: Ensure no sessions are preventing recompilation or consuming resources unnecessarily.

  2. Handle Invalid Objects: Invalid custom objects may remain after maintenance because of long dependency chains, locked objects, or timeouts. You are responsible for resolving invalids in your schema. Refer to the RDS Compile Invalids Reference Paper (KB695722) for instructions.

  3. Notify Users: Let users know that RDS is available again and safe to resume work.

  4. Re-enable Jobs and Workflows: Restart any disabled jobs or paused orchestration processes.

Extension Management

Your primary custom schema is fully writable, and you are responsible for managing everything created within it.

  • Custom Object Ownership: All custom tables, views, packages, and procedures reside in your schema.

  • Cross-Schema Access: Other schemas do not have access to your objects unless explicitly granted.

  • Security and Governance: Apply least privilege principles and use views to control access when necessary.

  • Resilience: Design extensions to handle failure scenarios and resume cleanly after terminations.

  • Grants: You are responsible for managing grants on replicated objects in RDS_CUSTOM_1 thru RDS_CUSTOM_10. See Grants to Auxiliary Workspace Schema.

Email Setup

To send email from APEX in RDS, provision an Oracle OCI SMTP server. Only Oracle's OCI SMTP server is supported. Chapter 19 - Sending Email from APEX describes RDOC Email Settings, validation, and test email. For RDOC operational email notifications, also configure at least one notification contact on the RDOC Settings page; SMTP configuration alone does not provide a recipient.

Communication with Oracle

Proactive communication with Oracle Support helps ensure system stability and availability, especially during non-routine operations.

Examples of when to notify Oracle:

  • High-volume data events, such as store rollouts or data migrations.
  • Custom retention strategies, such as large-scale archiving.
  • Extended integration testing, especially if it may impact system load or replication.