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

Home -> Community -> Usenet -> c.d.o.server -> Re: missing privileges on tables after full import DB

Re: missing privileges on tables after full import DB

From: Mark D Powell <mark.powell_at_eds.com>
Date: 7 Feb 2002 06:16:48 -0800
Message-ID: <178d2795.0202070616.593cf936@posting.google.com>


Ganesh Raja <ganesh_at_gtfs-gulf.com> wrote in message news:<rde46u8mams00tusehrkb60rjiof6tqt34_at_4ax.com>...
> On 6 Feb 2002 23:15:48 -0800, nguyen.hieu_at_citicorp.com (hieu) wrote:
>
> >Hi,
> >I have found this very common with 8i which would causes user's
> >functions, procedures, packages or views invalid after import. Let say
> >user A granted SELECT on table EMP to user B, but the SELECT privilege
> >on A.EMP will not be granted to B during full DB import. So every time
> >I have to check in old DB then make a script to re-run again in new DB
> >then recompile invlid objects. Is there a way to fix this ?
> >
> >Thanks
> >Hieu
>
> Did u do the exports with the grants = Y [ which is the default] and
> the grants =Y in Imports...
>
> Maybethere lies the error...
>
> [Additions and Corrections Always Welcome.]
> Best Regards,
> Ganesh R

We usually make two exports, the second of which is made with the rows=n option so that no data is exported. Then after running a regular full import we run the second import and it brings anything lost in the first export.

The import utility also has a rows=n option. Try using it to bring in any lost objects/grants. I believe you will still want the ignore=y option. Please review the option in the Utility manual before using.

Received on Thu Feb 07 2002 - 08:16:48 CST

Original text of this message

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