SQL 2008 (AX Dynamics) data export taking too long

I'm trying to export a View as a Flat text File. The view has 6 months of transactions and executes in 5 seconds.
I created an export data DTS package to export this data to text and it is taking an age, the data file is stored on the same server.

Anyone know why this is taking so long?
HKFueyAsked:
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.

Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
>> I created an export data DTS package to export this data to text and it is taking an age

is it completing successfully after taking a lot of time, if so what is the maximum time it took to export the flat file via DTS package.
Kindly double check whether the batch size is set to very small value in the DTS package which will take long time to export..
HKFueyAuthor Commented:
25,0000 records took 4 hours the resulting text file was 7 Mb. Not sure where to check batch size?
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
Check the properties of the Source Connection manager in your DTS package..
HKFueyAuthor Commented:
I changed the SQL view, the table joins must have been wrong. Working perfectly now.

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
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
Query Syntax

From novice to tech pro — start learning today.