Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to Create Local Temporary Table
Brian Peasland wrote:
>> Further more, as I presume we will all readily agree the hordes of >> application developers don't know squat about SQL and run scared of a >> three way join, never mind what Oracle calls an inline view (aka >> nested subquery).
> If I understood you correctly, temp tables in SQL Server live only in
> memory. If that is correct, then this is a big difference between the
> two RDBMS's. How Oracle implements temp tables is not the same, as such
> the developer utilizing temp tables in Oracle needs to know this and
> should consider other alternatives.
See that's the trick. I got that spoon fed from ex Sybase DBA's who are
begging for local temp tables in DB2 (and I'm far from convinced I
really got it ;-):
This special temp tablespace is _typically_ placed on a RAM disk (I
hadn't heard this words since my Commodore Amiga days ...) because it
doesn't survive a restart of the server anyway.
This way everything is pinned in memory. It's not a Sybase/SQL Server
feature as such. It's best practices that apparently works very well for
them.
Anyway, thanks for the explanations. This was helpful.
Cheers
Serge
-- Serge Rielau DB2 Solutions Development IBM Toronto LabReceived on Thu Apr 20 2006 - 23:01:24 CDT