dbTalk Databases Forums  

pump task to flat file --- High CPU

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss pump task to flat file --- High CPU in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AHartman
 
Posts: n/a

Default pump task to flat file --- High CPU - 06-11-2008 , 05:21 PM






I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).


Thanks.


Reply With Quote
  #2  
Old   
matteus
 
Posts: n/a

Default Re: pump task to flat file --- High CPU - 06-12-2008 , 04:13 AM






On Jun 12, 12:21 am, "AHartman" <Hoosbr... (AT) Kconline (DOT) com> wrote:
Quote:
I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).

Thanks.
Hi Ahartman, you must provide us more infos.
Did the package end up with an error? If yes, which error? Or it works
without creating the file?
Or more likely it seems to be running but after some minutes you have
to kill/stop it.

In any case, if a query normal execution (i mean with query analyzer
or management studio) takes 20 secs to get all records this could mean
that (1) the query is quite complex or (2) the query retrieves so many
rows...
and writing records to a flat file is much slower that getting it
through a query in management studio.

Please let us know,
M.


Reply With Quote
  #3  
Old   
matteus
 
Posts: n/a

Default Re: pump task to flat file --- High CPU - 06-12-2008 , 04:13 AM



On Jun 12, 12:21 am, "AHartman" <Hoosbr... (AT) Kconline (DOT) com> wrote:
Quote:
I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).

Thanks.
Hi Ahartman, you must provide us more infos.
Did the package end up with an error? If yes, which error? Or it works
without creating the file?
Or more likely it seems to be running but after some minutes you have
to kill/stop it.

In any case, if a query normal execution (i mean with query analyzer
or management studio) takes 20 secs to get all records this could mean
that (1) the query is quite complex or (2) the query retrieves so many
rows...
and writing records to a flat file is much slower that getting it
through a query in management studio.

Please let us know,
M.


Reply With Quote
  #4  
Old   
matteus
 
Posts: n/a

Default Re: pump task to flat file --- High CPU - 06-12-2008 , 04:13 AM



On Jun 12, 12:21 am, "AHartman" <Hoosbr... (AT) Kconline (DOT) com> wrote:
Quote:
I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).

Thanks.
Hi Ahartman, you must provide us more infos.
Did the package end up with an error? If yes, which error? Or it works
without creating the file?
Or more likely it seems to be running but after some minutes you have
to kill/stop it.

In any case, if a query normal execution (i mean with query analyzer
or management studio) takes 20 secs to get all records this could mean
that (1) the query is quite complex or (2) the query retrieves so many
rows...
and writing records to a flat file is much slower that getting it
through a query in management studio.

Please let us know,
M.


Reply With Quote
  #5  
Old   
matteus
 
Posts: n/a

Default Re: pump task to flat file --- High CPU - 06-12-2008 , 04:13 AM



On Jun 12, 12:21 am, "AHartman" <Hoosbr... (AT) Kconline (DOT) com> wrote:
Quote:
I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).

Thanks.
Hi Ahartman, you must provide us more infos.
Did the package end up with an error? If yes, which error? Or it works
without creating the file?
Or more likely it seems to be running but after some minutes you have
to kill/stop it.

In any case, if a query normal execution (i mean with query analyzer
or management studio) takes 20 secs to get all records this could mean
that (1) the query is quite complex or (2) the query retrieves so many
rows...
and writing records to a flat file is much slower that getting it
through a query in management studio.

Please let us know,
M.


Reply With Quote
  #6  
Old   
matteus
 
Posts: n/a

Default Re: pump task to flat file --- High CPU - 06-12-2008 , 04:13 AM



On Jun 12, 12:21 am, "AHartman" <Hoosbr... (AT) Kconline (DOT) com> wrote:
Quote:
I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).

Thanks.
Hi Ahartman, you must provide us more infos.
Did the package end up with an error? If yes, which error? Or it works
without creating the file?
Or more likely it seems to be running but after some minutes you have
to kill/stop it.

In any case, if a query normal execution (i mean with query analyzer
or management studio) takes 20 secs to get all records this could mean
that (1) the query is quite complex or (2) the query retrieves so many
rows...
and writing records to a flat file is much slower that getting it
through a query in management studio.

Please let us know,
M.


Reply With Quote
  #7  
Old   
matteus
 
Posts: n/a

Default Re: pump task to flat file --- High CPU - 06-12-2008 , 04:13 AM



On Jun 12, 12:21 am, "AHartman" <Hoosbr... (AT) Kconline (DOT) com> wrote:
Quote:
I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).

Thanks.
Hi Ahartman, you must provide us more infos.
Did the package end up with an error? If yes, which error? Or it works
without creating the file?
Or more likely it seems to be running but after some minutes you have
to kill/stop it.

In any case, if a query normal execution (i mean with query analyzer
or management studio) takes 20 secs to get all records this could mean
that (1) the query is quite complex or (2) the query retrieves so many
rows...
and writing records to a flat file is much slower that getting it
through a query in management studio.

Please let us know,
M.


Reply With Quote
  #8  
Old   
matteus
 
Posts: n/a

Default Re: pump task to flat file --- High CPU - 06-12-2008 , 04:13 AM



On Jun 12, 12:21 am, "AHartman" <Hoosbr... (AT) Kconline (DOT) com> wrote:
Quote:
I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).

Thanks.
Hi Ahartman, you must provide us more infos.
Did the package end up with an error? If yes, which error? Or it works
without creating the file?
Or more likely it seems to be running but after some minutes you have
to kill/stop it.

In any case, if a query normal execution (i mean with query analyzer
or management studio) takes 20 secs to get all records this could mean
that (1) the query is quite complex or (2) the query retrieves so many
rows...
and writing records to a flat file is much slower that getting it
through a query in management studio.

Please let us know,
M.


Reply With Quote
  #9  
Old   
matteus
 
Posts: n/a

Default Re: pump task to flat file --- High CPU - 06-12-2008 , 04:13 AM



On Jun 12, 12:21 am, "AHartman" <Hoosbr... (AT) Kconline (DOT) com> wrote:
Quote:
I have a DB connection and a output destination defined in my SSIS package.
What creates the output file is driven from a query that uses a view
to extarct the records to the Flat file. If I run this query it returns the
records with 20 seconds. When I let it run thru the package it never opens
the output file or appears to be doing anything except running the CPU thru
the roof.

any ideas to what is causing this issue?

Sql2005(sp2).

Thanks.
Hi Ahartman, you must provide us more infos.
Did the package end up with an error? If yes, which error? Or it works
without creating the file?
Or more likely it seems to be running but after some minutes you have
to kill/stop it.

In any case, if a query normal execution (i mean with query analyzer
or management studio) takes 20 secs to get all records this could mean
that (1) the query is quite complex or (2) the query retrieves so many
rows...
and writing records to a flat file is much slower that getting it
through a query in management studio.

Please let us know,
M.


Reply With Quote
Reply




Thread Tools
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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.