Difference between ORACLE Enterprise and DRM (Dynamic) Stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
horserider
Participant
Posts: 71
Joined: Mon Jul 09, 2007 1:12 pm

Difference between ORACLE Enterprise and DRM (Dynamic) Stage

Post by horserider »

Hello All,

Our DBA has refused to grant access to any SYS tables that needs SELECT acess in order to use the Oracle Enterprise Stage. We can use either Oracle Enterprise Stage or Dynamic Relational Stage to access ORACLE Data.

My question is

(1)
Why does ORACLE Enterprise Stage needs access to the SYS Tables? Is there any documentation that explains how/why does it use the SELECT grants to the SYS TABLES?

(2)
Is there huge difference between Oracle Enterprise and Dynamic Relational Stage if we are ONLY use ORACLE as SOURCE? Our target is NOT ORACLE?
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Refer to Install and Upgrade Guide for "Accessing the Oracle Parallel Server".
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Oracle Enterprise uses system tables to determine whether and, if so, how the table is partitioned.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

And to use the right Index.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Get a new DBA. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
horserider
Participant
Posts: 71
Joined: Mon Jul 09, 2007 1:12 pm

Post by horserider »

Even though we know why SELECT access to above tables are needed, it cannot be implemented in my environment. DBA simply refused to give access to these table and I can see a valid point there! DBA says if we are given SELECT privileges, we will be able to know all information about any table on the ORACLE server and that can compromise on security!

SO, Instead of doing the below step

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_tab_subpartitions 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 userid>;

Is there a way we can still make these tables available through VIEWS ONLY and make the Oracle Enterprise Stage Work? OR any other way to make the Enterprise Stage work as well as addressing the security concern?
iDomz
Participant
Posts: 81
Joined: Wed Jul 25, 2007 5:25 am
Location: London

Post by iDomz »

Shouldn't security be focusing more on your data than metadata?

If you have access to the data, the system or your business is already compromised.

PS : No, I dont have a solution :)
shamshad
Premium Member
Premium Member
Posts: 147
Joined: Wed Aug 25, 2004 1:39 pm
Location: Detroit,MI

Post by shamshad »

Do you have option to use SERVER JOB?

If you don't want to use Relational Database Stage to connect to ORACLE and want to use any ORACLE STAGE, try Oracle OCI Stage in Server Job.

If you wish you can find some documentation regarding ORACLE ENTERPRISE STAGE in Parallel Job and ORACLE OCI Stage in SERVER Job.
Post Reply