How to quickly startup/shutdown Oracle 11?
I am wondering what is the quickest way to properly startup/shutdown a Oracle DB daemon (Oracle 11.2, installed on a test machine). I need it for C/C++ programs that use the OCI/Pro*C API. Currently I...
View ArticleOracle Grid Control
How can I implement all the mentioned below points for monitoring in Oracle Grid Control? Datasource Monitoring JMS Monitoring Composites (State (Stop/Retired/Undeployed) Physical servers (Virtual...
View ArticleUSER_ID field in alert logs (also in V$DIAG_ALERT_EXT view)
Does anyone know what triggers the USER_ID field in the log.xml to be populated? The value also exists in the V$DIAG_ALERT_EXT view. I’ve found by observing the logs that if a temp tablespace fills up,...
View ArticleGrant create permission on a specific schema in Oracle 11g
I have two users A and B. I want to grant B the permission to create, drop, etc. all tables in A’s schema. As far as I can see, I can grant B full access to all schemas not a specific one. Is this...
View ArticleChanging password doesn't work
I need to login to a database. I have good credentials, but when I was trying to login with SQL Developer, I got this error message: ORA-28001: the password has expired Then I tried to login with...
View ArticleMySQL equivalent of WITH in oracle
I need the mysql equivalent of the WITH clause in Oracle. Please help. Thank You
View ArticleOracle database created whats next? Create Schema or Create Tablespace?
I’m a programmer that’s being thrown to the DBA/Sysadmin island all by myself with a volleyball that I named Wilson. I’m trying to survive here. I’m supposed to create a database for an application....
View ArticleError in trigger: table is mutating
CREATE OR REPLACE TRIGGER "TRANSACTION" before update of totalunitsbought on SIPHOLDER referencing new AS NEW old AS OLD for each row begin declare mportfolioname varchar2(20); mportfoliono number;...
View ArticleHow to remove all hidden parameters from Oracle Database
How do I remove all hidden parameters from Oracle Database before upgrading? I’m using the SQL query below. So what do you recommended? SELECT name,description from SYS.V$PARAMETER WHERE name LIKE '_%'...
View ArticleOracle Select Query Over Database Link Suddenly Hangs Endlessly
I have a query that’s been in use for years and today it started hanging endlessly. I took the query apart and found the piece causing it to hang is a simple join on a primary key that should run like...
View ArticleHow to automate Oracle DB installation (like a 'hands-free' install)?
I installed the Oracle 11g2 ‘standard’ edition using the following zip-files: linux.x64_11gR2_database_1of2.zip linux.x64_11gR2_database_2of2.zip I used the installation guide by Oracle which I found...
View ArticleFinding oracle physical database files
I’m using oracle 11g and I need to find the database files to copied to another server. The database was created from migrating from SQL Server 2008 to 11g. There doesn’t seem to be a counterpart for...
View Articlewhat's the fastest method to export a table through sql query ? 11g –...
I’m connected to the oracle server remotely. I need to export a table data(the whole table) with millions of records but due the hosting restrictions I can only use SQL (no exp , expdp) . Therefore I’m...
View ArticleDBA group in Linux
When we need to install Oracle database in Linux then the user should be in dba group. What is this group and why the user should be in this group for installing Oracle database. What happens if the...
View Articlewhat's the fastest method to export a table through sql query ? 11g –...
I’m connected to the oracle server remotely. I need to export a table data(the whole table) with millions of records but due the hosting restrictions I can only use SQL (no exp , expdp) . Therefore I’m...
View ArticleOracle OEM Database Backup Failure
I am trying to back up an oracle database from OEM, but upon completion the job report says the job failed with the following error: RMAN-03002: failure of backup command at 07/09/2013 10:26:52...
View ArticleORA-04031: unable to allocate 4708660 bytes of shared memory
I am running Oracle 11g R1 on my local development machine. I have been trying to run an anonymous block to test the FORALL statement in Oracle to insert 25,000 records. I get the following error:...
View ArticleLoading XML documents to Oracle 11g DB with control file
I am using Oracle 11g XML database and trying to load XML documents to this DB with a control file and the sqlldr utility. All these XML files have an element that contains a date string with time...
View ArticleDo database engines update when the updated value is the same? [on hold]
Suppose I am running multiple column update on one row. Does the database engine physically write new data to the database if some of the columns contain the same values as existed previously in the...
View ArticleOracle Login Default Password?
I’ve just installed an Oracle 11g Standard Edition Database. It ran successfully and everything, however when going to Oracle Enterprise Manager Im not really sure what my “username” would be. I...
View Article