Oracle 11g Data Guard Broker operation notes
I. Settings
1. Set broker
2. operate on the master database
DGMGRL> help
DGMGRL> help create
DGMGRL> create configuration c1 as primary database is PROD1 connect identifier is PROD1;
DGMGRL> help add
DGMGRL> add database dg as connect identifier is dg;
DGMGRL> help enable
DGMGRL> enable configuration;
DGMGRL> help show
Label:Server System for Windows R2 64-bit, because the C disk space will be full, to the C-disk of the Oracle DBF data file to migrate to the D disk, the steps are as follows:1. Enter CMD to start the Cmd.exe window2. Enter Sqlplus/nolog3. Input conn Sys/[email protected] as Sysdba4. Enter sql:select name from V$datafile;View the relevant data file storage path5.
installationOracle under Linux is in a running state after installation is complete. After restarting the machine, Oracle does not add Oracle to the Windows service as it did under Windows, and the Orcle service needs to be started manually under LinuxUnder Oracle User, execute the following commandEnter Sqlplus$ sqlplus/nologConnect to the database as SYSDBA an
Sysdba sql*plus:release 11.2.0.3.0 Production on
Sun June 25 16:07:3 3 2017
Copyright (c) 1982, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition release 11.2.0.3.0-production with
the partitioning, OLAP, Data Mining and real application testing options
sys@priocm> Select Db_uniqu
failedora-01200:actual file size of 128679 Issmaller than correct size of 340480BlocksOra-01110:data file 2: '/HOME/ORADATA/POWERDES/SYSAUX01.DBF 'Workaround:DD if=/dev/zeroof=/home/oradata/powerdes/sysaux01.dbf bs=8192 count=1 seek=340480 ----------------------------------------------------------------------------------------------------------- -----Original Blog address: http://blog.itpub.net/26230597/viewspace-1484099/Hara Douglas Fir (MCHDBA)----
= (Hr_resume_qingdao)4, some Error recordsLocate the data fileERROR at line 1:Ora-01503:create Controlfile failedora-01200:actual file size of 128679 Issmaller than correct size of 340480BlocksOra-01110:data file 2: '/HOME/ORADATA/POWERDES/SYSAUX01.DBF 'Workaround:DD if=/dev/zeroof=/home/oradata/powerdes/sysaux01.dbf bs=8192 count=1 seek=340480 ---------------------------------------------------------------
switch to the primary role. Otherwise, confirm that the Redo app is started until the query results show to primary or sessions ACTIVE.
7. Switch the physical standby to the primary role
Execute the following SQL on the target physical standby:
Sql> ALTER DATABASE COMMIT to switchover to PRIMARY with SESSION SHUTDOWN;
Note: If the query results in step 1th are to PRIMARY, the WITH SESSION shutdown clause in the SQL statement can be omitted.
Pl/sql Procedure: Data reading of Clob field types in Oracle 11g
the database column of the LOB type stores only the locator, which points to the storage location of the large object.
manipulate LOB data with the Dbms_lob package. When reading data with an
In order to do the virtual machine, you need to the server 11g of the user's complete data out. The oracle10g on the virtual machine, directly exported, cannot be imported to the virtual machine.
So, try to export the data using a 10g client,
With command: Exp exoa/***** @exoa1 file=20100526.dmp grants=y full=y
After execution, the system prompts:
EXP-00008:
Flashback Data Archive (Flash back archive)The rollback information for the Undo table space Record, although it can provide a back-flash query, but for a long time, this information will be overwritten, in fact, as long as the transaction is submitted, they become an object can be overwritten, so often in the back-flash query, we will not find the undo block and received 1555 errors, 11G introduces the fla
Tags: Oracle 11g dataThis exception may occur because the exported user's table may have an empty data table.First of all:View: sql>show parameter deferred_segment_creation;If true, the parameter is changed to false;In Sqlplus, execute the following command: Sql>alter system set Deferred_segment_creation=false;Then: You can manually assign extent for
[From] Https://oracle-base.com/articles/10g/dml-error-logging-10gr2You need to record a specific record of errors in a large number of DML operations, and see that there are two scenarios, one of which is to use the bulk DML operation Bulk collect with the SAVE exceptions clause and then do the processing. A little cumbersome, do not want to use. Another option, then, is to keep the log ERRORS behind the DML statement.LOG ERRORS [into [schema.] Table]
, 2015 16:45:02
Oracle Cluster concepts and principles Oracle's three highly available cluster scenarios1 RAC (Real application Clusters)Multiple Oracle servers form a shared cache, and these Oracle servers share a network-based storage. This system can tolerate single-or multiple-machine failures. However, many nodes inside the system need high-speed netwo
)----Multiple instances to open a database• Stream----Multiple Oracle servers propagate transactions to one another• Data protection----The primary database to update the standby database Determine if it is a single instance Select parallel from V$instance; --NO Single InstanceSelect Protection_level from V$database; --Standby database protection, unprotected not protected SELECT * FROM dba_streams_administ
ASM file allocation in a disk group
Oracle ASM striping
Oracle ASM strip has the following two purposes:
Distribute the Server Load balancer across all disks in the disk group.
Reduces I/O latency
ASM strip is divided into coarse-grained strip and fine-grained strip. Coarse-grained strip is used as a disk group to provide load balancing, while fine-grained strip can reduce the I/O latency of a specif
16, 2015
How RAC works and related componentsOraclerac is a configuration-wide extension of multiple single instances, implemented by two or more nodes (instances) using a common shared database (for example, one database installs multiple instances and opens). In this case, each individual instance has its own CPU and physical memory, as well as its own SGA and background processes. Compared to traditional Oracle instances, there is a signific
ORACLE 11G from scratch-20141208, 11g-20141208
Section 1.3.6
It is used to store all the data of an object with an independent storage structure defined in a tablespace. It consists of one or more zones.
1. Data Segment
Used to store all
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.