Oracle single table stream replication is completed. Due to the many steps of oracle stream operations, many problems have been encountered before,
Failed because I did not clarify my thinking or did not understand this. For important tables, stream replication is similar to the logging uard Application Log, master ser
Recently, because of the job needs, the boss asked the Oracle database on the server to migrate data to another server, I am not very familiar with Oracle, the migration of the database This is a matter of time spent, but also on the internet to inquire a lot of information. All kinds of moves are exhausted or not successfully migrated.Finally, the spirit of the dead horse as a live horse doctor, the
Oracle table organization and Data Replication
1. Copy the table structure and data to generate a new table:
Create table table_name_new as select * from table_name_old;
2. copy only the table structure:
Create table table_name_new as select * from table_name_old where 1 = 2;
Or: create table table_name_new like table_name_old
3. Copy table data only:
If the two tables have the same structure:
Inser
1. Subject design Dblink to soa-suite the premise is that the Dblink both sides have a separate interface table, the effect of migration is, by a mediator trigger event , after this event triggered by the BPEL part to capture this event, Within this BPEL component, the Dblink functions of logging, data reading, data conversion, and data writing are accomplished through the collaboration of Dbadapter (log parts, read parts, write parts). 2. Component Planning Mediater Trigger event BPEL completes
You may be running an Oracle 10g Release 2 database server, but supporting some applications may have been written very early. Data tables created prior to Oracle 8i typically have a long data type to store large text.
With the introduction of the large Object (LOB) data type, the long and long raw data types are discarded. If you are copying a data table that uses a Long data type, then using the CREATE t
You may be running an Oracle 10g Release 2 database server, but supporting some applications may have been written very early. Data tables created prior to Oracle 8i typically have a long data type to store large text.
With the introduction of the large Object (LOB) data type, the long and long raw data types are discarded. If you are copying a data table that uses a Long data type, then using the CREATE t
Tags: technical oracle Research PLSQL Test SRC Project Connection OutsourcingThe development of this side of the outsourcing project, previously built the development environment of the Oracle database, and later need to copy the development library to the test library. After a study, the steps are as follows:1. Build a test library on Oracle server first2. Use P
Database: SC _source and SC _dest
Requirement: Copy all objects under the product user in SC _source to SC _dest.
I. preparations:
1.1 place the SC _source and SC _dest databases in the archive Mode
1.2 if some tables do not have a primary key, configure secondary logs on the source database (SC _source) to ensure the accuracy of replication.
Alter database add supplemental log data (primary key, unique) columns;
1.3 Source: some para
repository control fileCp/oradata/dgbackup/xxx/xxx01.ctl/oradata/xxx/control01.ctl5. Start the standby repository for incremental recovery-----Start the database to NomountStartup Nomount;----Start the database to mountALTER DATABASE mount standby database;# #rman增量恢复Catalog start with '/oradata/dgbackup/inscndbkf ';Recover database Noredo;6. Start the standby copy application-----Start RecoverySqlplus/as SYSDBAALTER database RECOVER MANAGED STANDBY database USING current LOGFILE DISCONNECT fro
Tags: table copy keyword structure ACL here lin creat into select
1. 复制表结构及其数据:create table table_name_new as select * from table_name_old2. 只复制表结构:create table table_name_new as select * from table_name_old where 1=2;或者:create table table_name_new like table_name_old3. 只复制表数据: 如果两个表结构一样:insert into table_name_new select * from table_name_old如果两个表结构不一样:insert into table_name_new(column1,column2...) select column1,column2... from table_name_old
Stream is an extended application of Oracle's Message Queuing (also known as Oracle Advanced Queue) technology. Oracle Message Queuing resolves event management through publish/subscribe. Stream replication is just a data sharing technique based on it, or it can be used as a flexible and customizable high-availability scenario. It enables database-level, schema-l
, Informix, Oracle, Microsoft SQL Server, Sybase, ODBC, OLE DB, and so on. The other is a non relational wrapper, responsible for Flatfile, Excel, XML and other non relational data replication.
The wrapper defines a library that is responsible for communicating the local database to the remote database. The wrapper performs many tasks, such as: it can connect to the data source, and the wrapper applies the
/cddx/sysaux01.dbf', - '/u01/app/oracle/oradata/cddx/users01.dbf', - '/u01/app/oracle/oradata/cddx/example01.dbf' -*CHARACTER SET Al32utf8 +/Control file created. The state of the instance is automatically changed to mounted after you create it13. Now we are going to restore the database:Sql>recover database until Cancel14. Recovery may be error, if the error is to use REDO1 this log file for recov
Tags: Oracle replication Table Replication temporary table replication viewCreate a table new_table and old_table table structure (no old_table Records)CREATE TABLE new_table as SELECT * from old_table where 1=0;Create a table new_table and old_table table structure (with Old_table Records)CREATE TABLE new_table as SEL
the previous chapter (primarily the Oracle environment, where the previous replication environment has been purged) and set the environment as follows:
Source database Sid:jssweb, Target library: jssstr;
Copying objects in Schema:member, partially synchronizing DML, partially synchronizing DDL operations;
Local capture, one-way synchronization;
Dbms_streams_adm. Maintain_tables generate configuration s
Oracle advanced replication, also known as symmetric replication. Unlike Oracle's other features, Oracle's advanced replication is not Plug and play, and users must have a deep understanding of how they work and the advantages and disadvantages of various replication scenari
Tags: des http io using ar strong data Art spThe copy command enables the replication of data between different Oracle databases and enables data replication of the same database with the same performance and import/export.According to the 9i document, the Copy command will not be supported in the future, but in fact, Oracle
operations, the direct replication of the source Oracle database data into the target database, this way is faster, but the feeling is also error-prone, data import errors can continue to import other table data. Directly select a table from the source library, press CTRL + C, select the table in the target library, press CTRL + V to select the data tables, views, and so on to copy. 2.Navicat Export, impor
Iv. Clear Streams Replication environment
On the one hand is to facilitate the test environment behind the construction, on the one hand because the 10g streams replication environment is very simple to remove, so this is the last section of this chapter.
To remove the entire replication environment, simply log on to the Streams Administrator account on the sou
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.