Creating and managing pluggable databases

1- Create a CDB with/without DBCA: The specific methods for creating a CDB are: – With the CREATE DATABASE SQL statement. (There is a slight difference between the script to create a database with/without CDB) – You must enable PDBs (ENABLE PLUGGABLE DATABASE clause must be set to TRUE in Pfile/Spfile) ; – You must specify the names and locations of the root’s files and the seed’s files. – Seed’s files (1 of the 3 options): 1- The SEED FILE_NAME_CONVERT clause 2- Oracle Managed Files 3- The PDB_FILE_NAME_CONVERT initialization parameter…

Oracle OCM 12C : My journey

So here we are! OCM is a goal for many Oracle DBAs but when we start wondering about the path to get there we see how difficult it is and this may do many people give up. However, with this post explaining each topic covered in the exam using my own self-study I hope to help many people to see that the secret of this exam it is nothing more than study study study … so, are you going to join me in this journey? 1. General Database and Network…

How to check if a database is configured with Oracle Multitenant Architecture

Check whether the database uses Oracle Multitenant Architecture; it is a simple operation. You can check this feature by querying the v$database using the CDB field as in the SQL example below: Additionally, in case your database is a multitenant database, you can visualize it by using the following query: Published: 08/11/2018Updated: 12/04/2023 brunorsHi! I am Bruno, a Brazilian born and bred. Former Oracle ACE, Computer Scientist, MSc in Data Science, over ten years of experience in companies such as IBM, Epico Tech, and Playtech based in three different countries…

Creating a CDB database by command line

    Sometimes the Oracle DBA needs to create a CDB database without DBCA. This procedure is possible. However, it is needed some additional steps to be done. For instance, to run some scripts to create components who DBCA utilitty create automatically.  Therefore, in this post I am going to show how to create a CDB database by command line: Create directories for the Oracle Database. As the database will be named “db2”, some file system structures will contain this word:   Create the init<SID>.ora file at $ORACLE_HOME/dbs: Start the…

[New step in my ORACLE DBA career] Nagyon köszönöm Magyarország and Välkommen sverige !

Sziasztok (Hello!) I lived in Hungary for 2 years and it was a very enjoyable experience. I lived and worked as Oracle DBA in Székesfehérvár where I joined in some projects in other countries as well like Sweden and Germany. Aftterwards, I  lived in Budapest for a while and I did love that city! Over the years, I’m happy to have been the first Oracle Ace Associate and the only DBA in the Ace program in the country receiving the award from Oracle Corporation in October 2017. I really hope…

#4 DIÁRIO DE UM DBA – Lista de 30 bancos de dados entre vários

Há vários tipos de banco de dados. Eu particulamente fiz uma lista pessoal de mais de 300 banco de dados. No entanto, neste poste não estarei abordando todos, apenas 30 deles,  com a ideia de você ter a noção de alguns deles e assim não responder besteiras quando te perguntarem “Qual banco de dados você conhece / sabe que existe?” . A lista consiste nas seguintes categorias: – Nome do banco de dados; – Modelo do banco de dados; – Lançamento; Oracle – Nome do banco de dados: Oracle – Modelo…

#3 DIÁRIO DE UM DBA – Alguns livros para DBAs

Quando se inicia a carreira de DBA ou mesmo durante o percurso é importante ler uma série de livros para se ter um entendimento sobre o que realmente é banco de dados, sua estrutura e seus conceitos. A partir disso, o próximo passo é partir para o software de administração que pode ser de vários fabricantes como por exemplo o MySQL, Oracle, SQL Server e tantos outros encontrados atualmente. Sendo assim, escolhi alguns  livros que eu li (ás vezes me pego relendo algum deles novamente) e recomendo para quem se…

#2 DIÁRIO DE UM DBA – Um caso de sucesso de mentorização realizado por mim

01 de Setembro de 2018. Mentorização pode ser definida como um relacionamento entre duas pessoas para transferência de experiências e conhecimentos. Além disso, é algo que eu sempre gostei de fazer desde o começo da minha carreira ensinando aqueles que estavam começando sua carreira e consequentemente aprendendo também durante os ensinamentos, talvez impulsionado pelo fato de eu pensar em ser professor universtário durante o período de faculdade. Sendo assim, divulgo abaixo um relato de uma pessoa que eu mentorizei com o intuito de mostrar que aquilo que você ensina e…

INTRODUÇÃO: Apresentando o DIÁRIO DE UM DBA – Dicas e histórias de um Administrador de Banco de Dados

Hoje 29 de Agosto de 2018 estou iniciando uma série de posts  que denominei de Diário de um DBA. O conteúdo dos posts contidos nesta série serão exclusivamente em Português e não serão de conteúdos técnicos como estou acostumado a publicar neste blog e, sim, com dicas, um pouco da minha experiência,  histórias e ideias que um DBA pode passar, já passou ou irá passar ao longo de sua carreira. Além disso, o foco é  de alguma maneira ajudar DBAs que já estão na carreira ou aqueles que começaram e/ou…

Simple way how to use Database Point-in-Time Recovery

There are some situations where it is relevant for DBA to use FLASHBACK or Database Point-in-Time Recovery such as when a user modifies some data incorrectly or also when an upgrade failed and if it wishes to revert the previous situation of the database among several others possibilities. With this, in this post I will be explaining in a simple way how to use Database Point-in-Time Recovery. Therefore, I will be considering some requirements for this operation be possible: – The database must be enabled in Archivelog mode: – The…