dbTalk Databases Forums  

DBSrv 9.0.1 - Tempfile is growing and growing and then Disk is full- TEMP_SPACE_LIMIT_CHECK?

sybase.public.sqlanywhere.linux sybase.public.sqlanywhere.linux


Discuss DBSrv 9.0.1 - Tempfile is growing and growing and then Disk is full- TEMP_SPACE_LIMIT_CHECK? in the sybase.public.sqlanywhere.linux forum.

Reply
 
Thread Tools Display Modes
  #11  
Old   
Stephen Rice [Sybase]
 
Posts: n/a

Default Re: DBSrv 9.0.1 - Tempfile is growing and growing and then Disk is full - TEMP_SPACE_LIMIT_CHECK? - 12-24-2008 , 08:55 AM






The temp file is used to store cache pages that do not belong in a dbspace
or the transaction log file. The most common of these are pages required to
materialize a result set so running the big query causes the file to grow
makes sense.

If you enable the option TEMP_SPACE_LIMIT_CHECK the connection trying to use
more than it's quota will get a SQLSTATE_TEMP_SPACE_LIMIT error and the
statement will be cancelled.

This should prevent you from running out of disk space.

You should still sort out why you are allowing "runaway" queries like this
or add some disk so the problem doesn't occur.
--
/steve
Stephen Rice, Sybase iAnywhere
Please reply only to the newsgroup

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Docs : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swd/base.do
-> Choose SQL Anywhere Studio
-> Set filter to "Display ALL platforms IN ALL MONTHS"

"Andreas Bauer" <andreas.bauer (AT) vsa (DOT) de> wrote

Quote:
Hello,

sometimes a big sql is running out of space, so the temp-file is growing
and growing and then, the disk is full and the system stands.

I found the db-option temp_space_limit_check. When i switch it on, does
the dbsrv bring an error on the connection running "out of space", so
then the connection will get the error that we are not going furthermore
into the situation that the disk is full?

What other possibilietes do i have with dbsrv 9.0.1 and what with 11.0?



best regards

Andreas





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 - 2014, Jelsoft Enterprises Ltd.