datafile

ORACLE key system tables and data dictionary views

1. System Tables ORACLE database system parameters are stored in the database, you can SQLPLUS, user SYSYTEM query. Table or a number of important View as follows: v $ controlfile: control file information; v $ datafile: data file of information; v $ ...

Oracle database performance monitoring SQL summary

1. Monitoring case of waiting select event, sum (decode (wait_Time, 0,0,1)) "Prev", sum (decode (wait_Time, 0,1,0)) "Curr", count (*) "Tot" from v $ session_Wait group by event order by 4; 2. Rollback contention situatio ...

The misunderstanding of the system rollback segment

Has been that the system rollback segment is used to sys user, occasionally found in the experiment is not the case. Implementation using sys user login dml statement SQL> insert into t select * from scott.emp; 14 rows created. SQL> show user U ...

Research Oracle checkpoint scn

Oracle, on the checkpoint's scn have these types of 1.system checkpoint scn select checkpoint_change # from v $ database; 2.datafile checkpoint scn select checkpoint_change # from v $ datafile; 3.datafile header checkpoint scn select checkpoint_c ...

Create table space, create a user

oracle system table used

dba_ beginning ..... dba_users database of user information dba_segments segment information table dba_extents data area information dba_objects database object information dba_tablespaces database table space information dba_data_files data file set ...

Common monitoring statement

Common monitoring statement Oracle-common control SQL2009-03-18 10:551. Monitoring case of waiting: select event, sum (decode (wait_time, 0,0,1)) prev, sum (decode (wait_time, 0,1,0)) curr, count (*) from v $ session_wait group by event order by 4; 2 ...

Oracle nocatalog and catalog the differences between

nocatalog way is to use the control file as the catalog, each control file backup must go back inside to write a lot of information, control file backup which more and more information. If the catalog, you must first create a directory to backup the ...

rman restore different machine experiment - the same environment

System environment: Primary database: OS: REDHAT-AS4-U7 Database: ORACLE10.2.0.4 ip address: 192.168.1.221 Directory structure: Software Directory: / opt/oracle/product/10.2.0 Data files directory: / u00/oracle/standbydb ORACLE_SID: standbydb Target ...

Cold database backup copy

System environment: Primary database: OS: REDHAT-AS4-U7 Database: ORACLE10.2.0.4 Host name: db-standby ip address: 192.168.1.221 Directory structure: Software Directory: / opt/oracle/product/10.2.0 Data files directory: / home / oradatabase / datafil ...

Table partition can not 128 (the table space) extension

Environment is Solaris 9 and 10, oracle 10g. The following table space name of the place I used TESTTBS alert log then view, oracle error: ORA-1692: unable to extend lobsegment XXUSER.SYS_LOB0000012657C00008 $ $ partition SYS_LOB_P422 by 128 in table ...

concept of oracle database SCN

concept of oracle database SCN First of all, here we will introduce the concept of four SCN. 1, the system checkpoint scn When a checkpoint action is completed, Oracle took the system checkpoint SCN stored in control file. select checkpoint_change # from

Table partition can not 128 (the table space) to expand

Environment is Solaris 9 and 10, oracle 10g. The following table space name instead of my time with TESTTBS View alert log, oracle error: ORA-1692: unable to extend lobsegment XXUSER.SYS_LOB0000012657C00008 $ $ partition SYS_LOB_P422 by 128 in tables ...

Backup database test 3

Backup database test 6 1. All prepared a database (backup A) 2. To establish a database user, 3. Set the user default tablespace 4. To use the user creates an object table and insert data. (DML1) 5. Archive log files 6. All prepared a database (backu ...

ORA-600 [4000] "trying to get dba of undo segment

ORA-600 [4000] "trying to get dba of undo segment header block from usn" [ID 47456.1] Modified 05-MAR-2010 Type REFERENCE Status PUBLISHED NB Bug Fixed Description * 9145541 11.2.0.2, 12.1 OERI [25027] / OERI [4097] / OERI [4000] in plugged ...

[Change] oracle rac basic daily maintenance orders

The state of all instances and services $ Srvctl status database-d orcl Instance orcl1 is running on node linux1 Instance orcl2 is running on node linux2 The state of a single instance of $ Srvctl status instance-d orcl-i orcl2 Instance orcl2 is runn ...

Elaboration on the Course start Oracle

Oracle's start the process of four stages: shutdown → nomount → mount → open shutdown → nomount process: Reading the initial parameter file Physical memory allocation Start the background process Navigate to the control file Open / write alert fi ...

RMAN backup and recovery

Recovery catalog management First, establish the steps to restore directory 1, the establishment of recovery catalog table space SQL> CREATE TABLESPACE RMAN_TS 2> DATAFILE 'D: \ ORACLE \ TEST \ RMAN.DBF' SIZE 100M 2, create a restore directo

Manually configure the oracle database

Manually create the database is a database administrator the most basic ability to tell us now how to manually create the database: 1. First, what editor oracle environment variables, change it SID, the SID for your database name to create $ Vim. Bash_pro

Rename the database file

alter tablespace users offline; host mv / u01/oradata/sean/user01.dbf user02.dbf alter tablespace users rename datafile '/ u01/oradata/sean/user01.dbf' to '/ U01/oradata/sean/user02.dbf'; alter tablespace users online;

archivelog / noarchivelog mode data file recovery

rn [] Archivelog backup and restore data file recovery mode rnrnrnrn rn Occurrence: Important documents for non-damaged, usually does not cause instance crash. Oracle data files will be offline these damaged and its contents can not be accessed, but ...

Dynamic performance views (Dynamic perfermance view V $)

Dynamic performance views (v $) database contains a large number of run-time performance and statistics. Which information is stored inside the database with the use of changing circumstances. The information inside it can only be used to view, updat ...

Create a new user for the oracle

0, we must first create a user-space. All operations that the user used the space. rn create tablespace datafile "/ opt / oracle / oradata / myspace.dbf" SIZE 7000M; rn rn The statement means that the size of the table to create a 7G space, ...

(Reprinted) Linux environment rman backup script examples

Background: The objective of the database 192.168.1.172 Redhat Linux AS 3.0 Oracle 9.2.0.6 Recovery catalog database 192.168.1.244 Windows2000 Oracle 9.2.0.1 rman / rman 1, the configuration catalog recovery List create tablespace ts_rman datafile = ...

Database physical files

Copy Database Objective: A copy for the B instance instance instance in A sqlplus '/ as sysdba' startup; alter database backup controlfile to trace; shutdown immediate; In the instance data file storage directory B in B cp .. / A / *. & A ...

Oracle Rman / tivoli-TDP / data back to the node under

Source: Net sea cockle-pickers AIX platform: 4.3.3 Oracle version: 8.0.5 From node RS/6000 h50b backup data is restored to the node 43p-db. 43p-db: First, the 43p-db's tdpo_node file TDPO_NODE to h50b the node name 2, Copy h50B the configora8_sb. ...

Oracle automatically with the completion of physical backup Linux

Source: Net sea cockle-pickers Oracle Database offers several data backup Method, but used the most logical or the use of exp backup, and physical backup (including online backup and offline backup) process is not used much. The main reason is the physica

Oracle10g Database creation

Source: Net sea cockle-pickers Let us reveal the mystery of 10g database, say come on building a database, 10g of dbca or a bigger change than 9i. 1, dbca Welcome screen: 2 Options Tip: 3, by major end use of different database templates: 4, input da ...

Use RMAN-based incomplete recovery time

Use RMAN-based incomplete recovery time Author: eygle Source: http://www.eygle.com/blog Date: September 17, 2006 Views: 44 This link: http://www.eygle.com/archives/2006/09/rman_until_time_recovery.html Last week a friend of the database operation occ ...

Add a datafile after the failure of the treatment (modified)

This method has the defect, see the following solution (This article is premised on archive databases) The most recent maintenance, add a datafile using em when an accident occurred in the situation, adding that the raw device, but the wrong path, al ...

Control file corrupted database recovery

An environmental AIX 5.1 ORACLE: 9.2.0 ORACLE_SID = mig ORACLE_HOME = / oracle/app/product/9.2.0 Second, the recovery process 1, backup the previous data files, log files 2, create controlfile sqlplus "/ as sysdba" CREATE CONTROLFILE DATABA ...

Synchronization WF prompted APPLSYSD table when the total lack of space

A User Fateh for help: [Help] sync WF prompted APPLSYSD table when the total lack of space I run a request, the synchronization WF Local tables, the results Baocuo ORA-1653: unable to extend table APPLSYS.WF_LOCAL_ROLES_STAGE by 138255 in tablespace ...

Copy to change the instance name to use RMAN

Copy target database (non-archived) to the test1 database. (Same machine) rn On the same server, copy the backup, make sure the operating system to deal with another instance of an ORACLE or auxiliary instance, and have enough memory and disk space. ...

Moving database files ORACLE

---- ORACLE database from data files, control files and online log files are three kinds of files. Due to changes in disk space, or the database-based disk I / O The performance adjustment, the database administrator might consider moving the databas ...

Cumulative incremental backup RMAN Test

Cumulative incremental backup RMAN Test rn 1.SQL> select status from v $ instance; rn STATUS ------------ OPEN SQL> rn C: \> rman target sys/hunter0 @ hunter nocatalog RMAN> list backup; rn RMAN> list backup of controlfile; rn -------- ...

(ZT) - The Principle Hot Standby

Simply put rn As we alter tablespace users begin backup time is to lock the users tablespace data files corresponding to the head change scn. First, think about how to use the database recovery log file to do: to find inconsistencies in the data file ...

1.ORACLE a brief description of the background process

rn Database writer (DBWR, the database write processes) DBWR is responsible for the use of LRU algorithm for high-speed data from the database into a cache buffer is written to disk data files. rn Log writer (LGWR, log writing process) LGWR redo log ...

EXP problem-solving case of

C: \> exp system/hunter0 @ hunter owner = (hunter) file = e: \ 0630.dmp direct = y rn Export: Release 9.2.0.1.0 - Production on Friday June 30 08:45:31 2006 rn Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. rn Connect to: Oracl ...

controlfile is damaged -20.06081 million

Phenomenon: controlfile is damaged rn 1. Configuration Backup to prepare [oracle @ oratest admin] $ rman nocatalog target sys/hunter0 rn Recovery Manager: Release 9.2.0.4.0 - Production rn Copyright (c) 1995, 2002, Oracle Corporation. All rights rese ...

Re-install OS, ORACLEL software to recover data using RMAN

OS and oracle software, and all of the datafile, redologfile, controlfile where the disk suddenly full damage, but fortunately there are rman full preparation, so had to re-install the OS, ORACLE software, natural recovery. rn rn 1. Using RMAN starte ...

rman backup ora-19573 error

rn oerr ora 19573 19573, 00000, "cannot obtain% s enqueue for datafile% s" / / * Cause: The file access enqueue could not be obtained for a file / / Specified in a backup, copy or restore operation. / / If the enqueue type shown is 'sha ...

Hand-built database script

Create a password file orapwd file = '/ u01/oracle/...../orapwdtestDB' password = pwd entries = 5; conn / as sysdba startup nomount pfile = '/ u01/oracle/admin/testDB/bdump/inittestDB.ora' create database testDB logfile group 1 ( ' ...

Study notes oracle database development

1. Start Oracle Server. Startup [nomount | mount | open] [force] [pfile = filename] Parameter Description: nomount: Only start the instance of mount: Start an instance, and load the database open: Start an instance, loading and open the database. For ...

Monitor database performance SQL

Monitor database performance SQL 1. Monitoring examples of waiting select event, sum (decode (wait_Time, 0,0,1)) "Prev", sum (decode (wait_Time, 0,1,0)) "Curr", count (*) "Tot" from v $ session_Wait group by event order ...

Common Monitoring SQL

1. Monitoring examples of waiting: select event, sum (decode (wait_time, 0,0,1)) prev, sum (decode (wait_time, 0,1,0)) curr, count (*) from v $ session_wait group by event order by 4; 2. Rollback contention situation: select name, waits, gets, waits ...

ORACLE9I FOR AIX 5L Mobile

ORACLE9I FOR AIX 5L Mobile Move database in the project implementation process, often occur, for the experienced DBA, the database is very easy to move. But for some only to understand the system, the database of persons who are not quite understand, ...

Oracle HowTo: How to move the location of data files?

- Excerpt from www.eygle.com rn In the Oracle database, there are several ways you can move the location of data files, a method introduced before: Oracle HowTo: in non-archive mode, how to change the location of data files can actually be used in a ...

Oracle HowTo: in non-archive mode, how to change the location of data files

- Excerpt from www.eygle.com rn If the database is in non archive mode, you can change the file path through the following steps: 1. Close the database 2. System level files 3. To start the database to the mount state 3. Through the SQL modify the da ...

Use Oracle RMAN database creation quick Dataguard

Use Oracle RMAN database creation quick Dataguard rn rn http://www.builder.com.cn/2007/0821/462169.shtml rn Starting from Oracle9i, Oracle allows the use of duplicate manner Dataguard standby database creation, very simple. rn Of course, the main lib ...

Oracle gained some experience of database development (including the establishment of an index, etc.)

1, analysis table analyze table mzbs.db_code ESTIMATE STATISTICS SAMPLE 20 PERCENT; 2, table space management and user management - see the table spaces and data files select file_name, tablespace_name, autoextensible from dba_data_files; - Data tabl ...
Recent
Recent Entries
Tag Cloud
Random Entries
Latest Comments