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: GLOBAL TEMPORARY TABLE in Oracle 9.2.0.4

Re: GLOBAL TEMPORARY TABLE in Oracle 9.2.0.4

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Thu, 29 Apr 2004 14:13:36 -0400
Message-ID: <20040429181336.GA3629@mladen.wangtrading.com>


I believe that the guy who asked the question expected the table to be gone when the session logs out, but it isn't the case. Global temporary tables are nothing like the temporary tables from SQL server, which vanish when the session is done. I don't think that creatig/dropping tables at the end of the session is a good idea. I'm using GTT in several of my perl scripts in such a way that I first load data into a GTT and then run a PL/SQL procedure to transform the data into the required format, but I don't drop them. Most of those perl scripts are run from cron. On 04/29/2004 01:51:13 PM, Jonathan Lewis wrote:
>
> There are a couple of bugs where Oracle fails
> to drop global temporary tables (Possibly because
> it gets their names wrong on the drop). Another
> example where SYS will accumulate GTTs is you
> drop and recreate bitmap join indexes.

-- 
Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.  No confidentiality or privilege is waived or lost by any mistransmission.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu Apr 29 2004 - 13:11:19 CDT

Original text of this message

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