Asadmin with Remote GlassFish
I've faced issue while working with Amazon EC2, I'm starting to appreciate how useful theGlassFish asadmin tool is with a remote system. Here are some steps to get GlassFish set up for secure,...
View ArticleScript to generate Schema creation,grants and roles in a database for an...
Please change accordingly as per the need.set long 20000 longchunksize 20000 pagesize 0 linesize 1000 feedback off verify off trimspool oncolumn ddl format a1000begin...
View ArticleConverting Physical Standby Database into Snapshot Standby Database
There are three restrictions where we cannot convert to a snapshot.a) If it is the only standby of a Maximum Protection configuration.b) If it is the target of a current switchover operation.c) If it...
View ArticleConverting Snapshot Standby Database into Physical Standby Database
Oracle uses restore point and Flashback Database feature to accomplish this conversion of snapshot standby database to physical standby database. Restore point and Flashback Database concepts were...
View ArticleChanging the oc4jadmin password for a Application Server
Log in to the server where oc4j is runningLocate the following configuration file in the Oracle home of the OC4J instance:ORACLE_HOME/j2ee/oc4j_instance_name/config/system-jazn-data.xml vi...
View ArticleDRG-10701: preference CTXSYS.DEFAULT_LEXER already exists
While creating oracle text indexes when we get below error.@?/ctx/admin/defaults/drdefus.sqlDRG-10701: preference CTXSYS.DEFAULT_LEXER already existsDRG-10701: preference CTXSYS.DEFAULT_WORDLIST...
View ArticleQuery to check RMAN job status
Please use the below query to check for RMAN job status in DB level.col INPUT_TYPE format a15col STATUS format a12col START_TIME format a18col END_TIME format a18col OUTPUT_BYTES_DISPLAY a25col...
View ArticleORA-16028: new LOG_ARCHIVE_DEST_STATE_2 causes less destinations than...
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ALTERNATE SCOPE=BOTH;ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ALTERNATE SCOPE=BOTH*ERROR at line 1:ORA-02097: parameter cannot be modified because...
View ArticleORA-19809: limit exceeded for recovery files
SQL> startupORACLE instance started.Total System Global Area 599785472 bytesFixed Size 1250356 bytesVariable Size 180358092 bytesDatabase Buffers 411041792...
View ArticleRecreation of Temporary Tablespace
Steps to implement1. alter database backup controlfile to trace;2. select file_name,tablespace_name from dba_temp_files;3. create temporary tablespace tempbkp tempfile '/u01/oradb/tempbkp.dbf' size...
View ArticleSteps to fix below constraint issue while doing an alter table
Please find the below as an example and see the steps for fixing.Failing sql is:ALTER TABLE "ABC"."DEF" ADD CONSTRAINT "G_490" FOREIGN KEY ("ORDERS_ID") REFERENCES "ABC"."ORDERS" ("ORDERS_ID") ON...
View ArticleACFS File system creation Step by Step
Manual Creation of ACFS filesystemCreate the directory for the acfs in each node.================================# mkdir -p /oracle/app/oracle/acfsmounts/data_acfsvol3Change the...
View Article12c far sync database creation and configuration Step by step using dgmgrl
Create the Pfile for farsync:=====================Instance parameter file - as a copy of primary database configuration (not...
View ArticleORA-29548: Java system class reported: Solution
ORA-29548: Java system class reported: Solution Check the database for error:SQL> select dbms_java.get_jdk_version() from dual;select dbms_java.get_jdk_version() from dual...
View ArticleStep to Reload JVM in 12c
1. Verify that the following System Requirements are available The Shared Pool has at least 96 MB of free space. The Java Pool has at least 50 MB of free space The SYSTEM tablespace has at...
View ArticleEnable trace whenever user logged into DB
We can accomplish this by creating a trigger.Please note that you disable this trigger after you done with your activity. Else it will fill up user dump destination,Script :create or replace trigger...
View ArticleHow to find the dependencies of schema
SELECT DECODE(referenced_type, 'NON-EXISTENT', '.....', referenced_type) Type, referenced_owner,referenced_name Object, name referenced_by, owner, type,' Referenced Link: ' ||...
View Article