Go Back  IT Forums > Software > Oracle
User Name
Password
Reply
 
Thread Tools Search this Thread Display Modes

How to get SQL commands executed on Oracle database in certain period?
  #1
Old 10-05-2006, 03:47 AM
qazmlp
Junior Member


qazmlp is offline
qazmlp's Info
Join Date: Aug 2004
Posts: 10
Default How to get SQL commands executed on Oracle database in certain period?

Is it possible to get the SQL commands executed on a Oracle database
from a certain time?

We have a system connected with Server-1 and Server-2. Server-1 uses
Oracle RDBMS and Server-2 uses some other database for Data storage.
In regular intervals, the application running on the System should
fetch all the SQL commands executed on Server-1 from the last interval,
convert if required and then apply these changes on the Server-2. I
cannot use redo logs, as I have to apply the changes on a non-Oracle
database. For this reason, I would like to know how exactly I can get
the SQL commands executed on a Oracle database from a certain time(or
in certain time period).

Reply With Quote
How to get SQL commands executed on Oracle database in certain period?
  #2
Old 10-05-2006, 03:55 AM
hpuxrac
Junior Member


hpuxrac is offline
hpuxrac's Info
Join Date: Jun 2005
Posts: 8
Default How to get SQL commands executed on Oracle database in certain period?


qazmlp1...@rediffmail.com wrote:
Quote:
Is it possible to get the SQL commands executed on a Oracle database from a certain time? We have a system connected with Server-1 and Server-2. Server-1 uses Oracle RDBMS and Server-2 uses some other database for Data storage. In regular intervals, the application running on the System should fetch all the SQL commands executed on Server-1 from the last interval, convert if required and then apply these changes on the Server-2. I cannot use redo logs, as I have to apply the changes on a non-Oracle database. For this reason, I would like to know how exactly I can get the SQL commands executed on a Oracle database from a certain time(or in certain time period).


Well using a scheduling system of some sort is probably your answer.
On unix/linux cron is provided which is a barebones type of scheduler.
Many unix/linux shops use other 3rd party schedulers.

Windows also has a built in scheduling facility that's pretty basic.

You do realize that the SQL commands used against oracle will not
probably match exactly SQL that other databases would require don't
you?

It sounds like you will need to build something custom that will look
at the data changes in oracle and then extract and build somehow a flat
file that would contain the sql commands that you want executed on the
other database.

Is that a little kludgy? Maybe but not unlike things that people have
put in place.

Perhaps a better solution would be changes so that the applications
that run against the other database would access the relevant
information in oracle when they need that information.

Reply With Quote
How to get SQL commands executed on Oracle database in certain period?
  #3
Old 10-05-2006, 06:54 AM
EdStevens
Junior Member


EdStevens is offline
EdStevens's Info
Join Date: Oct 2005
Posts: 14
Default How to get SQL commands executed on Oracle database in certain period?


qazmlp1209@rediffmail.com wrote:
Quote:
Is it possible to get the SQL commands executed on a Oracle database from a certain time? We have a system connected with Server-1 and Server-2. Server-1 uses Oracle RDBMS and Server-2 uses some other database for Data storage. In regular intervals, the application running on the System should fetch all the SQL commands executed on Server-1 from the last interval, convert if required and then apply these changes on the Server-2. I cannot use redo logs, as I have to apply the changes on a non-Oracle database. For this reason, I would like to know how exactly I can get the SQL commands executed on a Oracle database from a certain time(or in certain time period).


Note Mark's reply. Perhaps you should be looking at some third-party
db-neutral replication tools.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Style Design by vBStyles.com


Top Contact Us - IT Forums - Archive - MyLounge Top
MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service