Kamran Agayev's Oracle Blog

Oracle Certified Master

Archive for June, 2012


Posted by Kamran Agayev A. on 20th June 2012

I was asked to grant a privilege for a user to create only temporary tables. I was sure there’s no the specified grant such as




After making a simple research, I saw the following thread where Justin Cave mentions that “However, if you grant the user the CREATE TABLE privilege but do not grant the user quota on any permanent tablespace, they would be unable to create permanent tables but should be able to create global temporary tables”


A simple test proved the above quote:


SQL> create user user1 identified by user1;
User created.

SQL> grant connect to user1;
Grant succeeded.

SQL> grant create table to user1;
Grant succeeded.

SQL> conn user1/user1

SQL> create table a (id number);
create table a (id number)
ERROR at line 1:
ORA-01950: no privileges on tablespace ‘USERS’
SQL> create global temporary table a (id number);
Table created.



Posted in Administration | 5 Comments »

The installer has detected the existence of Oracle Clusterware

Posted by Kamran Agayev A. on 12th June 2012

After removing the RAC installation on the test server, I got the following error during the installation:

“The installer has detected the existence of 10g Oracle Clusterware on the remote node, —-, however, 10g Oracle Clusterware does not exist on the local node …


Although I run $CRS_HOME/install/rootdelete.sh, removed the $CRS_HOME and oraInventory folders and killed all running processes, it was throwing above mentioned error. After making some checks, I saw that /etc/oracle/ocr.loc file is still there. When removing that file, the error message disappeared. I was interested whether installation checks the file’s availability or its entry also, so created an empty file with the same name “ocr.loc” and tried the installation. Guess what? I got the error again. This means that Oracle looks only for the name of the file in the mentioned folder

In case you want to clear the failed RAC installation, check the following article:



Posted in Administration, RAC issues | No Comments »

New book on “Enterprise Manager 12c Cloud Control”

Posted by Kamran Agayev A. on 4th June 2012

My friend and former ACE Director Porus Homi Havewala’s new book on Enterprise Manager 12c Cloud Control, will be available in September 2012 or earlier, perhaps the First EM 12c Cloud Control book in the world.

If you are interested in learning about the capabilities of Enterprise Manager 12c, please have a look. The book can be pre-ordered in advance. Electronic copies will be available too on publication.


Oracle Enterprise Manager 12c Cloud Control: Managing Data Center Chaos


I’m currently reviewing this book and must say that it’s very well written!

Posted in Uncategorized | No Comments »