Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Usage of Temporary Table?

Re: Usage of Temporary Table?

From: Alberto Dell'Era <alberto.dellera_at_gmail.com>
Date: Fri, 15 Sep 2006 20:41:46 +0200
Message-ID: <4ef2fbf50609151141j5ff7e670kb5a7063fd68ac609@mail.gmail.com>


> Only 3 Tables hold the login info. Each Table has only 1 or 2 indexes.
> These are small Tables with a few rows being inserted / updated into each table per user login
(snip)
> Approx a Total of 30,000 Concurrent users will login to do a set of OLTP Transactions for an upcoming Benchmark.

Beware that each concurrent user will use an extent for each table and index in the temp tablespace, and that is a lot of space; assuming the popular 1M size for the extent size, that could be at least (3 tables + 3 indexes) * 30,000 user * 1M = 180 Gigabytes (!).

Plus, sure, a lot of almost-empty blocks (short rows) contending for space in the buffer cache.

Better use a permanent table in my opinion, maybe with a logoff trigger to clean up the rows when a gracefully-terminated session ends.

Or, sure, sys_context.

-- 
Alberto Dell'Era
"Per aspera ad astra"
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Sep 15 2006 - 13:41:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US