In this section, we build a slightly more complex replication environment, and this time we will no longer replicate between two databases, add a new database, and synchronize data between three databases.
I. Description of requirements
Set the
1. View all table space sizes
Select Tablespace_name,sum (bytes)/1024/1024 from Dba_data_files
Group BY Tablespace_name;
2. Unused table space size
Select Tablespace_name,sum (bytes)/1024/1024 from Dba_free_space
Group BY Tablespace_name;
3.
Many organizations have an online transaction processing system. This type of system is characterized by:
There are high data update activities that are typically performed by a large number of users.
A large number of users concurrently access
Data Guard offers two main services:
1 Redo Transport Service: The Primay end of the redo log transmission to one or more standby destinations.
2 Redo Application Service: The redo log which is transmitted from the Primay end is applied to the
System Checkpoint SCN (V$database (checkpoint_change#))
Data file Checkpoint (V$datafile (checkpoint_change#))
Data file termination SCN (V$datafile (last_change#))
Checkpoints stored in data files
Start SCN (V$datafile_header (checkpoint_change#
EXPDP's Network_link
As we know, EXPDP the default is to export the local database, the Network_link is to export the remote database to the local server, and its steps are as follows:
Terminology Description:
SOURCE database: Remote
Import Mode
As with the export mode, the following 5 modes are mutually exclusive.
Full mode
Set Full=yes, if there is no datapump_imp_full_database role, can only be imported into the data under their own schema
Schema schema
Sets the schema
Data files (Details of the data file are documented in the control file)
• Each Oracle database must have at least one data file for storing database data
• Multiple data files should be placed on different disk to improve access speed
1. Main
When a sequence is invoked for the first time, it returns a predetermined value, and in each subsequent query call, the sequence produces a value that is obtained by its specified increment.
1. Create sequence
The syntax format is as follows:
Data integrity refers to the logical consistency and accuracy of the data in the database. Data integrity is generally divided into 3 types: domain integrity, entity integrity, and referential integrity. Integrity constraints ensure data integrity
Description
(1). The db_name needs to be the same when Rman is backed up to a different machine recovery.
If you want to change to another instance name, you can change it with the NID command after the restore succeeds. The information of the
Today, a friend asked, if the time is calculated, such as a time value plus 3 minutes, or a time minus 1 seconds.
The following tests briefly illustrate how such operations are used:
Sql> alter session set nls_date_format= ' Yyyy-mm-dd hh24:mi:ss '
To prevent remote SSH logons for Oracle users, the passwd file was modified with VIPW today and added at the end of the Oracle User::/sbin/nologin
Test discovery does prevent users from SSH logons, but the following errors are reported after you
Under the Win2000 Enterprise operating system, uninstall Oracle 9i:
1. Stop All Oracle Services
2, delete all the information about Oracle in the registry
(1) Under HKEY_LOCAL_MACHINE\Software, delete the Oracle directory
(2) Under
"Data compression" used to be a new word for me, not have not heard, but did not actually use, has been doing project manager work is also designed to the database operations, but because the storage design is more abundant, in addition to the
Codesmith is a code generation tool for. NET, and many of its own templates are almost all systems for SQL Server architecture, and when Oracle is used, many templates need to be customized because of the differences between Pl-sql and T-SQL. There
During the installation of the oracle10g RAC, the network settings need to be cautious and extremely important.
The following is a list of my oracle10g RAC Environment's network configuration for your reference.
1.hosts File Settings
Since RAC
The following function is the function I write when I write the Oracle database stored procedure, I feel that this function is more versatile, so it is published for the reference of the people who need it.
This function is primarily used to remove
1 Create a script (replace is to modify a script that already exists)
Rman> Create script Users_bak {
2> backup datafile '/u01/app/oracle/oradata/prod/users01.dbf ' format '/disk1/rman/prod/users_%s.bak ';
3>}
Created Script Users_bak
2 View
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