Incremental synchronization of data in two databases
Oracle Database IP Address: 192.168.0.1 (source database), 192.168.0.2 (target database)
1. Create a TEST table in the source database
Create table TEST
(
Id number not null,
NAME VARCHAR2 (200)
);
create table TEST( ID NUMBER not null, NAME VARCHAR2(200));
2. Insert a data entry
Insert into test (ID, NAME) VALUES (1, '20140901 ');
Commit;
INSERT INTO TEST(ID,NAME) VALUES (1,'1111');commit;
3. Create a
Tags: int new ref rate tables Ora operation Postgre fontThe materialized view appears after PostgreSQL 9.3. Materialized views are made up of real data, which is fundamentally different from the general view. 1. The materialized view
How can I kill a suspended automatic Materialized View to refresh the job? Reference Original:How to kill a hung automated materialized view refresh job (Document ID 341842.1) Applicable:Oracle Server-Enterprise Edition-version 8.1.5.0 to 10.2.0.5 [release 8.1.5 to 10.2]Information in this document applies to any p
First, the basic concept of indexed viewsAn indexed view is actually a view that "materialized" a set of unique values into a clustered index, which is materialized almost as a table, and its data is stored in one copy (it consumes hard disk space, but the query is fast, for example, you can set count (), sum () in an
This article is the original article, reprint please indicate the source: http://blog.csdn.net/msdnchina/article/details/38782657 Impdp import Materialized View (MV) error: ORA-31685: Object Type materialized_view DB version 10.2.0.4The impdp command isImpdp sys/As dumpfile = Scott. dmp logfile = scott_imp_no_remap.logImport error:Processing object type schema_export/MATERIALIZED_VIEWORA-31685: Object Type
, (because this is a problem that can be solved by the view), found that the common view in fact with the establishment of a few tables of the connection relationship statement to query is the basic same time consumption.Later asked about the existence of materialized views, Oracle itself is also supporting materialized
Oracle dblinke+ materialized view the new requirement of synchronizing data items for two databases is to synchronize parts of the two Oracle databases, and now try several methods in the experimental environment, and then record the Dblink and materialized views synchronized data today. 1, configure the Tnsnames.ora file designated to the main database network
Build a Test tableCREATE TABLE T_table nologging as SELECT * from Dba_objects;create table T_table_1 nologging as SELECT * from Dba_tables;--Create a log recordCreate materialized view Log on t_table with ROWID, sequence (Object_name,object_type,owner) including new Values;create MA terialized View Log on T_table_1 with rowid,sequence (table_name) including new v
In query rewrite, we can see that this technology is inseparable from one thing, the materialized view, mview for short. this is the first Technology launched by Oracle in 8i. In addition to using query rewrite, mview also plays an important role in master-slave replication, here we are mainly concerned about query rewrite. Oracle is getting stronger and stronger in query rewrite. in Oracle 8i, it is basica
How to synchronize two databases in Oracle (using the materialized view) (Oracle snapshot instance)
How to synchronize two databases in Oracle (using the materialized view) (Oracle snapshot instance)
I. Technical Implementation DetailsUnless otherwise stated, the following SQL commands are run under the SYSETM use
1 Preparation work
1.1 Check Initialization parameters
Confirm that the gloal_names is true,job_queue_process greater than 0. Perform the following two Sqlplus commands at both the primary and materialized view sites to check that database initialization parameters meet the requirements.
Show Parameter Global_names
Show parameter Job
If the initialization parameter setting does not meet the requirement
Two Oracle 10g databases to synchronize data with materialized views in a specific implementation process
Source Library is 192.168.1.81
Target Library is 192.168.1.96
The server used for the statistics library is 81
Create a read-only user snap_query on the Statistics Gallery 81 for querying
Conn/as SYSDBA
Create user snap_query identified by snap_query
Default Tablespace users
Temporary tablespace temp;
Grant connect to Snap_query;
Gr
How to synchronize two databases in Oracle (using the materialized view) (oracle snapshot instance) I. Technical implementation details unless otherwise specified, the following SQL commands are run under the SYSETM user of the database ora_db2. Assume that you want to copy (or synchronize) all user db1 tables in database ora_db1 on the other server. 1. Create a database connection (dblink) 1.1 used to conn
Impdp import Materialized View (mv) error: ORA-31685: ObjecttypeMATERIALIZED_VIEW
This article is the original article, reprint please indicate the source: http://blog.csdn.net/msdnchina/article/details/38782657
Impdp import Materialized View (mv) error: ORA-31685: Object type MATERIALIZED_VIEWDb version 10.2.0.4
The i
Impdp import Materialized View (mv) error: ORA-31685: Object type MATERIALIZED_VIEW, impdpora-31685
This article is the original article, reprint please indicate the source: http://blog.csdn.net/msdnchina/article/details/38782657
Impdp import Materialized View (mv) error: ORA-31685: Object type MATERIALIZED_VIEWDb vers
Materialized View and job timed update example -- create test table create table test_dm_rep_m_gw_user as select * from dm_rep_m_gw_use t where t. month_no
Tags: art limited to_date zed LIS creat rom Upper testI. Creating a remote materialized view log SOURCE side: CREATE materialized VIEW LOG on Tozwdb.test tablespace tozwdb_data with ROWID; Ii. Rights of payment Target Library Create user tozwdb identified by Tozwdb_dev;Grant create session to TOZWDB;Grant resource to t
In the materialized view test manual, the view is an SQL statement that requires two-way data synchronization when data changes are small and data needs to be used twice, the execution plan must be re-generated and re-executed for each query.
In the materialized view test ma
Label:first, the basic concept of indexed views An indexed view is actually a view that "materialized" a set of unique values into a clustered index, which is materialized almost as a table, and its data is stored in one copy (it consumes hard disk space, but the query is fast, for example, you can set count (), sum (
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.