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: PARTITION attache to SYNONYM

Re: PARTITION attache to SYNONYM

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Wed, 08 Aug 2001 12:01:41 -0700
Message-ID: <F001.00364D57.20010808120002@fatcity.com>

Clearly this hasn't happened ;)

But if the item shows up in dba_tab_partitions then there is a data segment linked to the partition.

Get the SQL from the view dba_tab_partitions, you will see that the first section of the 3 unions is for tabpart$, and it joins tabpart$ to seg$ on file#' and block#.

Clip out this bit of the sql, and select out the file# and block# for the funny partition.

Then use those values to query the
file and block against dba_segments to
find out what data segment is actually
being referenced.

Jonathan Lewis

Seminars on getting the best out of Oracle Last few places available for Sept 10th/11th See http://www.jlcomp.demon.co.uk/seminar.html

-----Original Message-----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Date: 08 August 2001 18:22

|Hi Jonathan,
| Oracle 8.1.7.0 on Solaris 2.8 (5.8 or just 8).
|
| It is a private synonym owned by the table owner.
|
| Strange indeed, there is no record of the partition
| in dba_segments. All the other partitions show up,
| (with the correct owner) and the app is still loading
| August data. Where is what I am wondering now?
|
| Sigh ....
|
| All I really need to know is what happens if
| I drop the underlying table, the synonym and
| recreate the synonym to point to a new table.
|
| Thanks for your assistance.
|
|Dave
|
|

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jonathan Lewis
  INET: jonathan_at_jlcomp.demon.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Wed Aug 08 2001 - 14:01:41 CDT

Original text of this message

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