Aug 6, 2025

How to create new PDB service?

Some situations, you need different service name/ database connection name for your pluggable database ( RAC & Non-RAC). You can follow below steps to complete the task.

Steps for Creating a new Service for a PDB

Step 1. Change to pdb container;

alter session set container=pdb1;

Step 2. Create service for current pdb using name and new network service name.

ALTER SESSION SET CONTAINER=PAUENO;

exec dbms_service.create_service('<service_name>','<network_name>');

exec dbms_service.create_service('pdb1svc','pdb1svc');

Step 3. Start the new service.

exec dbms_service.start_service('pdb1svc');
alter system register;


To Verify:

COLUMN name FORMAT A30
COLUMN network_name FORMAT A30

SELECT name,
       network_name
FROM   dba_services
ORDER BY 1;

Step 4. Check the listener services and try to make a new connection to the newly created services. 

lsnrctl services 


Step 5. Save the state for PDB. 

 Need to save the state for pluggable for the new pdb service. Otherwise, you need to manually start the service after you restart the pdb or bounce the CDB ROOT database.

alter pluggable database save state;

2 comments:

  1. FRESH SPAMMED INFO FULLZ UPDATED-2025 AVAILABLE

    USA UK CANADA Fresh Fullz available in bulk
    SSN USA NIN UK SIN Canada with DL & Address
    High Credit Scores Pros 700+
    DL Photos Front Back With Selfie
    Fullz with MVR
    Business EIN Company Fullz
    SSN Fullz with DL Issue & Expiry Dates
    DL Fullz with W-2 Forms
    LLC Docs USA with DL Photos
    KYC Stuff For Uber Eats DoorDash FASFA PUA SBA UI Shopify
    CC With CVV & Billing Address
    Dumps with Pins Track 1 & 2 With Pin

    Our Contact Details:
    Telegram - @ killhacks , @ leadsupplier
    What'sApp - +1*727*788**6129
    TG Channel - t.me/ leadsproviderworldwide
    VK Messenger - @ leadsupplier
    Signal - @ killhacks.90
    Email - hacksp007 at gmail dot com

    Canada DL Photos Front Back
    UK DL Photos Front Back with Selfie
    DL Photos|Docs Front Back All over The World available
    Bulk fullz Available
    Dead Fullz
    SweepStakes Fresh
    Casino Leads, Medical Leads, Health Leads, Crypto Leads

    Tools & Tutorials for Hacking & Spamming for Learning Purpose
    RDP's SMTP's C-Panels
    Shells BRUTES Crackers
    Web-Mailers SMS Senders Email Senders
    Scripting for Pages
    Cash out Tutorials

    #Fullz #Creditcards #dumps #dumpsCVV #USAFullz #Canadafullz #UKFullz
    #Businessfullz #CVVShop #FullzEIN #Crypotleads #Casinoleads #deadfullz

    Fresh stuff will be provided
    No Sampling & No Demo will be provided for Tools & CC's
    Payments will be accepted in crypto only

    ReplyDelete

Translate >>