Export from DB2

I was told by someone that the most efficient way to extract data from certain tables, certain columns, and certain dates every 15 mins would be to use the export utility.  Is this true?  If not, is there a better way?  The database is running on a AIX platform.  Thanks in advance.
jhughes4Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

db2inst1Commented:

Yea thats the best way to do it.  You can also select and re-direct it to a flat file, but export would be the best option. If you are on a partition db / EEE you can try parallel export which would be faster.

Here is the command syntax, if you don't have it already

http://tinyurl.com/mma8e

Goodluck!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sachinwadhwaCommented:
yes, export will work fine and you can use any customised sql with it.

Syntax here:

http://publib.boulder.ibm.com/infocenter/db2luw/v8//topic/com.ibm.db2.udb.doc/core/r0008303.htm
0
granbajoCommented:
You can also setup replication (Capture and Apply) to automate the copies.  It is quite straightforward.

http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.ii.doc/admin/cgprc000.htm
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB2

From novice to tech pro — start learning today.