How to plan the propagation process and/or application
Hi allIs it possible to predict the spread and application during the Oracle Streams configuration?, I mean, I don't want to run replication online because I have other object outside the Oracle who need to reproduce within the db to get my aplication (red only) in sync.
So, when I can do? Here is an example of process apply and spread:
BEGIN
DBMS_STREAMS_ADM. () ADD_SCHEMA_RULES
schema_name = > 'shm '.
streams_type = > 'apply ',.
streams_name = > 'apply_from_db1 ',.
queue_name = > "strmadmin.from_db1"
include_dml = > true,
include_ddl = > true,
source_database = > "db1.world"
inclusion_rule = > true);
END;
/
.....
BEGIN
DBMS_STREAMS_ADM. () ADD_SCHEMA_PROPAGATION_RULES
schema_name = > 'shm '.
streams_name = > 'db1_to_db2 ',.
source_queue_name = > 'strmadmin.captured_db1 ',.
destination_queue_name = > '[email protected] ',.
include_dml = > true,
include_ddl = > true,
source_database = > "db1.world"
inclusion_rule = > true,
queue_to_queue = > true);
END;
/
Perhaps, am I is not clear to my question, or maybe I do everything in the bad sense on propagation processes and the workflow application.
So, I looked in all the documents available and I can't find how to plan the process... What is the part that I am missundertanding?
As long I have it other non Oracle objects (system files objects, we say that some objects in ECM file system related with data) to replicate with the data schema, I can't replicate any changes to the schema of the source table to the schema database of fate (automatically). So, I'm replicated ECM file systems objects in other external tool (with build-in Windows Calendar integration)... but how I can program spread and/or application treats in the middle of stream 2-way?
Please, I need a hint of someone as soon as possible.
Thanks in advance.
Your question is not very clear, so here's what you need to know abot schedules DBMS_STREAMS_ADM and spread:
The schedule is done automatically when you add the spread with DBMS_STREAMS_ADM.
This API DBMS_STREAMS_ADM encompass several other APIs:
-DBMS_CAPTURE_ADM,
-DBMS_RULE_ADM
-DBMS_APPLY_ADM
-DBMS_PROPAGATION_ADM.
-DBMS_AQ_ADM
This DBMS_STREAMS_ADM is supposed to make things easier, but it takes an important definition default values, so that you see all the actions that are performed as they are done quietly behind the scenes.
The establishment of the regular spread is on of these silent setting and the time that occurs with a never ending cycle to wake up/run/sleep.
The duration of sleep between 2 execution is defined by DBA_QUEUE_SCHEDULES. LATENCY
From the spread itself, it's a job. When the next execution is set to null, he reschedule itself, like an endless loop.
Here's how the job will appear:
set embedded on
set heading on
set feedback off
set linesize 162 pagesize 0
col fail format 999 heading 'Errs'
col broken format a3 heading 'Bro|ken'
col sess format 9999 heading 'Ses'
col jid format 999999 heading 'Job|Id'
col subu format a10 heading 'Submitter' trunc
col secd format a10 heading 'Security' trunc
col proc format a30 heading 'Job' word_wrapped
col lsd format a10 heading 'Last|Ok|Date'
col lst format a5 heading 'Last|Ok|Time'
col nrd format a10 heading 'This|Run|Date'
col nrt format a5 heading 'This|Run|Time'
col fail format 99 heading 'Err'
col proc format a50 heading 'Job' word_wrapped
col secd format a10 heading 'Security' trunc
select job jid, log_user subu, priv_user secd, what proc,
to_char(last_date,'DD/MM/YYYY') lsd,
substr(last_sec,1,5) lst,
to_char(next_date,'DD/MM/YYYY') nrd,
substr(next_sec,1,5) nrt,
failures fail,
decode(broken,'Y','Y','N') Broken
from sys.dba_jobs;
prompt
Last Last This This
Job Ok Ok Run Run Bro
Id Submitter Security Job Date Time Date Time Err ken
------- ---------- ---------- -------------------------------------------------- ---------- ----- ---------- ----- --- ---
55 SYS SYS next_date := sys.dbms_aqadm.aq$_propaq(job); 27/11/2009 16:19 N
Now, this work is performed in a session, always the same, which performs the actual transfer of waiting by using the global name DB link to target the area. You can check which session with the following queries:
set linesize 125
prompt
set linesize 150
col queue_name HEADING 'Source|Queue Name'
col queue_schema HEADING 'Source|Queue Owner'
col dblink format a34 head 'Destination|Database Link'
COLUMN SCHEDULE_STATUS HEADING 'Schedule Status' FORMAT A23
COLUMN PROPAGATION_NAME Heading 'Propagation|Name' format a25 wrap
COLUMN START_DATE HEADING 'Expected |Start Date'
COLUMN PROPAGATION_WINDOW HEADING 'Duration|in Seconds' FORMAT 9999999999999999
COLUMN NEXT_TIME HEADING 'Next|Time' FORMAT A8
COLUMN LATENCY HEADING 'Latency|in Seconds' FORMAT 9999999999
COLUMN SCHEDULE_DISABLED HEADING 'Status' FORMAT A8
COLUMN PROCESS_NAME HEADING 'Schedule|Process|Name' FORMAT A8
COLUMN FAILURES HEADING 'Number of|Failures' FORMAT 99
COLUMN LAST_ERROR_MSG HEADING 'Error Message' FORMAT A55
COLUMN TOTAL_BYTES HEADING 'Total Bytes|Propagated' FORMAT 9999999999999999
COLUMN CURRENT_START_DATE HEADING 'Current|Start' FORMAT A17
COLUMN LAST_RUN_DATE HEADING 'Last|Run' FORMAT A17
COLUMN NEXT_RUN_DATE HEADING 'Next|Run' FORMAT A17
COLUMN LAST_ERROR_DATE HEADING 'Last|Error Date' FORMAT A17
COLUMN LAST_ERROR_TIME HEADING 'Last|Error time' FORMAT A12
column message_delivery_mode HEADING 'Message|Delivery|Mode'
column queue_to_queue HEADING 'Q-2-Q'
col destination format a50
col sid for a4
col tot_k for 999999999999 head 'Total |Sent (Kb)' justify L
prompt
prompt When the duration is NULL, the propagation is active
prompt When the next time is NULL, the propagation job is currently running
prompt
SELECT substr(session_id, 0, instr(session_id,',')-1) sid ,
p.propagation_name,TO_CHAR(s.START_DATE, 'HH24:MI:SS MM/DD/YY') START_DATE,
s.PROPAGATION_WINDOW, s.NEXT_TIME, s.LATENCY,
DECODE(s.SCHEDULE_DISABLED, 'Y', 'Disabled', 'N', 'Enabled') SCHEDULE_DISABLED,
(select value/1024 from v$sesstat x, v$statname y
where x.STATISTIC# = y.STATISTIC# and y.name = 'bytes sent via SQL*Net to dblink'
and x.sid=substr(session_id, 0, instr(session_id,',')-1) ) tot_k
FROM
DBA_QUEUE_SCHEDULES s,
DBA_PROPAGATION p
WHERE p.DESTINATION_DBLINK = NVL(REGEXP_SUBSTR(s.destination, '[^@]+', 1, 2), s.destination)
AND s.SCHEMA = p.SOURCE_QUEUE_OWNER
AND s.QNAME = p.SOURCE_QUEUE_NAME
and s.message_delivery_mode='BUFFERED' and session_id is not null
order by propagation_name ;
select p.propagation_name, s.message_delivery_mode,
s.FAILURES,
p.queue_to_queue,
s.LAST_ERROR_MSG
FROM
DBA_QUEUE_SCHEDULES s,
DBA_PROPAGATION p
WHERE
p.DESTINATION_DBLINK = NVL(REGEXP_SUBSTR(s.destination, '[^@]+', 1, 2), s.destination)
AND s.SCHEMA = p.SOURCE_QUEUE_OWNER
AND s.QNAME = p.SOURCE_QUEUE_NAME
order by propagation_name,s.message_delivery_mode ;
SELECT p.propagation_name, TO_CHAR(s.LAST_RUN_DATE, 'HH24:MI:SS MM/DD/YY') LAST_RUN_DATE,
TO_CHAR(s.CURRENT_START_DATE, 'HH24:MI:SS MM/DD/YY') CURRENT_START_DATE,
TO_CHAR(s.NEXT_RUN_DATE, 'HH24:MI:SS MM/DD/YY') NEXT_RUN_DATE,
TO_CHAR(s.LAST_ERROR_DATE, 'HH24:MI:SS MM/DD/YY') LAST_ERROR_DATE,
LAST_ERROR_TIME
FROM DBA_QUEUE_SCHEDULES s, DBA_PROPAGATION p
WHERE p.DESTINATION_DBLINK =
NVL(REGEXP_SUBSTR(s.destination, '[^@]+', 1, 2), s.destination)
AND s.SCHEMA = p.SOURCE_QUEUE_OWNER
AND s.QNAME = p.SOURCE_QUEUE_NAME order by propagation_name;
If you want to change the lag time, you can use this:
-- adapt following your needs, defineds $prop (propagation name) and $latency (value in secs, usually 1 or 3 or 5) :
col DESTINATION_QUEUE_NAME new_value DESTINATION_QUEUE_NAME noprint
col DESTINATION_DBLINK new_value DESTINATION_DBLINK noprint
col source_queue_name new_value source_queue_name noprint
select SOURCE_QUEUE_NAME, DESTINATION_QUEUE_NAME, DESTINATION_DBLINK from SYS.DBA_PROPAGATION where propagation_name = upper('$fprop');
set serveroutput on size 9999
col cmd new_value cmd noprint
execute DBMS_AQADM.ALTER_PROPAGATION_SCHEDULE( queue_name => 'STRMADMIN.&source_queue_name', destination =>'&DESTINATION_DBLINK', destination_queue=>'&DESTINATION_QUEUE_NAME', latency=>$latency, duration=>null, next_time=>null) ;
Tags: Database
Similar Questions
-
I have recently upgraded to Windows 8 Professional.
A question that I have, is that whenever I try to open a PDF document, it always opens in a new window dedicated, with a totally black background.
Is it possible to open PDF documents on the desktop, so I can see the content PDF, on the same page as all my other apps open?
Under earlier versions of Windows, can I go to the start menu, then select all applications, and they are listed in the form of office, as all my other applications already open.
In Windows 8 Professional, I have not found a way to reproduce this behavior again!
It keeps taking me to a completely different screen. The one who looks like he could have been created for use with tablets.
I hate this behavior on my regular PC and want to know if there is a way to use the old and classic views.
I don't want to open the application menu in a separate window.
So, two questions: 1) is there a way to open the PDF documents in the current working window? (2) is there a way to disable the display of screen separate application and return to the old start menu request window, in the current working window?
On Monday, may 27, 2013 18:15:57 + 0000, n01d3a wrote:
Although I think it's nice that Microsoft has included a program to read pdf files I still prefer the original program, and one that we are probably most familiar with Adobe reader.
Not to argue with you or pretend that you are wong, but I wanted to
offer a different point of view. Although Adobe Reader is the most
popular such program, it is not the only one. It is not one that suits,
in my opnion. I prefer and recommend Foxit Reader, also free,
http://www.foxitsoftware.com/Secure_PDF_Reader/ -
Adobe Acrobat Reader DC (15.010.20056) update automatically. I'd rather have the possibility to download and install or not. How to disconnect the automatic process?
Hi steveg83673202,
You cannot change the preferences of update for Adobe Acrobat Reader DC. KB doc. for reference Adobe Reader and Acrobat updater settings | DC, XI
Kind regards
Nicos
-
How to export a single job Disqualification as well as the related processes and data warehouses
Hello
I'm new to OEDQ. May be that it is a fundamental issue. But I am not able to find any way. Help, please.
I use OEDQ version9 and installed locally in my system. I prepared a working with a CSV file as source and used some transformations of control (data type, control the length) in my process ( I've also enabled publish it on the dash for this process option) to prepare the work.
Then I took the export of .dxi of employment by right-clicking on the name of the job and by selecting the package.
But when I import this package dxi to another machine is not able to find the related processes and then I am unable to run the TASK.
Now, is it possible in OEDQ where I can take export a JOB with connections and related processes?
Kind regards
Samira
It is normally easier to pack the whole project, but for any object, you can filter a project first and then package it. To do this for a job, right-click on the task and select filter of dependence - elements used by the selected item. Then package the filtered project - this upward work package manager and all other dependencies (data banks, data interfaces - you won't have to 9.0), snapshots, data staging, refer to data, process etc..) The same works for other objects and processes.
I would note that since three version major 9.0 so you are encouraged to use a newer version if possible.
-
When I plan the registry defragmentation and compaction on my Asus computer and restart it to all it will do is start the process as my computer starts and then it passes all of the hives. How can I fix it. I am using windows 7 Home premium 64-bit.
Original title: compacting registry
to activate the registry defragmentation and compaction: go to start then run, type msconfig and click on the Startup tab.
Choose Safeboot (mininimal), and then restart the computer.
The computer will restart in safe mode, just let it run through the process; If you have a regular dskchk, let this race as usual and let the computer restart, the reg defragmentation etc, should operate normally after that. Remember once the computer has restarted in safe mode and you're on the office just repeat the msconfig but uncheck the boot in the safe mode option, and then restart Windows normally.
-
How to set the blog <; title >; and <; meta description = name
I put in
-Site Manager-> Module Templates - > Articles-> presentation of Blog Post details the following:
at the top, with the tags < / body > and < / html > downstairs.
< html >
< head >
< title > {tag_blogpostmetatitle} < /title >
< name meta = "description" content = "{tag_blogpostmetadescription}" / >
< / head >
< body >
< div class = "container" >
< div class = "row" >
and the rest of the body
and at the end of the background:
< / body >
< / html >
______________________
Blog-model: no title and meta description tags
<! DOCTYPE html >
< html >
< head >
<! - base - >
< meta charset = "utf-8" / >
no title tag or description of the blog model
<! - Mobile Metas - >
< name meta = "viewport" content = "width = device-width, original scale = 1.0" / > "
<! - web fonts - >
" < link href =" http://fonts.googleapis.com/css?family=Open+Sans:300, 400, 600, 700, 800% 7CShadows + in + clear "rel ="stylesheet"type =" text/css"/ > "
<! - seller CSS - >
"< link rel ="stylesheet"href="/vendor/bootstrap/bootstrap.css "/ >
"< link rel ="stylesheet"href="/vendor/fontawesome/css/font-awesome.css "/ >
- job description do not see. the title is not the title of the post is the name of a blog.
-J' missed something please notify
Thank you
You just need to check what you will.
http://www.stagingconnections.com/events/how-to-plan-the-perfect-outdoor-event-safely-part - 1
Nothing wrong with BC and works. As I said - check your markup and avoid doing the things of html in the editor in admin.
-
I just bought an iphone 6 s second part and I got home put my SIM in there turn it on you try to start the activation process and he says that the phone is lock icloud, I tried calling get him etc. but he gave me the wrong information and I called apple, they said that its nothing they can do without evidence of perchise im broke I spent all my money on the phone, does anyone know any software free or something me please txt to 9102612856
@Santonio99
You probably bought an iPhone stolen 6. Mine was stolen in Barcelona in Spain on June 10 by a pick-pocket. Fortunately, there is absolutely nothing you can do to make an iPhone locked to the activation of the work. You have a paper weight.
-
Satellite A30 - 504 - how to remove the old HDD and new mount?
Hello
I have problem with my laptop satellite. After the turn on I've got Announces s.m.a.r.t. disk is damaged.
I do not have it is why I do not know how to remove the old HDD and replace the new statement.
I will be grateful for the help.Hello
Looking first for similar discussions in this forum? I guess that you didn t ;)
The advanced search option is very useful and you can search for single yarn that could help you.I found this:
http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=12526&MessageID=45688and this
http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=12547&MessageID=45752
It seems that the hard drive on your A30 is in the optical drive, and you must remove all first the STRANGE before you get access to the HARD drive.
Best regards
-
Printer all in one HP3520 - how to select the wireless network and enter the WEP key?
According to print my wireless network is detected.
How to connect the! @# % printer $ fo the wireless network and enter the WEP key?
Instructions on the HP site tell me to selet NETWORK on the printer control panel. Well, there's a way to select the NETWORK from the control panel. It is not an option for him.
I downnloaded and installed the latest drivers.
I have restored the default settings.
How to select the wireless network and enter the WEP key?
All of HP's instructions seem to be for a newer printer with a touchscreen.
I want that the printer is connected to my main computer via the USB port. I want to be able to print wireless phones and tablets.
My 3520 is not a 'touch Screen' and it has wifi.
However, the following work:
Try to open the HP Deskjet 3520 icon, open the utilities tab, click on convert USB wireless, by following the steps on the screen.
This leads me to believe that ONLY the wireless doesn't work. I know now that the part of the sentence "Convert USB to wireless connection" is supposed to mean "works like USB and wireless.
Thank you for your help
-
How to change the secret question and the answer if I've forgotten my email to rescue?
You have to ask Apple to reset your security questions. To do this, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.
(137073) -
How to find the value max and min for each column in a table 2d?
How to find the value max and min for each column in a table 2d?
For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.
Thank you
Chuck,
With color on your bars, you should have enough experience to understand this.
You're a loop in the table already. Now you just need a function like table Max and min. loop. And you may need to transpose the table 2D.
-
When you install windows 95, which is the executable that launches the installation process, and where it is located?
The file is setup.exe. Depending on your version of Windows 95 CD, it could be in the WIN95 folder or in a subfolder of WIN95.
If you have more Windows 95 questions, great places to get responses are microsoft.public.win95.setup and microsoft.public.win95.general.discussion newsgroups. It is a Windows XP forum.
-
How to restore the factory its and 2004 ibm netvista
How to restore the factory its and 2004 ibm netvista
Hello
I suggest you contact your computer manufacturer (IBM) support site, about the factory restore.
http://www-947.IBM.com/support/entry/portal/overview
Note: make sure you take the backup of any important data before you perform the restore to factory on the computer.
-
How to upgrade the audio, video and game controllers on Windows XP Home Edition?
Original title: SoundMAX Integrated Digital Audio
How to upgrade the audio, video and game controllers on Windows XP Home Edition?
I need SoundMAX Integrated Digital Audio
Hello
Why you trying to update the audio, video and game controllers?
The following steps may be helpful:
1. open the Device Manager.
2. Locate the audio, video and game controllers and expand it.
3 click the sound card, and then click Update driver.
For more information: http://support.microsoft.com/kb/283658
-
How to reformat the hard drive and do a "clean" install
A recent virus attack, my computer has lost some files of the operating system. With the help of the Lim has provided the recovery disk, which offered ' upgrade/repair' or a 'new installation '. I chose ' install new ', actually I found many of my files are still there - that means that if a virus has escaped "Detection / removal" will always be there.
Question: How to reformat the hard drive and do a 'fresh install' on a clean hard disk "? ". (I have a drive to Win XP with service pack 3 and a driver disk for the hardware installed on my computer of the regulations.)
Thanks in advance
Skip
Since you have a Dell and a recovery CD and not a recovery Partition, check how many partitions you need by using disk management:
http://www.theeldergeek.com/disk_management.htm
In case you have a partition with the operating system and a partition of the utility partition, I would only recommend formatting the partition from the OS. The Partition utility can be very useful.
Maybe you are looking for
-
Firefox does not open in full screen on the task bar and I have to go over it to see the web page.
-
Equium L10-300: white screen when turn on - nothing happens & displayed
Equium L10-300. Just when turn it on, nothing happens and nothing appears. Before power indicators are on but not the green power on light. I thought that the LCD screen was broken, but it turned itself off recently on a couple of opportunity (I gues
-
Firmware of switching of NOR-DAQmx Base on Linux to the USB-6221
Our Windows machines are locked - even as developers, we without administrator privileges. Which is updated from the impossible firmware via the Windows Device Manager. On the other hand, we have total control on our Linux machines. Is it possible
-
Function of memory in the loop control and Simulation - problem of the ODE Solver
Hello I'm correctly using the control loop & simulation to simulate the behavior of what is essentially a shock absorber-spring-mass system. In the process of change in time (dt) is used to integrate an arbitrary value. I use a rack depending on memo
-
Prevent caching on Playbook Soft
How can I stop my application to cache the remote scripting, json feeds etc? For development, I have install my application to load in the scripts remotely I can do a quick test. But caching is a problem. Updated - I discovered how to do this by addi