Quantcast
Channel: SanOraLife
Browsing all 112 articles
Browse latest View live

How to get explain plan from Netezza?

explain verbose select * from tablename;

View Article


ORA-03001: unimplemented feature

Change the current_schema to the actual table owner by connecting as some other user in sql*plus and try renaming the table:SQL> alter session set current_schema=scott;Session altered.SQL> rename...

View Article


How to Install Oracle TEXT manually in 10gR2

OK, By Default Oracle TEXT (CTXSYS Schema) is installed in the database if DBCA is used.In case if its missed out and need to install manually then dont panic as installing Oracle Text is too simple as...

View Article

How to find RAC Cluster Name and Version?

Run cemutlo command under grid home to get Cluster info such as name and version.Options:        -n prints the cluster name        -w prints the clusterware version in the following format:...

View Article

Wait event: kksfbc child completion

Noticed this wait event "kksfbc child completion" in one of our database when a client complained that the report which was generally taking few seconds is hung today for more than hours!!!When looked...

View Article


ORA-00245: control file backup operation failed

If you are getting the error "ORA-00245: control file backup operation failed" in 11gR2 then the solution is to use the backup location which is a Shared Location (which can be seen by all Nodes within...

View Article

ORA-13516: AWR Operation failed: only a subset of SQL can be issued

First started noticing that OEM is not showing any stats in other words no change in the session activity...Digging into more found that the error "ORA-13516: AWR Operation failed: only a subset of SQL...

View Article

How to find Cluster Interconnect IP in RAC

Couple of ways around to find the Interconnect IP Address defined in RAC environment.First thing would be to look in /etc/hosts to see which IP is assigned based on the comments or naming...

View Article


File Permissions in Unix - Numeric Representation

chmod 777 file_name - gets you full access to everybody in Unix. What does 777 mean?First digit is OWNER, Second digit is GROUP and the Third is OTHERS.So, if a file has rwx-x-x which means, Owner can...

View Article


Table and Index Size...

SQL to list out Tables and Indexes size for a given Schema:--This Lists out Index size for all indexes in the table:select ind.table_name, round(tbl.table_size,2) "Table Size (GB)",...

View Article

"row cache lock" wait event...

One of those things that needs to be worried in RAC environment...Noticed this event "row cache lock" the other day in our database on a simple insert. SQL is mostly showing waits on this even with so...

View Article

"library cache lock" wait event...

Another wait event that I faced today:The job that extracts the data from Oracle using fastreader generally finishes pretty fast but today it seems that it never finished...Looking into session info...

View Article

OPatch failed with error code 135

OK, I am in process of upgrading one of our 11.2.0.2 RAC Environment to 11.2.0.3 and as a pre-req I have to install a patch 12539000.First we need to create OCM Response file which is mandatory so I...

View Article


Faster way to get a row count on a huge table...

We all know how to get a row count of a table:select count(1)from table_name;What if the table is so huge!!!Quick way we generally tend to go around to get the count is from user_tables data dictionary...

View Article

Finding Oracle allocated semaphores in Linux...

As I always say, there is always something to know/learn.Having some issues with high usage of semaphores in our environment and digging more found this nice utility from Oracle (yeah its been there...

View Article


RMAN-12012: multiple records for DISK parallelism found in catalog

While trying to restore (TSPITR) using RMAN Catalog I ran into this wired errors stating while allocating channels...RMAN> recover tablespace abc123until time "to_date('19-FEB-2013...

View Article

RMAN TSPITR

Example on using RMAN TSPITR (Tablespace Point-in-Time Recovery):Login into your RMAN Catalog by setting up your database environment.rman catalog rman/password@catalogdb target /RMAN> configure...

View Article


ORA-19550: cannot use backup/restore functions while using dispatcher

Your RMAN connection is going thru SHARED SERVER Mode.Make a TNS entry with DEDICATED Mode ( (server=dedicated) ) and try again.19550, 00000, "cannot use backup/restore functions while using...

View Article

TNS-04404: no error caused by: oracle.net.config.ConfigException: TNS-04414:...

Got this error while trying to create a database using DBCA.TNS-04404: no error caused by: oracle.net.config.ConfigException: TNS-04414: File error caused by: TNS-04612Nothing to worry or panic. Just...

View Article

Image may be NSFW.
Clik here to view.

ORACLE error 29308 encountered

Got this error while doing TSPITR:Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP, Data Miningand Real...

View Article
Browsing all 112 articles
Browse latest View live


Latest Images