With Oracle's standby technology, a single-instance database can be upgraded to a RAC database. This approach can effectively reduce the downtime for single instance migration to the RAC environment.
This article describes the switchover process of
Case 4--Delete tablespace (with backup)
Recover the Tablespace-related information by backing up the control file because there is no information about the tablespace in the new control file. In fact, the archive log is used for recovery throughout
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
One, rollback (ROLLBACK) and undo (undo)
Rollback and roll forward are important means of ensuring that data in an Oracle database is in a consistent state.
Before the 9i version
Oracle uses rollback segments in the database to implement
Yesterday, the installation and commissioning of Oracle 11G R2 RAC on the VirtualBox virtual machine was done with reference to documents on Oracle base, and the installation documentation was detailed, but it was the first time that the RAC was
If an online e-commerce system, we now need to be based on the order form reflected in the consumption of the customer simply divided into three categories of large and small and inserted into three tables.
Order Form orders (order_id number,
Make sure RecycleBin is open.
Sql> Show Parameter RecycleBin
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
RecycleBin string on
Create a table
Sql> CREATE TABLE TAB01 (id int);
Table created.
Example
--Submit once for each processing of 10,000 articles
Loop
INSERT INTO T2
SELECT * from t1 where rownum
Delete from T1 where rownum
V_rowcount: = Sql%rowcount;
Commit
Exit when V_rowcount
End Loop;
Additional sql% four
Objective
This time, we will be working on Linux to complete the installation and use of Oracle database.
Oracle itself is free to download, including its corporate version, and almost anything it buys from WebLogic and sun you can download and
The database is starting up.
If you detect a data file that is missing or corrupted the rollback segment tablespace, and the database is running, do not drop it. In many cases, the database is open rather than closed to solve the problem.
Two
Case 2:recover tablespace (recover tablespace (delete all datafile of tablespace))
When you delete a data file in Guanqu state, this restores: Dumps the datafile, makes the missing datafile offline, recover tablespace
(1) Simulation environment
As an Oracle Database developer or DBA, you often experience the problem of trying to create a unique index on a column or column in a library table, prompting ORA-01452: You cannot create a unique index and find duplicate records.
Here we take
One, what is registration?
Registration is the registration of the database as a service to the listener. The client does not need to know the database name and instance name, just know that the database can be used to connect to the database with
Nine, advanced query (group, sub-query)To inquire about an upgraded version:Need to use three sheetsEmployee table:DESC EMPEMPNO Employee NumberENAME Employee NameJob Employee PositionsMGR Boss Employee NumberHireDate Employee Entry DateSAL Employee
One, the most important difference: the importance of storing data is different"SYS" the base tables and views of all Oracle data dictionaries are stored in the SYS user, which is critical to the operation of Oracle, maintained by the database
The last two days the production database has been reported ORA-24756 error, check the MoS document, see a similar, said is a bug (bug 19201866-reco reports ORA-24756 repeatedly into trace file ( Document ID 19201866.8), but the 11.2.0.4 on HP-UX
Tip: Configure Microsoft LoopBack Adapter as your system's primary network adapter. Workaround: Add Hardware, Control Panel, (Win7 and then no hardware added, you can enter it in cmd and enter Hdwwiz.exe to turn on adding hardware) I've also
--Creating profile profilesCreate Profile profile123 LimitFailed_login_attempts 2;--Modify the profile of the userAlter user Scott profile profile123;Ensure that the initialization parameter resource_limit is set to true to enforce resource limits
There is already a openjdk in the system, the default JDK is it, not the Oracle JDK, do the following to set the Oracle JDK as the default!First, let's say we've installed and configured the Oracle JDK, but the "java-version" display in the shell is
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