Spooling takes too much time [message #21185] |
Wed, 17 July 2002 10:03 |
Azmat
Messages: 8 Registered: July 2002
|
Junior Member |
|
|
Hi All,
I have to create a FLAT File of 700K records. I am using a script that is spooling the result sets to the flat file. But its taking 23 hours. I am running my script from server side and my OS environment is SUN SOLARIS 2.6 with 4 processors.
The query itself returns the result in 1/2 hour but spooling is taking too much time ... IS THERE ANY OTHER WAY AROUND .. plzzzz let me know ..
Regards
Muhammad Azmat
|
|
|
|
Re: Spooling takes too much time [message #21225 is a reply to message #21195] |
Thu, 18 July 2002 13:59 |
andrew again
Messages: 2577 Registered: March 2000
|
Senior Member |
|
|
I'd use the "set trimspool on" as suggested - else you get trailing spaces. Also - try "set termout off". If you have an interactive session, you don't want the records to be spooled to your - that could take ages.
|
|
|