OracleDB12c New Feature: Cascaded Truncate

Oracle Database 12c, now TRUNCATE statement is enhanced with  CASCADE option. This is pretty useful, that you need not worry about truncating all “child” tables before truncating the parent. With the CASCADE option, Oracle will truncate all tables with a foreign key constraint to the table being truncated. The foreign key must be ENABLED and … Read more

OracleDB12c New Feature: Store More in VARCHAR2

Starting Oracle Database version 12.1, you can have your VARCHAR2 [and NVARCHAR2, RAW] column width up to 32767 bytes or characters. To be able to use VARCHAR2 columns with more that 4000 bytes or characters [pre-12c maximum], you will need to set the initialization parameter MAX_STRING_SIZE = EXTENDED. By default the value of this parameter is … Read more

OracleDB12c New Feature: New Row Limiting Clause in SELECT

Oracle Database 12c now includes a row_limiting_clause in the SELECT statement. This new clause limits the rows returned in a more meaningful and effective way, compared to the methods available in previous releases [using ROWNUM or using Top-N rows using subqueries or using analytic functions like RANK or DENSE_RANK]. The syntax for the new clause … Read more

Oracle Database 12c – Few Links

Thought of sharing few good links I came across on Oracle Database 12c. Cloud Database Plug into the Cloud with Oracle Database 12c Oracle Multitenant Upgrade, Migrate and Consolidate to Oracle Database 12c Tuning and Optimizer:  What to expect from the Optimizer with Oracle Database 12c(PDF) SQL Plan Management with Oracle Database 12c (PDF) Understanding Optimizer … Read more

OracleDB12c New Feature: Capture Privilege Usage

One of the top features of the Oracle Database 12c that attracted me is capturing the privileges used (and unused). This feature is introduced to strengthen the security of the database to enforce the principle of least privilege. Many application users today have excessive privileges assigned, and believe me, have seen many applications connect to … Read more

Oracle Database 12c is now GA… (Finally!!)

Oracle Database 12c is released today [June 25]… there is a wealth of new features in 12c database, most major ones were discussed by Oracle speakers in conferences since OOW 2012… The major feature is the introduction of container databases and pluggable databases. Database 12c software is available for download at OTN. Documentation is also … Read more

Registering a Database in Server Control (srvctl)

Even if you are managing a non-RAC database, in 11g, it is recommended to use “srvctl” commands to start and stop the database. But, if the database is not created using DBCA or not upgraded using DBUA, the database will not be registered in the “Oracle Restart” configuration automatically. Oracle Restart monitors the services registered … Read more