Re: The log file for database 'tempdb' is full
From: Peter Yeoh (nospam_at_nospam.com)
Date: 10/11/04
- Next message: Aaron [SQL Server MVP]: "Re: log file 30GB"
- Previous message: Utada P.W. SIU: "What is Schema?"
- In reply to: Jonas Larsen: "Re: The log file for database 'tempdb' is full"
- Next in thread: Jonas Larsen: "Re: The log file for database 'tempdb' is full"
- Reply: Jonas Larsen: "Re: The log file for database 'tempdb' is full"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 11 Oct 2004 11:47:04 +0800
Now that is strange. What would that query have to do with the tempdb
database? No sorts, subqueries, or aggregation at all. Color me stumped.
Does it make any difference if you select top 10, 100, 1000 etc? Or create
a view and select from the view (not that any of these suggestions would
identify what's wrong)?
-- Peter Yeoh http://www.yohz.com Need smaller SQL2K backup files? Use MiniSQLBackup Lite, free! "Jonas Larsen" <Jonas.Larsen@Alcan.com> wrote in message news:uRUDhtzrEHA.596@TK2MSFTNGP11.phx.gbl... > The query was Select top 1000 * from table1 > > Table1 being a normal table with less than 10,000 records and less than 20 > columns. And again there was heaps of space available in the TempDb and if > it needed to grow there were heaps of disk space available and the growth > options were unrestricted. > > Regards > Jonas > > > "Peter Yeoh" <nospam@nospam.com> wrote in message > news:utiVojzrEHA.556@tk2msftngp13.phx.gbl... > > One possibility is that your query requires the use of one or more large > > worktables, which are automatically created in the tempdb database. Check > > the execution plan of your query. > > > > -- > > Peter Yeoh > > http://www.yohz.com > > Need smaller SQL2K backup files? Use MiniSQLBackup Lite, free! > > > > > > "Jonas Larsen" <Jonas.Larsen@Alcan.com> wrote in message > > news:eM4QXbzrEHA.1816@TK2MSFTNGP09.phx.gbl... > > > Hi Guys > > > > > > I was trying to run a simple Select stament against a database and it > > > returned to below error message: > > > > > > The log file for database 'tempdb' is full. Back up the transaction log > > for > > > the database to free up some log space.. > > > > > > I checked the disk space which was fine, I checked the file sizes and > > growth > > > options which were fine. Luckyly it is a test server so I have just > > > restarted the SQL Server Service and everything is fine however if this > > had > > > been the production server this might not have been an option. > > > > > > Does anyone know why and/or any fixes? > > > > > > Thanks > > > > > > Regards > > > Jonas > > > > > > > > > > > >
- Next message: Aaron [SQL Server MVP]: "Re: log file 30GB"
- Previous message: Utada P.W. SIU: "What is Schema?"
- In reply to: Jonas Larsen: "Re: The log file for database 'tempdb' is full"
- Next in thread: Jonas Larsen: "Re: The log file for database 'tempdb' is full"
- Reply: Jonas Larsen: "Re: The log file for database 'tempdb' is full"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|