Infrastructure at your Service

Tag

Pluggable Databases Archives - Page 2 of 12 - Blog dbi services

Franck Pachot

ADWC – System and session settings (DWCS lockdown profile)

By | Oracle | No Comments

By Franck Pachot . The Autonomous Data Warehouse Cloud service is a PaaS managed service where we have a PDB and an ADMIN user which has most of the system privileges. For example, we have the privilege to change initialization parameters: SQL> select * from dba_sys_privs where grantee=user and privilege like ‘ALTER S%’;   GRANTEE PRIVILEGE ADMIN_OPTION COMMON INHERITED ——- ——— ———— —— ——— ADMIN ALTER SESSION YES NO NO ADMIN ALTER SYSTEM YES NO…

Read More
Franck Pachot

18c PDB switchover

By | Oracle | 4 Comments

By Franck Pachot . In multitenant, the recovery and availability are at CDB level. But customers asked for a switchover at PDB level so Oracle has done that in 18c, based on refreshable PDBs. For this test I have two multitenant database on an Oracle Cloud service in 18c: CDB1 and CDB2. The only special thing I did was disable the mandatory TDE encryption, because I was not able to have the switchover working. With…

Read More
Franck Pachot

18c, Cloud First and Cloud Only features: think differently

By | Cloud, Database Administration & Monitoring, Oracle | One Comment

By Franck Pachot . Remember the times when the Oracle Software features were the same on all platforms? Where Oracle databases could be ported to any relevant platform? Where we were able to try any feature, freely, by downloading the latest release software? Now we need to think differently. Because: The new software is released on Cloud first The major new features will never be available on-premises The Cloud here means the Oracle Cloud –…

Read More
Franck Pachot

Multitenant, PDB, ‘save state’, services and standby databases

By | Oracle | 2 Comments

By Franck Pachot . Creating – and using – your own services has always been the recommendation. You can connect to a database without a service name, though the instance SID, but this is not what you should do. Each database registers its db_unique_name as a service, and you can use it to connect, but it is always better to create your own application service(s). In multitenant, each PDB registers its name as a service,…

Read More
Franck Pachot

Unplug an Encrypted PDB (ORA-46680: master keys of the container database must be exported)

By | Oracle | No Comments

By Franck Pachot . In the Oracle Database Cloud DBaaS you provision a multitenant database where tablespaces are encrypted. This means that when you unplug/plug the pluggable databases, you also need to export /import the encryption keys. You cannot just copy the wallet because the wallet contains all CDB keys. Usually, you can be guided by the error messages, but this one needs a little explanation and an example.

Read More
Franck Pachot

12c Multitenant internals: PDB replay DDL for common users

By | Oracle | No Comments

By Franck Pachot . In multitenant, you can create common Users, Roles, and Profiles. You create them in CDB$ROOT, with the CONTAINER=ALL clause (which is optional because it is the only possible value when connected to CDB$ROOT) but they are visible to all containers. As the goal of multitenant is to avoid to duplicate common metadata to all containers, You may think that they are visible through those magic metadata links. But that’s actually wrong:…

Read More
Franck Pachot

Drop PDB including datafiles may keep files open

By | Oracle | No Comments

By Franck Pachot . I like that Oracle drops the datafiles from the operating system when we remove them from the database (with drop tablespace or drop pluggable database) because I don’t like to have orphean files remaining in the filesystem. However, to ensure that space is reclaimed, we must be sure that Oracle did not leave a process with this file opened. Linux allows to drop an open file but then drops only the…

Read More
Franck Pachot

#UKOUG_TECH17

By | Oracle | No Comments

By Franck Pachot . Award I’ve received an award for an article I’ve written last year, the Most Read Oracle Scene Article in 2016 – Technology. I like to write for Oracle Scene magazine. It is rare today to have a magazine both available in a paper version, and also publicly available on the web. And I must say that as an author, all the people behind are doing a great work. Thanks to them…

Read More