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: RE: Renaming tablespace by updating SYS.TS$

Re: RE: Renaming tablespace by updating SYS.TS$

From: <bulbultyagi_at_now-india.net.in>
Date: Fri, 09 May 2003 15:21:49 -0800
Message-ID: <F001.00595F52.20030509152149@fatcity.com>


ALTER SYSTEM FLUSH SHARED_POOL;

> anyway to flush the dictionary cache without bouncing the database?
>
> i made another post explaining our process. anyone have an alternative
approach?
> >
> > From: Connor McDonald <hamcdc_at_yahoo.co.uk>
> > Date: 2003/05/09 Fri PM 12:47:17 EDT
> > To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> > Subject: Re: RE: Renaming tablespace by updating SYS.TS$
> >
> > My main worry is that you've got a dictionary cache.
> > Updating TS$ directly could end up with something
> > like:
> >
> > "OLD_TSPACE_NAME" in the cache, and "NEW_TS_NAME" in
> > the table.
> >
> > You could probably get away with it in circumstances
> > where you bounce the database to ensure clean cache's
> > but ... ugh!
> >
> > Of more concern, if the practice was in place before
> > you got there, it means they had a system where no-one
> > got alarmed by this process...That's more of a worry
> > than the process itself.
> >
> > Cheers
> > Connor
> >
> > --- rgaffuri_at_cox.net wrote: > tablespace name needs
> > to be unique. So we import a
> > > tablespace. Drop the old one. Rename the new one to
> > > the name of the old one.
> > >
> > > Allows us to keep the system in real time. Otherwise
> > > we have to take the tablespace offline. This way the
> > > user does not notice any downtime. Actually we have
> > > tested this against in doubt queries(users do not do
> > > DML against these tablespaces) and Oracle appears
> > > smart enough to complete the query accurately.
> > > >
> > > > From: "Deshpande, Kirti"
> > > <kirti.deshpande_at_verizon.com>
> > > > Date: 2003/05/09 Fri AM 11:21:42 EDT
> > > > To: Multiple recipients of list ORACLE-L
> > > <ORACLE-L_at_fatcity.com>
> > > > Subject: RE: Renaming tablespace by updating
> > > SYS.TS$
> > > >
> > > > How does renaming tablespace makes this process
> > > simpler?
> > > >
> > > > - Kirti
> > > >
> > > > -----Original Message-----
> > > > Sent: Friday, May 09, 2003 9:32 AM
> > > > To: Multiple recipients of list ORACLE-L
> > > >
> > > >
> > > > We are doing this to make our transportable
> > > tablespace process simpler. We import the
> > > transported tablespace. Drop the old one. Rename the
> > > new one.
> > > >
> > > > Anyone else do this? Any pitfuls other than the
> > > shock and awe of us touching TS$? I know its not
> > > supported.
> > > >
> > > > For those of you who hate this idea, they've been
> > > doing it since before I got here. Just looking for
> > > outside opinions on this.
> > > >
> > > > --
> > > > Please see the official ORACLE-L FAQ:
> > > http://www.orafaq.net
> > > > --
> > > > Author: Deshpande, Kirti
> > > > INET: kirti.deshpande_at_verizon.com
> > > >
> > > > Fat City Network Services -- 858-538-5051
> > > http://www.fatcity.com
> > > > San Diego, California -- Mailing list and
> > > web hosting services
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > To REMOVE yourself from this mailing list, send an
> > > E-Mail message
> > > > to: ListGuru_at_fatcity.com (note EXACT spelling of
> > > 'ListGuru') and in
> > > > the message BODY, include a line containing: UNSUB
> > > ORACLE-L
> > > > (or the name of mailing list you want to be
> > > removed from). You may
> > > > also send the HELP command for other information
> > > (like subscribing).
> > > >
> > > >
> > >
> > > --
> > > Please see the official ORACLE-L FAQ:
> > > http://www.orafaq.net
> > > --
> > > Author: <rgaffuri_at_cox.net
> > > INET: rgaffuri_at_cox.net
> > >
> > > Fat City Network Services -- 858-538-5051
> > > http://www.fatcity.com
> > > San Diego, California -- Mailing list and web
> > > hosting services
> > >
> > ---------------------------------------------------------------------
> > > To REMOVE yourself from this mailing list, send an
> > > E-Mail message
> > > to: ListGuru_at_fatcity.com (note EXACT spelling of
> > > 'ListGuru') and in
> > > the message BODY, include a line containing: UNSUB
> > > ORACLE-L
> > > (or the name of mailing list you want to be removed
> > > from). You may
> > > also send the HELP command for other information
> > > (like subscribing).
> > >
> >
> > =====
> > Connor McDonald
> > web: http://www.oracledba.co.uk
> > web: http://www.oaktable.net
> > email: connor_mcdonald_at_yahoo.com
> >
> > "GIVE a man a fish and he will eat for a day. But TEACH him how to fish,
and...he will sit in a boat and drink beer all day"
> >
> > __________________________________________________
> > Yahoo! Plus
> > For a better Internet experience
> > http://www.yahoo.co.uk/btoffer
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: =?iso-8859-1?q?Connor=20McDonald?=
> > INET: hamcdc_at_yahoo.co.uk
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
> >
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: <rgaffuri_at_cox.net
> INET: rgaffuri_at_cox.net
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: <bulbultyagi_at_now-india.net.in
  INET: bulbultyagi_at_now-india.net.in

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri May 09 2003 - 18:21:49 CDT

Original text of this message

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