Update is not reflecting in destination database using streams please help
We have two database (oracle9) DB1(src) and db2(dest) in windows 2000(prof) platform
1. The insert,Delete are working fine, when ever changes are made to the source it gets reflected in destination, but in case of update statement.only the source gets updated but not the destination.
Any suggestions..pls help?
As u are using oracle streams can u suggest me configuration for same.
I configured source instance as given below but i am getting error ora-4031(unable to allocate <> bytes of memory)
Database Mode = archive
Share_pool_size=52m &
share_pool_reseved_size= 5m (10% of share pool Area)
processes=500
parallel_max_servers=35
parallel_min_servers=1
job_que_processes=1
aq_tm_processe=1
global_name=true
Archive log mode =true
log_archive_dest_1 :='location =E:\oracle\archive1 reopen=30"
log_archive_dest_2 :='location =E:\oracle\archive2 reopen=30"
can u mail me
at [email protected]
Regards
Similar Messages
-
Updated Lightroom not booting on Mac 10.10.3, please help!
All,
I tried to upgrade Lightroom today and now my CC install has STB and will not boot. I'm using a Mac lappy running 10.10.3 and have gone through and removed everything and run the cleaner and still no love. I'm in a bind and need assistance STAT! Please advise!Hi Joshua,
Try signing out of the Creative Cloud Desktop application, then sign back in: helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
Let us know how it goes
Regards,
Pete -
Database updates are not reflected in JDO objects.
How to set time frame for sync up between database and cached JDO object?
I am using kodo JDO in a servlet container, and a command line application
will also updating database but these changes are not reflected in the
database. The __kodo.DataCacheTimeout__ is not working for me.Are you using the level-2 data cache? If not, then the
"DataCacheTimeout" property won't affect your application.
Does the application use a single long-lived PersistenceManager, and the
cached data you are seeing is from accesses in that PersistenceManager?
You could always get around this with periodic calls to
PersistenceManager.evictAll().
In article <c50efo$r7g$[email protected]>, dharmendra wrote:
>
How to set time frame for sync up between database and cached JDO object?
I am using kodo JDO in a servlet container, and a command line application
will also updating database but these changes are not reflected in the
database. The __kodo.DataCacheTimeout__ is not working for me.--
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Transactional Replication: Alter view changes are not reflect on Subscription database
Hi All,
we are configured transactional replication in our environment on sql server 2008 R2 , Yesterday I made a view alter on publisher database the view also present in replicated articles but unfortunately the changes not reflect in subscription, I already have
checked the : Replicate Schema change option in Subscription option its also true, there is not latency exist in replication monitor , i have checked the blocking on subscription and publication. one more thing I tested the changes on replicated table its
working fine
Please help me to fix the issue.
Regards,
Pawan Singh
ThanksHi Pawan,
According to your description, the alter on the view in publication doesn't be reflected in subscription database. As my analysis, the issue could be caused by that the distribution agent job doesn’t run after altering the view.
I make a test on my computer, and set up transactional replication to replicate tables and views. Firstly, when creating subscription, I set the distribution agent job ‘Run continuously’(as the screenshot below), and alter the view in publication database,
then the change is successfully reflected to the corresponding view in subscription database.
However, I also make another test with setting the distribution agent job ‘Run on demand only’(It is determined by you), and find that it is not reflected to subscription database unless I run the distribute agent job manually.
The distribution agent is used to read the updated transactions written to the distribution database and applies the change to the subscription database, so please check if your distribution agent job runs after you alter the view. If not, please run the
job and check if the issue still occurs.
Regards,
Michelle Li -
i have an iphone 4, i connect it to my laptop using the usb and then when connecting to itunes it says my phone is not up to date with itunes yet i cannot find an update 11.1 for my phones itunes? someone please help me.. kind regards
Itunes 11.1 is for your computer, not your iphone
It is required in order to sync with ios 7. -
How to update transaction data automatically into MySQL database using PI
Dear All,
With reference to subject matter I want a sincere advice regarding how to update transaction data automatically into MySQL database using PI. Is there any link available where I can get step-by-step process.
Ex: I have a MYSQL database in my organization. Whenever a delivery created in SAP some fields like DO Number, DO quantity, SO/STO number should get updated in MYSQL database automatically.
This scenario is related to updation of transactional data into MYSQL DB and I want your suggestions pertaining to same issue.
Thanks and Regards,
Chandra SekharHi .
Develop a sceanrio between SAP to Database system,When the data updates in SAP Tables read the data and update it in DATA Base using JDBC adapter,but there will be some delay in updating data in MySQL.
serach in sdn for IDOC-TOJDBC sceannario,many documents available for the same.
Regards,
Raja Sekhar -
Can not start the cluster database using srvctl
Created a RAC database with CRS.
When i start the cluster database with srvctl, it appears that the database is started (i made sure using srvctl status), but when i try to login to the database using sqlplus, i get a message 'connected to idle instance'. if i try to start the database from sqlplus, i get message 'requested INSTANCE_NUMBER is busy!.
any thoughts why i can not connect to the database using sqlplus after i start the database using srvctl?
I stop the database using srvctl and started using traditional sqlplus, it will start with out any problem.
what am i missing?check ur oracle_sid,also try to connect as sqlplus sys/****@prod as sysdba
may be this is due to improper setting of init.ora file.
and post ur sqlplus output here.
Thanks
Kuljeet Pal Singh -
Transport requests are not reflected in destination client
Hi,
I'm transporting a request contains the values from table
V_T510F_B Assign Pay Scale --> Currency from Developement to Quality but it is not reflected in Quality server?hi,
Please make sure that tables are not opened in both source and destinaiton server, as it will hold the locks on objects,
Seconldy , sometimes it takes few minutes to reflect on the target server, wait for sometime then check the changes,
Check the transport logs to make sure your request transported successfully.
Take the above precautions and reimport the request.
Regards,
SM -
Data is not replicated on target database - oracle stream
has set up streams replication on 2 databases running Oracle 10.1.0.2 on windows.
Steps for setting up one-way replication between two ORACLE databases using streams at schema level followed by the metalink doc
I entered a few few records in the source db, and the data is not getting replication to the destination db. Could you please guide me as to how do i analyse this problem to reach to the solution
setps for configuration _ steps followed by metalink doc.
==================
Set up ARCHIVELOG mode.
Set up the Streams administrator.
Set initialization parameters.
Create a database link.
Set up source and destination queues.
Set up supplemental logging at the source database.
Configure the capture process at the source database.
Configure the propagation process.
Create the destination table.
Grant object privileges.
Set the instantiation system change number (SCN).
Configure the apply process at the destination database.
Start the capture and apply processes.
Section 2 : Create user and grant privileges on both Source and Target
2.1 Create Streams Administrator :
connect SYS/password as SYSDBA
create user STRMADMIN identified by STRMADMIN;
2.2 Grant the necessary privileges to the Streams Administrator :
GRANT CONNECT, RESOURCE, AQ_ADMINISTRATOR_ROLE,DBA to STRMADMIN;
In 10g :
GRANT CONNECT, RESOURCE, AQ_ADMINISTRATOR_ROLE,DBA to STRMADMIN;
execute DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE('STRMADMIN');
2.3 Create streams queue :
connect STRMADMIN/STRMADMIN
BEGIN
DBMS_STREAMS_ADM.SET_UP_QUEUE(
queue_table => 'STREAMS_QUEUE_TABLE',
queue_name => 'STREAMS_QUEUE',
queue_user => 'STRMADMIN');
END;
Section 3 : Steps to be carried out at the Destination Database PLUTO
3.1 Add apply rules for the Schema at the destination database :
BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
schema_name => 'SCOTT',
streams_type => 'APPLY ',
streams_name => 'STRMADMIN_APPLY',
queue_name => 'STRMADMIN.STREAMS_QUEUE',
include_dml => true,
include_ddl => true,
source_database => 'REP2');
END;
3.2 Specify an 'APPLY USER' at the destination database:
This is the user who would apply all DML statements and DDL statements.
The user specified in the APPLY_USER parameter must have the necessary
privileges to perform DML and DDL changes on the apply objects.
BEGIN
DBMS_APPLY_ADM.ALTER_APPLY(
apply_name => 'STRMADMIN_APPLY',
apply_user => 'SCOTT');
END;
3.3 Start the Apply process :
DECLARE
v_started number;
BEGIN
SELECT decode(status, 'ENABLED', 1, 0) INTO v_started
FROM DBA_APPLY WHERE APPLY_NAME = 'STRMADMIN_APPLY';
if (v_started = 0) then
DBMS_APPLY_ADM.START_APPLY(apply_name => 'STRMADMIN_APPLY');
end if;
END;
Section 4 :Steps to be carried out at the Source Database REP2
4.1 Move LogMiner tables from SYSTEM tablespace:
By default, all LogMiner tables are created in the SYSTEM tablespace.
It is a good practice to create an alternate tablespace for the LogMiner
tables.
CREATE TABLESPACE LOGMNRTS DATAFILE 'logmnrts.dbf' SIZE 25M AUTOEXTEND ON
MAXSIZE UNLIMITED;
BEGIN
DBMS_LOGMNR_D.SET_TABLESPACE('LOGMNRTS');
END;
4.2 Turn on supplemental logging for DEPT and EMPLOYEES table :
connect SYS/password as SYSDBA
ALTER TABLE scott.dept ADD SUPPLEMENTAL LOG GROUP dept_pk(deptno) ALWAYS;
ALTER TABLE scott.EMPLOYEES ADD SUPPLEMENTAL LOG GROUP dep_pk(empno) ALWAYS;
Note: If the number of tables are more the supplemental logging can be
set at database level .
4.3 Create a database link to the destination database :
connect STRMADMIN/STRMADMIN
CREATE DATABASE LINK PLUTO connect to
STRMADMIN identified by STRMADMIN using 'PLUTO';
Test the database link to be working properly by querying against the
destination database.
Eg : select * from global_name@PLUTO;
4.4 Add capture rules for the schema SCOTT at the source database:
BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
schema_name => 'SCOTT',
streams_type => 'CAPTURE',
streams_name => 'STREAM_CAPTURE',
queue_name => 'STRMADMIN.STREAMS_QUEUE',
include_dml => true,
include_ddl => true,
source_database => 'REP2');
END;
4.5 Add propagation rules for the schema SCOTT at the source database.
This step will also create a propagation job to the destination database.
BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_PROPAGATION_RULES(
schema_name => 'SCOTT',
streams_name => 'STREAM_PROPAGATE',
source_queue_name => 'STRMADMIN.STREAMS_QUEUE',
destination_queue_name => 'STRMADMIN.STREAMS_QUEUE@PLUTO',
include_dml => true,
include_ddl => true,
source_database => 'REP2');
END;
Section 5 : Export, import and instantiation of tables from
Source to Destination Database
5.1 If the objects are not present in the destination database, perform
an export of the objects from the source database and import them
into the destination database
Export from the Source Database:
Specify the OBJECT_CONSISTENT=Y clause on the export command.
By doing this, an export is performed that is consistent for each
individual object at a particular system change number (SCN).
exp USERID=SYSTEM/manager@rep2 OWNER=SCOTT FILE=scott.dmp
LOG=exportTables.log OBJECT_CONSISTENT=Y STATISTICS = NONE
Import into the Destination Database:
Specify STREAMS_INSTANTIATION=Y clause in the import command.
By doing this, the streams metadata is updated with the appropriate
information in the destination database corresponding to the SCN that
is recorded in the export file.
imp USERID=SYSTEM@pluto FULL=Y CONSTRAINTS=Y FILE=scott.dmp IGNORE=Y
COMMIT=Y LOG=importTables.log STREAMS_INSTANTIATION=Y
5.2 If the objects are already present in the desination database, there
are two ways of instanitating the objects at the destination site.
1. By means of Metadata-only export/import :
Specify ROWS=N during Export
Specify IGNORE=Y during Import along with above import parameters.
2. By Manaually instantiating the objects
Get the Instantiation SCN at the source database:
connect STRMADMIN/STRMADMIN@source
set serveroutput on
DECLARE
iscn NUMBER; -- Variable to hold instantiation SCN value
BEGIN
iscn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
DBMS_OUTPUT.PUT_LINE ('Instantiation SCN is: ' || iscn);
END;
Instantiate the objects at the destination database with
this SCN value. The SET_TABLE_INSTANTIATION_SCN procedure
controls which LCRs for a table are to be applied by the
apply process. If the commit SCN of an LCR from the source
database is less than or equal to this instantiation SCN,
then the apply process discards the LCR. Else, the apply
process applies the LCR.
connect STRMADMIN/STRMADMIN@destination
BEGIN
DBMS_APPLY_ADM.SET_SCHEMA_INSTANTIATION_SCN(
SOURCE_SCHEMA_NAME => 'SCOTT',
source_database_name => 'REP2',
instantiation_scn => &iscn );
END;
Enter value for iscn:
<Provide the value of SCN that you got from the source database>
Note:In 9i, you must instantiate each table individually.
In 10g recursive=true parameter of DBMS_APPLY_ADM.SET_SCHEMA_INSTANTIATION_SCN
is used for instantiation...
Section 6 : Start the Capture process
begin
DBMS_CAPTURE_ADM.START_CAPTURE(capture_name => 'STREAM_CAPTURE');
end;
/You must have imported a JKM and after that these are the steps
1. Go to source datastrore and click on CDC --> Add to CDC
2. Click on CDC --> Start Journal
3. Now go to the interface Choose the source table and select Journalized data only and then click on ok
4. Now execute the interface
If still it doesn't work, are you using transactions in your interface ? -
After i updated my iphone 4s from 8.1.2 to 8.1.3 problem occurred.i cant restore and update my phone?saying that iphone could not be restored,an unknown error ocuurred.please help me?
Thanks for the update and clarification. In researching the issue it seems that the 2003 error code may have something to do with the USB connection. I would use this section of one of the above articles:
Get help with iOS update and restore errors
If the USB connection between your device and computer is interrupted, you might not be able to update or restore.
To narrow down the issue, you can try different equipment:
Use the USB cable that came with your device, or a different Apple USB cable.
Plug your cable into a different USB port directly on your computer. Don't plug it into your keyboard.
Try a different computer.
Solve other issues with the USB connection, then with your security software.
If you still see the error message, check for hardware issues by following the next section.
Check for hardware issues
Related errors: 1, 3, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
These errors mean that your device or computer might have a hardware issue that stops the update or restore from completing.
Check that your security software and settings aren't blocking your device from communicating with the Apple update server.
Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
Make sure that your security software and settings are allowing communication between your device and update servers.
If you still see the error message when you update or restore, contact Apple support. -
I don't get any iCal updates on my iPhone since I'm using iCloud, any help?
I don't get any iCal updates on my iPhone since I'm using iCloud, any help?
Yes. On your phone make sure it is set to send messages from your phone number, not your apple id or other email address. That way when they reply it will go to your phone.
-
i am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you
Did you check your security software (firewall)?
A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
See:
* [[Server not found]]
* [[Firewalls]] -
i have problem with fonts for my site, i have used "Lucida sans unicode " family for certain texts. it shows perfect in mozilla 3.5 and mozilla 4. But the font not supporting in mozilla 5.0? please help me
i have problem with fonts for my site, i have used "Lucida sans unicode " family for certain texts. it shows perfect in mozilla 3.5 and mozilla 4. But the font not supporting in mozilla 5.0? please help me
-
I bought used iPhone and on this iPhone I'm not able to make new account on i Cloud'. How can I use this iCloud's on used iPhone Please help me
When I logging there it told me that maximum no of iCloud's Account already activated on this iPhone.
Please help me how can I open new iCloud's account on this iPhone
Regard
Faiz khanSet up the account using a desktop or laptop, then sign
into that account on your iPhone.
I am not aware of any method around the restriction once
the maximum has been created on any individual iPhne. -
I have updated my phone to 4.3.3 and I was told there would be more bells and whistles. I haven't found more texting sounds. Have I updated my phone wrong or just not completed it all the way? Please help me. Still trying to figure this iphone 3G out.
You have the iPhone 3GS, not the 3G. The last update to support the iPhone 3G is 4.2.1.
iOS 4.3.3 includes bug fixes etc. There is nothing really special about this update that wasn't introduced in iOS 4.3. iOS 5 is the one to wait for - it will be released in the Autumn/Fall and includes over '200' new features/improvements.
The additional text tines and ringtones were an iPhone 4-only feature.
Maybe you are looking for
-
My simcard slot for my iPad 4 won't open
I Failed to open my simcard slot for my iPad 4.its hard when you insert the pin.i tried pushing harder put it won't open.how do I get it to open,and if not have I damaged it.
-
I was tracking the some new yesterday evening, from about 6:00 pm until about 10:00 pm. I used the internet about 10 times. I looked at my phone bill on line this morning and my home wifi usage was on the bill. I don't understand, 1. Why AT&T would
-
CJE0 Report in currency other than controlling area.
Dear PS friends, As all PS Reports in CJE0 are in controlling area currency, if we want to have these reports in other currency then how we will go.If any one has gone through such problem , pl let us know the way. Regards, AS
-
TS5180 Problem with my iphone 4s
Why is just the right-side speaker working on my i-phone 4s when im playing music
-
Average price during good issue for a vehicle
Dear Experts, I have a little doubt about how to manage valuation with vehicles, using VMS. I understand that the standard VMS solution mantains a valuation type for each vehicle (for each batch for the specific model), am I right? . We have a requir