Bug 10013177 running Aggregation on Expression indexed by an FBI
I noticed an interesting Bug on MOS today. When running an Aggregation against an Expression that has a Function Based Index, results may be truncated. The bug notes that dumps and internal errors...
View ArticleDROP A Tablespace After a Backup
What happens if you drop a tablespace after it is backed up ?Here's the backup :RMAN> backup as compressed backupset database;Starting backup at 16-JUN-13using channel ORA_DISK_1channel ORA_DISK_1:...
View ArticleGetting the ROWIDs present in a Block
Here is a demonstration of getting the ROWIDs present in a block.Assume that you are interested in Block 172 in File 11. Maybe this block is being reported in V$SESSION (ROW_WAIT_OBJ#,...
View ArticleUpcoming Blog Post : DML when querying a View
My next blog post will be about how to setup your view definition and certain code such that when the view is queried, DML is executed.What sort of DML might you want to execute when a view is queried...
View ArticleNetworking in Oracle Virtual Box
A quick post to provide a link to an article on Networking in Oracle Virtual Box....
View ArticleOracle Database 12c Learning Library
Here is Oracle's Learning Library on the 12c DatabaseNote also : Tom Kyte on Oracle 12cAdditional Resources :1. Presentation on the 12c Architecture2. Presentation on the Multitenant (CDB and PDBs)...
View ArticleA Function executing DML in a View
As promised earlier, here is a simple demonstration of a Function that gets executed when a View is queried and does it's own DML.The code :SQL> drop table emp_view_log;Table dropped.SQL> drop...
View ArticleDynamic SQL
Here is a useful article about writing dynamic SQL in the application code. Use binds....
View ArticleInformation on 12c
A collection of information on 12c http://www.oraclealchemist.com/news/install-oracle-12c-12-1/...
View Article12c RMAN Restrictions -- when connected to a PDB
From the 12c documentation, it is clear that a Pluggable Database does not have (a) it's own instance (b) it's own redo and archivelogs. Also, there are a number of restrictions in RMAN when you...
View ArticleConcepts / Features overturned in 12c
Here are some of our knowledge of concepts / features of Oracle till 11g that seem to be overturned in 12c :1. Redo Log files are part of the database. Now, in 12c, they are not part of the...
View ArticleInteresting Bugs in 12cR1
Oracle has documented known bugs in 12.1Some that I find interesting (without having tested them, but only relying on the documentation) are :Bug 16933305Adding a nullable column with a default value...
View ArticleWhat happens if a database (or tablespace) is left in BACKUP mode
What if a database (or a tablespace) is left in [BEGIN] BACKUP mode and an RMAN Backup is made.SQL> archive log list;Database log mode Archive ModeAutomatic archival EnabledArchive destination...
View ArticleRe-CATALOGing BackupPieces ??
What happens if you re-CATALOG BackupPieces ? Is it possible to duplicate entries.This forum thread : https://forums.oracle.com/thread/2562839 implies so in 11.1.0.7This is in 11.2.0.2 :SQL> show...
View Article12c New Features to "Watch Out For"
I think that these 12c New Features are such that their behaviour may create surprises. Be ready to catch unexpected behaviour.1.2.4.1 Adaptive Query Optimization1.2.4.7 Dynamic Statistics1.2.4.11...
View ArticleGather Statistics Enhancements in 12c -- 1
12c has introduced some enhancements in the gathering and reporting of optimizer statistics.A CTAS automatically includes statistics on the table (although it may not include column histograms)SQL>...
View ArticleGather Statistics Enhancements in 12c -- 2
Building on my previous example, I demonstrate how the IAS (INSERT AS SELECT) also includes a Gather Table Stats.00:35:55 SQL> create table obj_list_2 tablespace hemant 00:36:21 2 as select * from...
View ArticleCommon Mistakes Java Developers make when writing SQL
Two blog posts :10 Common Mistakes Java Developers make when writing SQL10 More Common Mistakes Java Developers make when writing SQL...
View ArticleGather Statistics Enhancements in 12c -- 3
Here's how an enhancement to the DBMS_STATS package can generate reports :SQL> exec dbms_stats.gather_schema_stats('HEMANT');PL/SQL procedure successfully completed.SQL> declare 2 mystatsreport...
View Article"Sins" of Software Deployment
Here's an article on The Seven Deadly Sins of Software Deployment....
View Article