Re: GLOBAL TEMPORARY TABLE in Oracle 9.2.0.4

  • From: "Juan Cachito Reyes Pacheco" <jreyes@xxxxxxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 29 Apr 2004 15:03:36 -0400

I think is senseless to drop a temporary table every time, becauase it
implies adittional unnecesary recursive work.
So I personally don't understand why to expect a temporary table should be
droped and recreated.
There is no overhead in keeping a temporary table.

Juan Carlos Reyes Pacheco
OCP
Database 9.2 Standard Edition
----- Original Message ----- 
From: "Mladen Gogala" <mladen@xxxxxxxxxxxxxxx>
To: <oracle-l@xxxxxxxxxxxxx>
Sent: Thursday, April 29, 2004 2:13 PM
Subject: Re: GLOBAL TEMPORARY TABLE in Oracle 9.2.0.4


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@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: