Oracle CDBs and PDBs Explained (With Connections)

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 45

  • @DatabaseStar
    @DatabaseStar  Місяць тому

    Want to easily remember the SQL commands for your database? Get my free SQL Cheat Sheets here: databasestar.mykajabi.com/lpkj-sql-cheat-sheets/?

  • @TriveniPydi
    @TriveniPydi 7 місяців тому +4

    Valid information is useful in a hard time to understand between container and pluggable databases.

    • @DatabaseStar
      @DatabaseStar  7 місяців тому

      Yeah it's pretty confusing, I don't see the value that CDBs and PDBs add for developers.

  • @-.-smile
    @-.-smile 2 роки тому +3

    Your videos are amazing! Really helpful. Pls do continue them. Been working with oracle sql at work and I’ve been following your tutorials for help. Thanks!

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      Thanks! Glad it was helpful and glad you like the videos.

  • @adityaprasad465
    @adityaprasad465 10 місяців тому +2

    Really well done video. Thanks!

  • @michaellebediev6715
    @michaellebediev6715 2 місяці тому +1

    you and your channel are awesome) so happy i've found it)

  • @GS-hc5zp
    @GS-hc5zp Рік тому +1

    Hi Database Star, you make understanding concepts so easy to a newbie. Thanks a lot and keep posting videos.

  • @ibrahimsherif6648
    @ibrahimsherif6648 2 місяці тому

    Very useful, thanks

  • @oracle_professor
    @oracle_professor 2 роки тому +1

    Thank you!

  • @victorray9369
    @victorray9369 2 роки тому +1

    Your course is awesome. I'm planning to buy your course. But, it's mostly based on sqlserver and oracle. I've been using Postgres in my work. Do you have any plan for postgres for your course?

    • @DatabaseStar
      @DatabaseStar  2 роки тому +1

      Thanks! You’re right, more of my courses are focused on Oracle and SQL Server as that’s what I originally focused on. But my newer courses and all courses I create in the future will also be focused MySQL and Postgres.

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      There are some that are database specific such as oracle plsql. However I plan on creating Postgres equivalent courses such as stored procedures and more.

    • @victorray9369
      @victorray9369 2 роки тому

      @@DatabaseStar awesome

  • @guilhermeakyl
    @guilhermeakyl 2 місяці тому

    Hi Ben! Please, I'm still don't understand it, and It still have been pretty though to me know a meaningful of these all, e.g :"SID". Could you please advise me where can I find out more information to dig into it, in order to use know how situation I've must be? Thanks for the video BTW! Greetings from Brazil!

    • @DatabaseStar
      @DatabaseStar  2 місяці тому +1

      Thanks for the comment! As mentioned in the other comment, I'm not sure where the terms come from (perhaps from older versions of Oracle). There may be some docs on the Oracle website that explain more.

    • @guilhermeakyl
      @guilhermeakyl 2 місяці тому

      @DatabaseStar thanks, Ben!

  • @vinitkumarsingh8444
    @vinitkumarsingh8444 9 місяців тому

    Thank you for the video how can we connect you?

    • @DatabaseStar
      @DatabaseStar  9 місяців тому

      Thanks! You can email me from my website, databasestar.com

  • @Munder_AL-Jbaly
    @Munder_AL-Jbaly 2 роки тому +1

    Thank you , We hope you continue

  • @The_real_LoneWolf
    @The_real_LoneWolf 8 місяців тому +1

    Great! That helps a lot. Thanks men!

  • @ambattha
    @ambattha 6 місяців тому

    Hi,
    How can we create a new user which is not a sysdba and then login using that

    • @DatabaseStar
      @DatabaseStar  6 місяців тому

      I've got a video on creating a user on my channel, but I can create one in the future based on this PDB and CDB concept. I believe you log into the PDB as a SYS yser and create the new user.

  • @clairelee9719
    @clairelee9719 2 місяці тому

    Why when I run the sept 6, the rerult will be an error as below, and how to fix it ? Thanks in advance!
    Cause: An attempt was made to open a pluggable database that was already opened.
    *Action: Check the OPEN_MODE column in V$PDBS view.
    --1
    Show con_name;
    --2
    Select name, con_id
    from v$pdbs;
    --3
    alter session set container=FREEpdb1
    --4
    Show con_name;
    --5
    Select name, open_mode from v$pdbs;
    --6
    alter PLUGGABLE DATABASE open;

    • @DatabaseStar
      @DatabaseStar  Місяць тому

      Perhaps the database is already open, so you don't need to re-open it?

  • @PlaceTickets
    @PlaceTickets Рік тому

    Please , How connect for .PDB file?

    • @DatabaseStar
      @DatabaseStar  Рік тому

      I'm not sure what a .pdb file is or how it can be used with Oracle unfortunately.

  • @dineshreddy9048
    @dineshreddy9048 Рік тому

    Hello Database Star, I installed Oracle 21c and created a connection to my sql developer and I created a user, But now when i am trying to create a connection with the user I just created I a getting an error ORA-01017 invalid username or password; logon denied, Please help me Database star 🙏🙏🙏🙏🙏🙏🙏

    • @DatabaseStar
      @DatabaseStar  Рік тому +1

      Oh that's strange. Oracle connections can be tricky to get right. Are you connecting to the right SID or Service Name? Did you create the user on the correct database?

    • @DineshReddy-b4e
      @DineshReddy-b4e Рік тому

      @@DatabaseStar I made a connection to my sql developer with my oracle 21c credentials as systemdba. In that connection I went to other users and created a user and trying to make a connection. My SID is taken as “xe”

    • @Blazs120gl
      @Blazs120gl Рік тому

      @@DineshReddy-b4e I'm hit by the same issue. Did you find a solution for it?

  • @miguelangelllanten8289
    @miguelangelllanten8289 5 місяців тому

    How can I know the password of the user “SYS”?

    • @TheCrimsonPain
      @TheCrimsonPain 5 місяців тому

      It is defined when you install the database, if I'm not wrong, both SYS and SYSTEM users use this password

    • @DatabaseStar
      @DatabaseStar  5 місяців тому

      That’s right. You set this when you install the database. I don’t know if there’s a way to reset it if you don’t know it.

  • @Roy-Shill0303
    @Roy-Shill0303 3 місяці тому

    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=XCTtIq4pQ0mKFxS8hh+1xw==) THIS IS THE ERROR WHEN I TRY CONNECTING TO THE DATABASE WITH EXACTLY SAME PARAMETER

    • @DatabaseStar
      @DatabaseStar  3 місяці тому

      I've gotten the same error in the past, but haven't documented how to solve it yet.

    • @DatabaseStar
      @DatabaseStar  3 місяці тому

      I've gotten the same error in the past, but haven't documented how to solve it yet.