Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > Space available in the log segment has fallen critically low in database 'tempdb'

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-20-07, 06:51
winniewang winniewang is offline
Registered User
 
Join Date: Apr 2007
Posts: 63
Space available in the log segment has fallen critically low in database 'tempdb'

Hi, everyone,

I got the following error when I want to open a view:

Space available in the log segment has fallen critically low in database 'tempdb'. All future modifications to this database will be suspended until the log is successfully dumped and space becomes available.


when i used the following command line to check the tempdb log,please refer to the result below, seems that I have enough space to open a view.

1> use tempdb
2> go
1> sp_helpsegment logsegment
2> go
segment name status
------- ---------- ------
2 logsegment 0
device size
------ -----
master 4.0MB
free_pages
-----------
1165

Objects on segment 'logsegment':

table_name index_name indid partition_name
---------- ---------- ------ --------------
syslogs syslogs 0 syslogs_8

Objects currently bound to segment 'logsegment':

table_name index_name indid
---------- ---------- ------
syslogs syslogs 0

total_size total_pages free_pages used_pages
reserved_pages
----------------- --------------- --------------- ---------------
---------------
4.0MB 2048 1165 25
0
(return status = 0)
1>
2>
Reply With Quote
  #2 (permalink)  
Old 12-20-07, 07:11
Martijnvs Martijnvs is offline
Who? Me?
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 274
Create an extra device (e.g. tempdb_extra) and extend the tempdb on the extra device:
disk init
name="tempdb_extra",
physname="<location of file>",
size="1000M"
go
alter database tempdb on tempdb_extra = "1000M"
go
__________________
I'm not crazy, I'm an aeroplane!
Reply With Quote
  #3 (permalink)  
Old 12-20-07, 08:00
winniewang winniewang is offline
Registered User
 
Join Date: Apr 2007
Posts: 63
Got it.
I will do it, thanks a lot:-)

Winnie
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On