This is rman.sh And this is RMAN configuration,
Filed under: Oracle | Tagged: Oracle | Leave a Comment »
This is rman.sh And this is RMAN configuration,
Filed under: Oracle | Tagged: Oracle | Leave a Comment »
Today I mess around with the Oracle database that can not start and open. I get some error messages from various places such as alert.log, sqlplus, rman. These errors are, I have do this step : 1. replace the current spfile with the old one 2. startup with pfile 3. restore and recover database using [...]
Filed under: Oracle | Tagged: Oracle, oracle error code | Leave a Comment »
From Oracle Documentation, Default value 100 Modifiable ALTER SESSION, ALTER SYSTEM Range of values 1 to 10000 OPTIMIZER_INDEX_COST_ADJ lets you tune optimizer behavior for access path selection to be more or less index friendly—that is, to make the optimizer more or less prone to selecting an index access path over a full table scan. The [...]
Filed under: Oracle | Tagged: Oracle Tuning | Leave a Comment »
From Oracle Documentation, Default value TYPICAL Modifiable ALTER SYSTEM Range of values OFF | TYPICAL | FULL DB_BLOCK_CHECKSUM determines whether DBWn and the direct loader will calculate a checksum (a number calculated from all the bytes stored in the block) and store it in the cache header of every data block when writing it to [...]
Filed under: Oracle | Tagged: Oracle Tuning | Leave a Comment »
I was get this error when I alter and compile one function ORA-04021: timeout occurred while waiting to lock object First try, I use this query to find what cause this error SELECT p.spid “Thread”, s.sid “SID-Top Sessions”, SUBSTR (s.osuser, 1, 15) “OS User”, SUBSTR (s.program, 1, 25) “Program Running”, s.username FROM v$process p, v$session [...]
Filed under: Oracle | Leave a Comment »
You can run this sql to see Oracle Database Parameter : SELECT name, value, isdefault default_value, description, isses_modifiable session_modifiable, issys_modifiable system_modifiable, isdeprecated deprecated, update_comment FROM v$parameter ORDER BY name ISDEFAULT Indicates whether the parameter is set to the default value (TRUE) or the parameter value was specified in the parameter file (FALSE) ISSES_MODIFIABLE Indicates whether [...]
Filed under: Oracle | Tagged: Oracle Data Dictionary | Leave a Comment »
create backup directory for USERME CREATE OR REPLACE DIRECTORY BCK_DIR AS ‘/home/oracle/bck’; GRANT READ, WRITE ON DIRECTORY SYS.BCK_DIR TO EXP_FULL_DATABASE; GRANT READ, WRITE ON DIRECTORY SYS.BCK_DIR TO IMP_FULL_DATABASE; using vi to create script #!/bin/bash clear #echo “Hello, linux world from pandazen world.” echo “backup pandazen data with script on Oracle Linux” NOW=$(date +”%Y%m%d”) FILE=”pandazen$NOW” echo [...]
Filed under: Linux, Oracle | Tagged: Oracle Linux | Leave a Comment »