space group

The circumstances surrounding a transaction hang of living

Would like to test the next ora-01555 error, so the undo_retention set to 100. After the implementation of the conn scott / tiger create table t as select * from dept; Keep the insert revealed SQL> insert into t select * from t; 57344 rows created ...

Hang a transaction causes and consequences of living

Would like to test the next ora-01555 error, so the undo_retention set to 100. After the implementation of the conn scott / tiger create table t as select * from dept; Keep the insert revealed SQL> insert into t select * from t; 57344 rows created ...

ORACLE common maintenance statement

select * from v $ version; View table space usage select sum (bytes) / (1024 * 1024) as free_space, tablespace_name from dba_free_space group by tablespace_name; SELECT A. TABLESPACE_NAME, A. BYTES TOTAL, B. BYTES USED, C. BYTES FREE, (B. BYTES * 100 ...

Oracle sql check the progress of implementation

SELECT SE.SID, OPNAME, TRUNC (SOFAR / TOTALWORK * 100, 2) | | '%' AS PCT_WORK, ELAPSED_SECONDS ELAPSED, ROUND (ELAPSED_SECONDS * (TOTALWORK - SOFAR) / SOFAR) REMAIN_TIME, SQL_TEXT FROM V $ SESSION_LONGOPS SL, V $ SQLAREA SA, V $ SESSION SE WH ...

oracle database SQL query used classical

Common SQL query: 1, see table space name and size select t.tablespace_name, round (sum (bytes / (1024 * 1024)), 0) ts_size from dba_tablespaces t, dba_data_files d where t.tablespace_name = d.tablespace_name group by t.tablespace_name; 2, see table ...

ORACLE DBA Tools commonly used SQL scripts - Management articles

In the longer time of interaction with the oracle, each DBA particular, some heroes have a variety of completion of various uses of the scripting tools, so very easy and efficient completion of daily work, the following me commonly used part of the s ...

oracle management Query

oracle used in the daily management of a number of sql statements to continue to add in the Table space and capacity: select tablespace_name, sum (bytes) / 1024/1024/1024 from dba_data_files group by tablespace_name; Table space idle capacity: select ...

Increase the table space oracle

oracle table space prompted the lack of space Baocuo SQLException: ORA-01654: unable to extend index ATOM.IDX_UNDERWRITING_CHECK_T2 b y 1024 in tablespace TBSIDS Finding solutions Method 1: When a similar error occurs, first check whether the tablesp ...

See the table space usage

select a.tablespace_name, round (a.total_size, 1) "total (M)", round (a.total_size)-round (nvl (b.free_size, 0), 1) "used (M)", round (nvl (b.free_size, 0), 1) "free (M)", round (nvl (b.free_size, 0) / total_size * 100,1 ...

ORACLE table space to create the

One into the next oracle # Su - oracle as4101> lsnrctl start as4101> svrmgrl svrmgrl> connect internal; svrmgrl> shutdown immediate; svrmgrl> startup Second, to see what the table space svrmgrl> SELECT * FROM DBA_TABLESPACES; SYSTEM ...

Management of the database table space

Management of the database table space rn SQL> create user han identified by han default tablespace tank rn SQL> grant connect, resource to han; rn Switch User: han / han SQL> create table t (id integer, name char (20)); SQL> insert into ...

See the table space is being used

Mainly related to two tables, 1, dba_data_files, 2, dba_free_space The specific content of each table you can directly select * from table desc table name or view See the table space use of the SQL statement: SELECT a.tablespace_name "table spac ...

oracle tablespace usage query

SELECT D. TABLESPACE_NAME as table space, SPACE "the size of the total space (M)", BLOCKS as the total data blocks, SPACE - NVL (FREE_SPACE, 0) "has been used (M)", ROUND ((1 - NVL (FREE_SPACE, 0) / SPACE) * 100, 2) "(%)" ...

DBA scripts used

1, table space and Statistics A, scripting Description: This is my most commonly used as a script, use it to the database can show the status of all the table space, such as the size of table space has been the use of space, the use of the percentage ...

ORACLE table space-related operations

sqlplus / nolog connect / as sysdba startup sqlplus / nolog connect / as sysdba SHUTDOWN IMMEDIATE If you want to use windows default date format. English is not in the configuration variables in the environment: NLS_LANG american_america.us7ASCII - ...

Some practical examples of oracle

One into the next oracle # Su - oracle as4101> lsnrctl start as4101> svrmgrl svrmgrl> connect internal; svrmgrl> shutdown immediate; svrmgrl> startup Second, to see what the table space svrmgrl> SELECT * FROM DBA_TABLESPACES; SYSTEM ...

Oracle SQL statements used to maintain

Oracle SQL statements used to maintain How to determine Oracle database remote installation platform select * from v $ version; View table space usage select sum (bytes) / (1024 * 1024) as free_space, tablespace_name from dba_free_space group by tabl ...

ORACLE database administrator functions

ORACLE database administrator should be as follows on the ORACLE database system for regular monitoring: rn (1). Daily running of the ORACLE database, log files, backups, database space usage, the use of system resources, it was discovered, and solve ...

DBA commonly used script (1)

DBA commonly used script (1) Tags: oracle DBA scripts used a lot. Each person may be using the same. Here are some for everyone to use DBA series of commonly used SQL statements, please add that continually update 1, the database system architecture ...

Oracle Database routine inspections of

Content Database is in archive mode Inspection methods sqlplus sys /...... SQL> archive log list; To see the database is in archive mode, and start the automatic archiving process Test results ◆ Normal □ Abnormal Notes Content File System Usage In ...

Of learning and using digital dictionary

/ / Table Structure select * from ALL_TAB_COLUMNS t where t.TABLE_NAME = 'BU_SHEET_ORDER_RETURN' rn / / View the text select * from ALL_VIEWS t where t.view_name = 'V_ST_CCHANGE_MONTH' / / Primary key select * from ALL_CONS_COLUMNS where t

Oracle system tables Daquan

Oracle data dictionary dict always belong to the user sys's. 1, the user: select username from dba_users; Change password alter user spgroup identified by spgtest; 2, table space: select * from dba_data_files; select * from dba_tablespaces; / / t ...
Recent
Recent Entries
Tag Cloud
Random Entries
Latest Comments