How to query the table space in Oracle

Oracle Query Table Space usage --Query table space usage Select UPPER (f.tablespace_name) "Table space name", D.TOT_GROOTTE_MB "Table space size (M)", D.tot_grootte_mb-f.total_bytes "used Space (M)", To_char (ROUND

How to import and export Oracle's partitioned table data

Importing imported Oracle Partitioned table data is one of the tasks that Oracle DBAs often complete. Import of partitioned tables exports the same normal table import Export method, but import export need to test Consider zoning specificity, such

Management and maintenance of Oracle CRS

CRS provides a number of commands to manage and view the status of the Cluster service, commonly used in Crs_stat, Crs_start, Crs_stop, CRSCTL, etc., which are described in turn. 1, view the status of the cluster The Crs_stat command allows you to

Oracle Architecture and Backup (12) Bg-smon

One what is the Smon process The systemmonitor performs recovery when a failed instance starts up again. In a oraclereal application clusters database, the Smon process of one instance Canperform instance for other Stances that have failed. Smon

How to backup Oracle control files

The principle of backing up a control file is to back up the control file after the physical structure of the database has changed. 1. Trace: Used to control file rebuilding (generated trace file in Udump) sql> ALTER DATABASE backup Controlfile to

Summary of the usage of Oracle DBMS_METADATA.GET_DDL

DBMS_METADATA.GET_DDL () is used to get the DDL for the object, as follows. Note: In Sqlplus, to better demonstrate the DDL, you need to set the following parameters: Set line set pagesize 0 set long 99999 set feedback out set echo off 1

On the diversification of Oracle control documents

Control file Diversity: Copying multiple control files and putting them on different disks. 1, the use of SPFile diversified control documents 1) View Control file information and spfile information 05:55:48 sql> select name from V$controlfile;

Oracle boot up script under Solaris

1, first to understand Oracle on the operating system to open the Shutdown Database command Start Stop database script under command line, execute with Oracle user $ Dbstart Open Database $ Dbshut Close Database But to enable the above command,

Oracle Physical Structure (iii) Redo log files

1, store all things log. Redo the two concepts of the log, redo the log group and redo log group members. There should be at least two log group files in a database, one group written and then another, which is written in turn. There is at least

Oracle Statistics and Dbms_stats packages

1, the role of statistical information Oracle's CBO optimizer relies heavily on statistics when generating execution plans, you can interpret the CBO as a complex mathematical model, and statistics is its primary input, the execution plan is output,

Issues to be aware of when modifying parameter Db_recovery_file_dest in Oracle

Two days ago in the pub to see someone met this problem, today's lectures met, but the night to simulate the dead and alive are not reproduced. The problem is to first block the Flash recovery area function, and then restore the function, the

How Oracle DG monitors the primary and physical repositories

1, monitoring channels: summed up mainly through two aspects to carry out: 2, monitor the progress of recovery (1) View the active state of the process The V$managed_standby view is dedicated to displaying the current state of a physical

Examples of usage in Oracle Merge into

Role: Merge into solution with B table and new a table data, if a table does not, then the B table data into a table; Grammar: MERGE into [Your table-name] [rename your table-here] using ([Write your query here]) [rename your query-sql and using

How to view objects holding locks in Oracle

Colleagues in the test library on a table add fields, prompt ORA-00054, resources busy. The lock on the Table object should not be released. Use the following SQL to view the locking of related objects in the system: /* formatted on 2012/2/13 14:2

How to monitor the use of Oracle indexes

A system that, after a long period of operation, maintenance, and versioning, may produce a large number of indexes, even though the index occupies far more space than the data. Many indexes are useful for systems in the initial design. However,

Oracle Table Analysis Method

Test Table name: D 1, to determine whether a table has been analyzed: Select T.num_rows,t.avg_row_len from User_tables t where T.table_name = ' D ', If the result is empty, it means that the table has not been parsed; 2, the table has not been

Overview of Oracle's index monitoring

1. Index Information View: Select * from User_ind_columns; Select * from User_indexes; 2, monitor the index of the Open: ALTER INDEX index_name monitoring USAGE; 3. See if the index you created is valid: Execute the query SQL statement first,

Oracle Flash-Back application scenarios

Application scenario: Easy and quick recovery of table data; Flash back Table 1. Set the properties of a table ALTER TABLE AAA enable row movement; 2, restore the table data to 2 minutes ago Flashback table AAA to timestamp sysdate-(1/24/3600) *

Oracle SQL Optimization Summary

For SQL optimization, from the actual work experience, summed up as follows: 1, where filter section, the equation left without any calculation and nesting functions, to find an equivalent replacement, on the right side of the equation to make

Mutual conversion of SCN and timestamp in Oracle 10g

As an enhancement to the flashback operation (flashback), ORACLE10G provides a function to convert the SCN and timestamp to each other. The current SCN value of the system can be obtained first through Dbms_flashback.get_system_change_number: Sql>

Total Pages: 2147 1 .... 1444 1445 1446 1447 1448 .... 2147 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.