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
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
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
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
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
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;
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,
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
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,
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
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
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
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
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,
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
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,
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) *
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
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>
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