Unable to read oracle data
Moderators: chulett, rschirm, roy
While I am not sure what issue you are having, did you mean 'partitioning' instead of 'portioning' in the error message?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 17
- Joined: Wed Feb 06, 2008 5:09 am
Re: Unable to read oracle data
error is
TDOR 000192
'Could not determine the oracle version for partitioning'
TDOR 000192
'Could not determine the oracle version for partitioning'
SURAJKUMAR M
-
- Participant
- Posts: 17
- Joined: Wed Feb 06, 2008 5:09 am
Re: Unable to read oracle data
error is
TDOR 000192
'Could not determine the oracle version for partitioning'
TDOR 000192
'Could not determine the oracle version for partitioning'
SURAJKUMAR M
Did you ensure that all of the access grants were given:
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;
And then ensuring that your user has that role?
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;
And then ensuring that your user has that role?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 17
- Joined: Wed Feb 06, 2008 5:09 am
Re: Unable to read oracle data
we have a oracle schema called NSO_REF
The following select privileges are given by dba
GRANT SELECT on sys.dba_extents to NSO_REF;
GRANT SELECT on sys.dba_data_files to NSO_REF;
GRANT SELECT on sys.dba_tab_partitions to NSO_REF;
GRANT SELECT on sys.dba_tab_subpartitions to NSO_REF;
GRANT SELECT on sys.dba_objects to NSO_REF;
GRANT SELECT on sys.all_part_indexes to NSO_REF;
GRANT SELECT on sys.all_part_tables to NSO_REF;
GRANT SELECT on sys.all_indexes to NSO_REF;
The following select privileges are given by dba
GRANT SELECT on sys.dba_extents to NSO_REF;
GRANT SELECT on sys.dba_data_files to NSO_REF;
GRANT SELECT on sys.dba_tab_partitions to NSO_REF;
GRANT SELECT on sys.dba_tab_subpartitions to NSO_REF;
GRANT SELECT on sys.dba_objects to NSO_REF;
GRANT SELECT on sys.all_part_indexes to NSO_REF;
GRANT SELECT on sys.all_part_tables to NSO_REF;
GRANT SELECT on sys.all_indexes to NSO_REF;
SURAJKUMAR M
The grants are given to a user (or role). Try logging into Oracle using your favorite tool (sql developer, TOAD, or the like) and the user that you are using from DataStage. Then do a 'SELECT COUNT(*) FROM sys.dba_tab_partitions;'. What happens?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 17
- Joined: Wed Feb 06, 2008 5:09 am
Re: Unable to read oracle data
my schema name and user name is same that is NSO_REF
the grants are given to user NSO_REF only
the grants are given to user NSO_REF only
SURAJKUMAR M
Did the SELECT work?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 17
- Joined: Wed Feb 06, 2008 5:09 am
Re: Unable to read oracle data
As I am not a premium member I am unable to read your select query given in previous massage
Could you please mention query alone in you reply?
Could you please mention query alone in you reply?
SURAJKUMAR M
I've marked the previous posts as non-premium, just this once since the information is available elsewhere.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 17
- Joined: Wed Feb 06, 2008 5:09 am
Very strange, I would have bet that you would have gotten an error message. Could you do the same select on:
DBA_EXTENTS
DBA_DATA_FILES
DBA_TAB_PARTITONS
DBA_TAB_SUBPARTITONS
DBA_OBJECTS
ALL_PART_INDEXES
ALL_PART_TABLES
ALL_INDEXES
This will ensure that all necessary grants are actually working. Also, is Oracle Parallel Server installed, if so, then add "Select count(*) from SYS.GV_$INSTANCE;"
DBA_EXTENTS
DBA_DATA_FILES
DBA_TAB_PARTITONS
DBA_TAB_SUBPARTITONS
DBA_OBJECTS
ALL_PART_INDEXES
ALL_PART_TABLES
ALL_INDEXES
This will ensure that all necessary grants are actually working. Also, is Oracle Parallel Server installed, if so, then add "Select count(*) from SYS.GV_$INSTANCE;"
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 17
- Joined: Wed Feb 06, 2008 5:09 am
Please find output
SELECT count(*) from sys.dba_extents;
SELECT count(*) from sys.dba_data_files;
SELECT count(*) from sys.dba_tab_partitions ;
SELECT count(*) from sys.dba_tab_subpartitions;
SELECT count(*) from sys.dba_objects;
SELECT count(*) from sys.all_part_indexes;
SELECT count(*) from sys.all_part_tables;
SELECT count(*) from sys.all_indexes;
Select count(*) from SYS.GV_$INSTANCE;
-----------------------------------------------------------------------------------------------------------------------------------------
COUNT(*)
----------------------
20685
1 rows selected
COUNT(*)
----------------------
28
1 rows selected
COUNT(*)
----------------------
259
1 rows selected
COUNT(*)
----------------------
0
1 rows selected
COUNT(*)
----------------------
84090
1 rows selected
COUNT(*)
----------------------
0
1 rows selected
COUNT(*)
----------------------
0
1 rows selected
COUNT(*)
----------------------
84
1 rows selected
COUNT(*)
----------------------
1
1 rows selected
I did not get any error
SELECT count(*) from sys.dba_extents;
SELECT count(*) from sys.dba_data_files;
SELECT count(*) from sys.dba_tab_partitions ;
SELECT count(*) from sys.dba_tab_subpartitions;
SELECT count(*) from sys.dba_objects;
SELECT count(*) from sys.all_part_indexes;
SELECT count(*) from sys.all_part_tables;
SELECT count(*) from sys.all_indexes;
Select count(*) from SYS.GV_$INSTANCE;
-----------------------------------------------------------------------------------------------------------------------------------------
COUNT(*)
----------------------
20685
1 rows selected
COUNT(*)
----------------------
28
1 rows selected
COUNT(*)
----------------------
259
1 rows selected
COUNT(*)
----------------------
0
1 rows selected
COUNT(*)
----------------------
84090
1 rows selected
COUNT(*)
----------------------
0
1 rows selected
COUNT(*)
----------------------
0
1 rows selected
COUNT(*)
----------------------
84
1 rows selected
COUNT(*)
----------------------
1
1 rows selected
I did not get any error
SURAJKUMAR M
A very odd problem indeed - are you 100% certain that your job uses the Oracle userid 'NSO_REF' - if passed as a parameter then check the runtime values in the director log.
Everything else looks perfectly OK. Perhaps you could try to create your own dummy table and see if you can connect to that one; but I'm just grasping at straws.
Everything else looks perfectly OK. Perhaps you could try to create your own dummy table and see if you can connect to that one; but I'm just grasping at straws.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>