Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2003
    Posts
    3

    Unanswered: Strange tempdb behavior

    Running SQL 2000 SP4 on Windows 2000 Server.
    When a SELECT query is executed in Query Analyzer results are displayed in the results pane, fine...when an "ORDER BY" clause is added to the select stmt the query runs for apprx. 20 seconds then displays "TempDb log is full [Error 9002, Severity 17]". (The tempdb is set to autogrow/10%/unrestricted and plenty of storage space) The next time the query is executed after getting the "tempdb log is full" error, the server reboots upon query execution. As soon as F5 or ctrl-e is pressed to execute the query the server does a hard crash - black screen then reboot...no warnings, no event viewer log, no sql log warnings/errors, no drwtsn log, no hardware log message errors...nothing.

    Re-applied Windows 2000 SP3 and SQL SP4 to server, same behavior.

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    running out of disk space?
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Jul 2003
    Posts
    3
    Nope, 20gb free on this drive array.

  4. #4
    Join Date
    Jan 2004
    Location
    In a large office with bad lighting
    Posts
    1,040
    What drive is the tempdb_log located on? Is it set to auto grow? Is there sufficient space on that drive for it to auto grow by the amount indicated on the properties page?

    Try monitoring the drive space as your query executes. SQL Server error messages regarding full logs are pretty darn good at telling you the problem. Ensure tempdb is in simple recovery mode too!

    -- This is all just a Figment of my Imagination --

  5. #5
    Join Date
    Jul 2003
    Posts
    3
    Thanks for the replies, but I answered these questions in my original post..."The tempdb is set to autogrow/10%/unrestricted and plenty of storage space"; "no sql log warnings/errors".

    In addition, the record sort is only 10 records (by using TOP 10 in the select query). This should never take 20gb of hard drive space (what is currently free on this drive).

    The tempdb ldf and mdf are in the default SQL server data directory.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •