Step 1: migrate the table to the target tablespace
1) use the following statement to list the tablespace statements to be moved in PL/SQL,
Select 'alter table' | table_name | 'move tablespace destination tablespace name; 'from user_all_tables
1. A large number of redo records are generated for the insert operation of the Permanent Table, but almost no redo is generated for the temporary table. This makes sense. insert on a temporary table will only generate a small amount of Undo data,
System Recovery segment
Used only for changes to objects in the system tablespace. It is created in the system tablespace when the database is created. The system recovery segment can exist and work in the automatic mode or in the manual mode.
OCR is equivalent to the Windows registry. For Windows, all software information, users, configurations, and security are stored in the registry. In the same way, all cluster-related resources, configurations, nodes, and Rac databases are stored in
Create test tables, which are frequently used by DBAs. Generally, they are created based on dba_objects. This article is based on the big_table of Master Tom for your reference.
1. big_table based on Oracle 10 GB
--===================================
The concept of scan (single client access name) is introduced in the Oracle 11g RAC cluster, that is, the single client access name of the cluster. Scan provides a single host name for the client to access the Oracle database running in the cluster.
Recently, when using traditional imp tools to import data, a colleague always prompts to receive the skipping table prompt, that is, the table is skipped, rather than being rebuilt. The table object in the target database cannot be imported even if
Normally, when the current control file is lost or the current control file is inconsistent with the control file to be restored, we need to re-create a control file or use unsingBackup controlfile to restore the control file. To put it simply, as
The server Load balancer of the Oracle RAC server distributes new connection requests to the node with the smallest load based on the number of connection loads of each node in the RAC. When the database is running, the pmon process of each node in
Oracle Data Security Maintenance
I remember a philosopher saying, "The changes of things are inseparable from internal and external causes ." Therefore, Oracle data security is also divided into "internal" and "external. Well, let's start with
Recently, due to work needs, we need to optimize the current program. Considering a version in each region, the maintenance cost is too high and the difficulty is too high, it is decided to encapsulate codes of different regions and businesses using
Imp/exp commands are all commands under the database account, that is, the commands used after Su-Oracle.IMP command# Imp unsap_dec destination/unsap_dec destination file =/usr/test. dmpThe system automatically exports the file test. dmp.Exp command#
It is true that the same content is different for the second time. Some of them were not carefully understood during the first time, some of them may be skipped in a rush for the first time. Of course, some of them may be forgotten after they are
The processes in an Oracle system can be categorized into two major groups:■ User processes run the application or Oracle tool code.■ Oracle processes run the Oracle database server code. They include server processes and background
---------------------------------------------------------------------------
Set echo off;
Set feedback off;
Set verify off;
Set pagesize 0;
Set termout on;
Set heading off;
Accept username char prompt 'Enter the index Username
Batch Processing is generally used in ETL operations. ETL stands for extract, transform, and load. It is the word of a data warehouse!
Similar to the following structure:For X (select * from ...)
Loop
Process data;
Insert into table values
A table connection refers to the association between tables in an SQL statement to retrieve relevant data from one or more tables, in general, the table and table connections can be divided into four types: equal connection, external connection,
1. Export tool exp
1. It is the directory for storing the next executable file in the operating system/ORACLE_HOME/bin
The exp export tool compresses data backup in the database into a binary system file, which can be migrated between different
Oracle obtains the current date and Date Format
Get system date: sysdate ()Format Date: to_char (sysdate (), 'yy/MM/DD hh24: MI: SS)Or to_date (sysdate (), 'yy/MM/DD hh24: MI: SS)Format the number: to_number
Note: to_char converts a date or number
To_date formatDay:Dd number 12Dy abbreviated FriDay spelled out FridayDdspth spelled out, ordinal twelfthMonth:MM number 03Mon abbreviated MARMonth spelled out MarchYear:YY two digits 98Yyyy four digits 1998
The time range in the 24-hour format is: 0
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