Database Administration & Monitoring 12cR2 multitenant containers in SQL_TRACE 08.11.2016 by Oracle Team By Franck Pachot . In multitenant you session can switch between containers. For example, since 12.1, a common user can switch explicitly between CDB$ROOT and any PDB with the 'ALTER SYSTEM SET CONTAINER'. Any user connected to a PDB will(…)
Database Administration & Monitoring Oracle 12cR2 multitenant: Local UNDO 08.11.2016 by Oracle Team By Franck Pachot . Pluggable Databases are supposed to be isolated, containing the whole of user data and metadata. This is the definition of dictionary separation coming with multitenant architecture: only system data and metadata are at CDB level. User(…)
Database Administration & Monitoring Oracle 12cR2 PL/SQL new feature: TNSPING from the database 08.11.2016 by Oracle Team By Franck Pachot . Database links are resolved with the server TNS_ADMIN configuration (sqlnet.ora and tnsnames.ora). You can use tnsping to check the resolution, but it supposes that you are on the server and have set the same environment(…)
Database Administration & Monitoring Oracle 12c – Difference between ‘%F’ #default and ‘%F’ 31.10.2016 by Oracle Team By William Sescu Do you see any differences between these two RMAN SHOW commands? RMAN> SHOW CONTROLFILE AUTOBACKUP FORMAT; RMAN configuration parameters for database with db_unique_name OCM121 are: CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default(…)
Database Administration & Monitoring Oracle 12c – Automatic Control File Backups 29.10.2016 by Oracle Team By William Sescu By default, automatic control file backups are disabled (even with 12c), maybe for performance reasons. RMAN> SHOW CONTROLFILE AUTOBACKUP; RMAN configuration parameters for database with db_unique_name OCM121 are: CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default And also good(…)
Database Administration & Monitoring Oracle 12c – When the RMAN Dummy Instance does not start up … 28.10.2016 by Oracle Team By William Sescu Not too often, but sometimes you might run into a situation when you lose everything, your DB Files, your Controlfiles and even your spfile. In situations like that, you need to restore first your spfile, then your(…)
Database Administration & Monitoring Oracle 12c – When did my row change? 28.10.2016 by Oracle Team By William Sescu My good old DEPT table always had 4 rows with 4 different departments. However, I have noticed that a new row was inserted into the DEPT table and the row 50 popped up, and I would like to(…)
Database Administration & Monitoring 12c GTT private statistics and cursor invalidation 27.10.2016 by Oracle Team By Franck Pachot . Short summary of this post is that rolling invalidation do not occur when you gather statistics on Global Temporary Tables in 12c that have session statistic scope (which is the default) and this may cause too(…)
Database Administration & Monitoring Oracle 12c – Managing RMAN persistent settings via SQL 11.10.2016 by Oracle Team By William Sescu RMAN persistent settings can be managed in two different ways. Via the RMAN interface – e.g. RMAN> CONFIGURE BACKUP OPTIMIZATION ON; Via SQL – e.g. VARIABLE RECNO NUMBER; EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG(‘BACKUP OPTIMIZATION’,’ON’); There(…)
Database Administration & Monitoring Oracle 12c and RMAN switch datafile to copy, is it really so easy? 04.10.2016 by Oracle Team By William Sescu Oracle incrementally updating backups are used quite often because they are easy to setup and restoring a datafile is very fast. It is very fast because you are not really restoring a datafile, you are switching to(…)