All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
Bluesky
Twitter
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Creating Pluggable Databases via ORDS REST APIs: Asynchronous Workflow with DBMS_SCHEDULER Jobs

By

thatjeffsmith

2d ago· 2 min readen

Summary

This article demonstrates how to create or clone Pluggable Databases (PDBs) using ORDS (Oracle REST Data Services) Database REST APIs. It highlights that as of ORDS version 24.1, this operation has been improved to work asynchronously via DBMS_SCHEDULER jobs. The author provides an example of setting up a Container (CDB) install of ORDS, making PDBs addressable, and creating an ORDS ADMIN database user. The example shows a request that creates a task and returns a link to follow for status updates, though the specific example given is noted as one that will fail but still illustrates the workflow.

Key quotes

· 3 pulled
This is literally a bad example. It will FAIL fast, but it still shows the workflow.
Our request succeeded, in that the task created, and we were given a link to follow.
I've done a Container (CDB) install of ORDS, and made my PDBs addressable, and have created an ORDS ADMIN database user in the CDB to make this possible.
Snippet from the RSS feed
Creating or Cloning Pluggable Databases (PDBs) via ORDS Database REST APIs is now an asynch operation via DBMS_SCHEDULER jobs. Here's an example.

You might also wanna read