Re: use of tempdb by union all
From: Tenaya (ct_at_ct.ct)
Date: 03/23/04
- Next message: Mark: "Re: Convert datatype in function"
- Previous message: rob: "Re: Help constructing View"
- In reply to: Tibor Karaszi: "Re: use of tempdb by union all"
- Next in thread: Tibor Karaszi: "Re: use of tempdb by union all"
- Reply: Tibor Karaszi: "Re: use of tempdb by union all"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 08:32:01 -0500
Tibor,
Apologies for "reviving" this thread once again, but I got to thinking a bit
more about your statement, and I'm now inclined to think that the statement
that "SQL will not allocate 'scratch space' from the user database" might be
misleading.
Earlier in this thread, I referenced the BOL section "tempdb and Index
Creation", and I'd draw your attention to that article again. As I read it,
SQL Server will indeed allocate "scratch space" from the user database,
since otherwise it seems to me that the article makes little sense.
I will certainly readily admit that the statement that drew your attention
in my posting was at best imprecise, and, quite conceivably, completely
wrong. Certainly one can argue that I was saying that if SQL Server needs
"scratch" disk space within the user database, and is unable to allocate the
space, that SQL Server will then automatically take the necessary "scratch"
disk space from the tempdb database. That is, I admit, completely wrong.
However, I think that without some qualification, your posting can be
construed as misleading.
BTW, I trust that both you and Andrew recognize that precision in wording is
necessary, since otherwise people may jump to incorrect conclusions.
Chief Tenaya
"Tibor Karaszi" <tibor_please.no.email_karaszi@hotmail.nomail.com> wrote in
message news:ehywMdEEEHA.1228@TK2MSFTNGP11.phx.gbl...
> > It was my impression that the tempdb database will be used when SQL
Server
> > has insufficient memory / disk space to carry out the operation in the
> > current database ... i.e., the one in which the operation was "launched"
> > (via the USE command, either implicitly or explicitly).
>
> SQL Server will not allocate "scratch space" from the user database. If
such
> is needed, it is allocated in tempdb.
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
>
>
- Next message: Mark: "Re: Convert datatype in function"
- Previous message: rob: "Re: Help constructing View"
- In reply to: Tibor Karaszi: "Re: use of tempdb by union all"
- Next in thread: Tibor Karaszi: "Re: use of tempdb by union all"
- Reply: Tibor Karaszi: "Re: use of tempdb by union all"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|