Case 3--A partial archive log was lost while doing a full recovery (recover database until cancel;)
1. Incomplete recovery based on cancel
--Simulation environment
Sql> Col table_name for A20
Sql> Col Tablespace_name for A10
Sql> select
By default, if you type data that violates a constraint rule when you perform a DML operation, the error message is immediately prompted. In some cases, you might want to check for constraints at the end of a transaction, such as cascading updates
Back up the database before doing the operation
rman> backup Database;
1. Check if the Flash recovery area is started:
Sql> Show Parameter Db_recovery_file
NAME TYPE VALUE
------------------------------------ ----------- -----------------------
Data block corruption due to hardware failure or operating system failure during Oracle database operation that causes Oracle to not recognize or contain content in Oracle format
Failure, this bad block can be divided into media damage and logical
Starting with Oracle 10g, Oracle provides a new feature for automatic SGA management (ASMM, or automatic Shared Memory Management). The so-called asmm, means that we no longer need to manually set the shared pool, buffer pool and other memory pool
This article describes an example of using a temporary table to resolve table conflicts in Oracle, with an example of creating a temporary table
Platform: Windows SP3 server
Database: Oracle 9.0.1.1.1
Site Description: Users complain that not
Objective
Oracle provides several packages that can be used to accomplish many tasks, from internal process communication to file I/O, to dynamically create and execute SQL statements in Pl/sql blocks. All of these packages are owned by the SYS
The online log file status is active or current indicates that the data modifications that the log contains have not been fully synchronized to the data file, and that the redo record in which the instance will need to be read repeats itself, so if
Use of index clusters:
Create clusters of tables that are often accessed in connection statements.
Do not cluster tables if the tables are only occasionally connected or their public columns are often modified. (It takes more time to modify the
If an index is not valid for some reason or if an excessive amount of index fragmentation (index Fragment) is caused by a prolonged absence of maintenance, the index fragmentation needs to be eliminated by rebuilding the index. When you need to
Pga
The PGA (Program Global region area) is a memory area that contains data and control information for a service process. It is created by Oracle at the start of a service process and is unshared. An Oracle process has a PGA memory area. A PGA
Project situation: is a large company's internal office system, the system has two and the general enterprise application is not the same characteristics: first, the user is very much, the number of personnel reached about 2W, the other is the form
Auditing is the monitoring and recording of the data activity of the selected user. Audit operation types include logon attempts, object access, and database operations. The audit records include information such as the audited operation, the user
The procedure for swapping partitions is as follows:
1. Create the partition table T1, assuming there are 2 partitions, P1,P2.
2. Create the base table T11 the data that holds the P1 rule.
3. Create the base table T12 the data that holds the P2
This paper explores the internal mechanism of Oracle data buffers--oracle Use this memory to prevent unnecessary data blocks from being reread from disk. Understanding how Oracle Data buffers operate is key to successfully using them to tune
I. Basic ENVIRONMENTAL requirements
System environment:
System version: Rhel5u8 x86_64
Oracle Version: Oracle 10.2.1
IP Address
ODB1 192.168.100.144
192.168.101.144
ODB2 192.168.100.143
192.168.101.143
Server Shutdown selinux/iptables
For some businesses, the data stored in the table and its final grid performance is exactly the equivalent of reversing the source table, so this time we have a problem of how to convert rows into columns, and to simplify the problem, we look at the
In the actual production environment we may need to quickly replicate the existing database, also hope that the new library and the original library is not the same name, or we need to replicate the production library to do research and development
1, logical backup and physical backup differences
1 Physical Backup: Backup data files and control files, backup the physical structure of the entire library, mainly for media recover
2 logical backup: Back up the data structure and data of the
In 11g, Oracle has made further enhancements in statistics.
This article introduces pending statistics.
In 10g, Oracle provides a way to restore statistics, which causes problems that can be solved quickly by restoring the original statistics.
In
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