Select access to sys.dba_extents

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sonia jacob
Participant
Posts: 122
Joined: Mon Jul 05, 2004 1:33 pm
Location: MA

Select access to sys.dba_extents

Post by sonia jacob »

Hi all,

Why does the user ID under which DataStage connects to Oracle require select permissions to sys.dba_extents?

Thanks.
Regards
Sonia Jacob
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Because it needs to determine/verify from this table how the partitioning of the table is organized (or, indeed, if there is any).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sonia jacob
Participant
Posts: 122
Joined: Mon Jul 05, 2004 1:33 pm
Location: MA

Post by sonia jacob »

ray.wurlod wrote:Because it needs to determine/verify from this table how the partitioning of the table is organized (or, indeed, if there is any). ...
thank you Ray. Needed to confirm that same before I go to DBA.
Regards
Sonia Jacob
sonia jacob
Participant
Posts: 122
Joined: Mon Jul 05, 2004 1:33 pm
Location: MA

Post by sonia jacob »

sonia jacob wrote:
ray.wurlod wrote:Because it needs to determine/verify from this table how the partitioning of the table is organized (or, indeed, if there is any). ...
Are there other system tables that DS would need select access to?

Thanks
Regards
Sonia Jacob
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi,

We had a similar issue.

Follow this link. It should be resolved soon.

HTH
--Rich
MatsM
Participant
Posts: 3
Joined: Thu Nov 25, 2004 9:21 am

Post by MatsM »

[quote="richdhan"]Hi,

We had a similar issue.

Follow this [url=viewtopic.php?t=87409]link[/url]. It should be resolved soon.

HTH
--Rich[/quote]

Thanks m8, your post helped me out
BR
/Mats
/Mats, 3
sajarman
Participant
Posts: 41
Joined: Mon Nov 28, 2005 6:29 am

Creating role for the privileges.

Post by sajarman »

Hi,

You can also create a role and Grant that role to the user ids using Datastage jobs.

CREATE ROLE DSXE;
GRANT SELECT on sys.dba_extents to DSXE;
GRANT SELECT on sys.dba_data_files to DSXE;
GRANT SELECT on sys.dba_tab_partitions to DSXE;
GRANT SELECT on sys.dba_objects to DSXE;
GRANT SELECT on sys.all_part_indexes to DSXE;
GRANT SELECT on sys.all_part_tables to DSXE;
GRANT SELECT on sys.all_indexes to DSXE;
Once the role is created, grant it to users who will run DataStage jobs, as
follows:
GRANT DSXE to <oracle user id>;

Cheers,
Sajeed.
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

The DBA's are never happy to give these rights to anyone :wink:
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

narasimha wrote:The DBA's are never happy to give these rights to anyone :wink:
Especially if the table names have sys in it :wink:
Jokes apart, if they understand why the tool requires such access, they will give you access. They just want to be sure on their part that such an access will not in any way harm any thing. Some companies have not used such tools which require such vast access and hence there In House standards are such that they cannot give access. I had sucha client where they had just bought the tool and were refusing to give me anything over select and execute permission on regular tables. That was some long gory hours that i spent with the dba group and in house security folks.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

DSguru2B wrote:
narasimha wrote:The DBA's are never happy to give these rights to anyone :wink:
Especially if the table names have sys in it :wink:
Jokes apart, if they understand why the tool requires such access, they will give you access. They just want to be sure on their part that such an access will not in any way harm any thing.
Very true, They made me take the director's approval for read only access to a few sys tables while I was working with Oracle - OMW.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
Post Reply