Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: transferring data from OLTP DB to Reporting DB
I joined this thread late - another possibility is using the sqlplus COPY command in a script. Again, depends on volume of data, etc. etc.
REM number of record groups before commit occurs
set copycommit 1;
REM number of records in each group
set arraysize 1000;
copy from uname/pwd_at_yourdb insert WRKORD.MTL_ITEM_SUB_INVENTORIES using - select INVENTORY_ITEM_ID, ORGANIZATION_ID, SECONDARY_INVENTORY - from INV.MTL_ITEM_SUB_INVENTORIES;
Jay
>>> DWILLIAMS_at_LIFETOUCH.COM 02/20/03 09:34AM >>>
Vijaya
There are several methods you can use to accomplish this. I think you will have to explore the various methods in your environment and decide which one seems to work best for you:
-----Original Message-----
Sent: Thursday, February 20, 2003 1:24 AM
To: Multiple recipients of list ORACLE-L
Hi,
I have a requirement like this:
I have a transaction database(OLTP) and after closure of every day's transactions, i need to move data into another Reporting DB. Only the records with Status Flag as 'Y' on transaction database tables needs to be moved over to the Reporting DB.
Can you please suggest any approaches/strategies/tools for doing above requirement.
regards,
Vijaya Chander V.S
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Vijaya Chander V.S INET: srinivasa_v_at_infosys.com **DISCLAIMER This e-mail message and any files transmitted with it are intended for the use of the individual or entity to which they are addressed and may contain information that is privileged, proprietary and confidential. If you are not the intended recipient, you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received this communication in error, please notify the sender and delete this e-mail message. The contents do not represent the opinion of D&E except to the extent that it relates to their official business. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jay Hostetter INET: jhostetter_at_decommunications.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Feb 20 2003 - 10:38:56 CST