What is the solution to this very difficult replication scenario?
We develop an integration for a customer solution. Client is in the medical industry.
Scenario is the following:
(1) there are 26 different DBs in 26 different servers. Say 1 MED... 26.
(2) it is an integration of DB on a separate server: say INT0
(3) every MED DB will have a table named TABLE1.
(4) you must read the inserts to the table and to treatment and introduce to the common table of queue (called QUEUE0) in INT0 DB.
(5) we can create all the DB objects in DBs MED. We have access to these only by using the links to the DB.
My solution:
(a.) create links of 26 DB in the INT0 server.
(b) to create 26 MVs Server INT0 SCHEMA1.
Mv_med1 CREATE MATERIALIZED VIEW
BUILD IMMEDIATELY REFRESH to START WITH (SYSDATE) NEXT (SYSDATE + 1/1440) WITH rowid
AS SELECT * FROM table1@dblink_med1;
Thus, SCHEMA1 of INT0 DB will have 26 MVs pointing to 26 tables in 26 different DBs.
(c) now, I create an insert after outbreak in each of the 26 VM.
CREATE OR REPLACE TRIGGER trg_mv_med1
AFTER INSERT ON mv_med1
FOR EACH LINE
BEGIN
INSERT SCHEMA1. QUEUE0 VALUES (: NEW.pk,: NEW.remarks);
END;
(d) it works. This is, whenever the refresh occurs, all THE ROWS are inserted in the MV. So I get the lines in the table QUEUE0.
What is the solution to this type of problem?
I read on DBMS_SNAPSHOT. I_AM_A_REFRESH, but I do not understand how it works?
We cannot create a MV connects patterns MED being customer policy.
Any solution to this problem would be greatly appreciated?
In general no. When there is a problem on the network and link DB is not workning then write data to the exception handler table using the same DB connection will fail again. You need to connect to a local table in DB MEDx. Create a job that to copy table data of the local error log of MEDx DB DB INT0 regular interval.
If I were you I write all data to the local tables - it's safer and faster (no distributed transaction and no two-phase commit).
Then create jobs that periodically copy data from local INT0 DB tables.
Tags: Database
Similar Questions
-
I have a lenovo computer. I began as routine but unfortunately it says error:-what is media test failed error PXE - 61 and the error PXE - MOF? What is the solution for this error? It's a lenovo with windows desktop computer? How do I prevent this.
Kala
Hello Mohan,
· You did changes to the computer before the show?
These errors often occur if there are incorrect BIOS (Basic Input\Output System) settings.
Method 1: Check if the computer startup options are changed in the BIOS. You can set the hard drive as the first boot device. In addition, make sure that this option "Wake on LAN" or one similar to it is off.
Method 2: Load default BIOS (Basic Input\Output System) settings, and then restart the computer.
Important : Change/update BIOS can be a complicated process, and if an error occurs, your computer could be rendered inoperative. Be sure to observe the instructions of the manufacturer.
-
whenever I send a mail via Internet explore, the message fails to pass and I get a saying of window, that microsoft Outlook has stopped working and the system tries to the solution but in vain, no resolution, I need your support online
Hello
-Did you change on your computer due to which the question has begun?
-What operating system is installed on your computer?
-What version of Outlook and Internet Explorer are you using? -
FF15 - what is the solution for this JavaScript TypeError?
After FireFox update (15) "JavaScript Application TypeError: cannot access object dead" during private eyebrows: see screenshot http://gyazo.com/c3c6cd95d2574842f9280f7fdd61114b
- Funny D... Just got this error-> Image
Disabled dragdropupload 1.9.38 and... Hellaluja! So far so good...
One last question: fact FF auto update checker are looking for updates on the disabled modules?
-
my title is best question exlpanation
Hi risacond,
Thanks for posting your query in Microsoft Community.
I understand from the information you have provided to us, you are facing problems with Windows Explorer.
I will certainly help you in this matter.
Follow the steps in the link.
Error: Windows Explorer has stopped working
http://support.Microsoft.com/kb/2694911
If you face problems more when working with Windows Mail on the Microsoft Community Forum.
-
I have a 4TB vdisk and it occupies space is 2 TB and the remaining space is free but it is very slow, what could be the possible reasons and give the solution for this
Assuming that you are talking about disk space from in the guest OS. You are probably using an MBR partition table, which limits the maximum usable disk space to ~ 2 TB. In order to use the entire disk space, you need a GPT partition table.
André
-
EventID: 1206 Event Source: Active Directory Web Services ADWS failed to determine whether the computer is a global catalog server. What will be the solution for this.
Hi K jtm,.
Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum. You can follow the link to your question:
http://social.technet.Microsoft.com/forums/en/category/WindowsServer/ -
My laptop Inspiron 1420 PBDS DVD +-RW DS - 8W1P ATA Device failed... What is the solution?
I'm not very good w / computer stuff... appreciate any guidance or advice in simple terms. Already did system restore, tried to uninstall/reinstall, but still not ok...
Moreover, already done BIOS diagnostics/reboot... still persistent.
When I click on the device mngr, properties, under the State, he said:
This device cannot start. (Code 10)
I did the above process several times already
???
Message edited by cyke_jene on 06/25/2008 08:42
-
Just upgraded to the new version and now adjust no longer works, what is the solution?
After the upgrade to a newer version the shrink to fix the width of the screen no longer works. What is the solution?
Code changes for the HiDPI landed in Firefox 22 and later (bug #844604).
You can change the layout.css.devPixelsPerPx and increase or decrease the value of 0.1 or 0.05 as follows to adjust the size of fonts and other elements in Firefox.
- The layout.css.devPixelsPerPx pref is a string parsed in float value and allows you to adjust the dimensions of all elements (user interface and web pages) specifically (resolution 0.1 or 0.05).
- You can use values between 0.05 and 1.0 to reduce the size of the elements or use a value greater than 1.0 to grow and enlarge the elements (percentage divided by DPI, % / DPI).
If the web pages must be adjusted after changing this pref so you can watch Default FullZoom Level or NoSquint.
- Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
- NoSquint - https://addons.mozilla.org/firefox/addon/2592
Also see this MozillaZine forum thread: 22 FX makes look all too big night?
-
I just updated my new iOS 9.2 iphone6s
the music worked fine until this update. Now apple musicis landing on a girl photo pic... not to go forward.
Impossible to play songs. What is the solution?
Have you tried music (double tapping the HOME button and then dragging the application music upwards) force the application to quit smoking?
Have you tried to do a hard reset of the iPhone (now the HOME button and POWER until the Apple Logo appears)?
Have you tried recording of your Apple ID in the music app and then again?
You have disconnected your Apple ID in the settings of the iPhone, then check back-probably as a last resort as the biggest pain to wait as all back to normal.
-
What window updated each time showing error code 00000646 nearly a month what is the solution
What window updated each time showing error code 00000646 nearly a month what is the solution
Thank you
msiddique
Gives it a try and see if it solves the problem.... http://support.Microsoft.com/kb/2258121
Let us know if this helped
-
Error message States "D:\setup.exe is not a valid Win32 application"... What is the solution to allow me to install my TurboTax program?
Maybe a cd damaged?
Hello
· What is the service pack installed on your computer?
There are changes that the CD is damaged. You can copy the file to install it on the computer and then try to install the application, and check.
To install TurboTax, the condition of basic system for Windows is:
Minimum system requirements
Processor: 1 GHz 32-bit (x 86) or faster processor
Operating systems:
Windows XP (32-bit) Home edition or professional with Service Pack 3 or higher; or
Windows Vista (32 - bit and 64 - bit) Home Basic/Home Premium/Professional/ultimate; or
Windows 7 (32-bit and 64-bit).
Administrator rights required to install and use TurboTax.
RAM: 512 MB RAM (1 GB recommended)
Hard drive space *.
* Must be on the same drive that TurboTax is installed on
· Federal products: 500 MB for TurboTax (plus up to 1.5 GB for Microsoft .NET 4 if not already installed)
· Products from the States: 15 MB
· Federal more State products: 515 MB for TurboTax (plus up to 1.5 GB for Microsoft .NET 4 if not already installed)
Reader of CD-ROM: 2 X CD-ROM drive
Monitor: recommended 800 × 600 resolution (1024 × 768) screen
Internet access (required):
Modem 56 Kbps (connection broadband recommended)
Other software:
· Microsoft .NET 4 (included with TurboTax Installer)
· Adobe Reader 8 +.
Printer: Windows compatible ink jet or laser printer
Hope this information is useful.
-
I am trying to install windows xp from the disk, but it hangs during the installation process. no error code. It just hangs. What is the cause and what is the solution?
Hello
1. at what stage of the installation, the computer crashes?
2. what operating system was installed on your computer prior to this?
If you have the similar problem as mentioned in these links, you can follow these links and check if the problem persists:
Windows XP Setup stops responding (hangs) during the "Preparing Installation" phase
Windows XP does not meet the Message "Setup starts Windows XP"
Hope the helps of information.
-
Windows Media Player11 won't burn CD (O/s Windows XP home) said I need a burnner, when I use another burnner program, it uses the burnner installed in my p/c. What is the solution? Tried all the easy fixes. IMAP burning is on auto. (services.msc) what's next?
Hello
1 how long have you been faced with this problem?
2 do you have you can all changes on the computer before this problem?
3. What is the full and exact error message?
4 have. what troubleshooting steps you tried?(1) check that the CD burner is properly connected.
(2) wipe the drive and check that it is not damaged.
(3) try a different brand of blank discs.
(4) if another program is currently burning files on the CD, wait for the burning process is finished.
(5) quit other programs that may be using the CD burner.
(6) restart Windows Media Player.
7-restart your computer.
(8) try to run the fix it tool to the article below and check.
Your CD or DVD drive cannot read or write media
http://support.Microsoft.com/mats/cd_dvd_drive_problems/
(9) uninstall all third-party CD/DVD burning software and check.
http://support.Microsoft.com/kb/307895 -
Direct Mail 0 error 80004005 x prevents the reception of e-mail. What is the solution?
Direct Mail 0 error 80004005 x prevents the reception of e-mail. What is the solution?
Hello
The question you have posted is related to Windows Live mail. This is why it would be better suited in the Windows Live community. Please visit the link below to find a community that will provide the best support.
Maybe you are looking for
-
SMB works don't upgrade any more after 6.5.0
After having upgraded my ReadyNas, I can't access any of the SMB shares more. I backed up all the data, reinstalling the OS, performed a factory reset and recreated the actions. I also deleted all focus on the NAS Windows ID on my computer, with no r
-
Save all data acquired by data acquisition
Hi all I have a problem when I tried to record all the data acquired by the DAQ card. My DAQ is NEITHER 6259, and the version of Labview is 2009. Basically, what I do use several channels to get different point tensions, then subtract values of both
-
can I print as shown office?
-
BlackBerry personal passport, work Z30 - Questions before I make begins.
My Q is on how to better implement my new passport (personal Sim) with Z30 (working Sim). GOAL - have all things running through my passport (personal Sim) any transfer of calls to Z30 (Sim works) because I only use calls for communication with the w
-
p.137 book of Aaron Woland, entirely of distributed deployment "The maximum number of NHPS that may be associated with the PAN + combined MNT in the deployment of four nodes, is five Ssnp, which makes deployment of seven nodes." If my interpretation