Print Thread
Page 1 of 2 1 2
List Tables and Views Query Builder
#32605 08/31/06 06:35 PM
Joined: Apr 2006
Posts: 11
TECNOLOGY
R
Member
OP Offline
Member
R
Joined: Apr 2006
Posts: 11
TECNOLOGY
Hello, In my company we use the Oracle version 10g 10.2.0.2, and we are not obtaining to use the Query Reporter 2,5 or 3,0, in the option Query Builder, which had the BUG of version of the Oracle 10g in view ALL_OBJECTS, with forecast of correction in november/06.

One is about the impossibidade to open the tables list and views, when we select option ALL_OBJECTS, since we cannot in connecting them with the password of the Owner and using USER_OBJECTS.

Our DBA carried through monitoring of query carried through and as it is constructed today, really does not function. It does not obtain to use one another way to carry through query, that would be to create one another one view with synonymous ALL_OBJECTS, had the Allroud to have predetermined the name of the vision with owner SYS.

We use the PLSQL Developer 7, and in this OK, which had is functioning query to be different. The DBA, although to consider that this query is incorrect therefore it is using view DBA_OBJECTS, the alteration for reading of this view also would solve.

Necessary of its aid, so that it evaluates the possibility to liberate new version, modifying query carried through in the indicated point, or the the least removing the prefix of owner SYS to the front of the name of the view.
You it could verify with urgency?

Current version of query in the applicatory one:
select object_name, owner object_owner,
status, object_type, created, last_ddl_time
from sys.all_objects o1
where object_type = :object_type
and (object_type != 'SYNONYM'
or ( (owner = user or owner = 'PUBLIC')
and exists (select * from sys.all_objects o2,
sys.all_synonyms s2
where s2.owner = o1.owner
and s2.synonym_name = o1.object_name
and o2.owner = s2.table_owner
and o2.object_name = s2.table_name
and o2.object_type ='TABLE')) )
order by decode(owner, user, 0, 1), owner, object_name

DBA Suggested query version :
select object_name, owner object_owner,
status, object_type, created, last_ddl_time
from sys.dba_objects o1
where object_type = :object_type
and (object_type != 'SYNONYM'
or ( (owner = user or owner = 'PUBLIC')
and exists (select * from sys.dba_objects o2,
sys.dba_synonyms s2
where s2.owner = o1.owner
and s2.synonym_name = o1.object_name
and o2.owner = s2.table_owner
and o2.object_name = s2.table_name
and o2.object_type ='TABLE')) )
order by decode(owner, user, 0, 1), owner, object_name


Thanks!


Ronaldo Trentim
System Analyst
Re: List Tables and Views Query Builder
#32606 09/01/06 07:23 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
I have added this to the list of enhancement requests.


Marco Kalter
Allround Automations
Re: List Tables and Views Query Builder
#32607 09/04/06 04:57 PM
Joined: Apr 2006
Posts: 11
TECNOLOGY
R
Member
OP Offline
Member
R
Joined: Apr 2006
Posts: 11
TECNOLOGY
You it would have a forecast for accomplishment of the correction?

Thanks!


Ronaldo Trentim
System Analyst
Re: List Tables and Views Query Builder
#32608 09/05/06 10:57 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
It is not a correction, it would need to be an option. Normal users don't have access to DBA views.

I don't have a date yet.


Marco Kalter
Allround Automations
Re: List Tables and Views Query Builder
#32609 09/06/06 05:19 PM
Joined: Apr 2006
Posts: 11
TECNOLOGY
R
Member
OP Offline
Member
R
Joined: Apr 2006
Posts: 11
TECNOLOGY
Dear Marco,

I agree to you, however, if it will be like that the PLSQL/Developer 7.0.2.10.76 might have problem, as it uses for resource the DBA reading of views to its object research. Kindly verify it.

Looking forward to hearing from you.

Thanks and best regards,

Ronaldo


Ronaldo Trentim
System Analyst
Re: List Tables and Views Query Builder
#32610 09/22/06 05:52 PM
Joined: Apr 2006
Posts: 11
TECNOLOGY
R
Member
OP Offline
Member
R
Joined: Apr 2006
Posts: 11
TECNOLOGY
Dear Marco,

I lowered the 3.0.0.241 version, and I carried through tests but the problem still persists. You have some forecast for solution?
Looking forward to hearing from you.

Thanks and best regards,


Ronaldo Trentim
System Analyst
Re: List Tables and Views Query Builder
#32611 03/21/07 06:39 PM
Joined: Apr 2006
Posts: 11
TECNOLOGY
R
Member
OP Offline
Member
R
Joined: Apr 2006
Posts: 11
TECNOLOGY
Hello, In my company we use the Oracle Database 10g Enterprise Edition Release 10.2.0.3.0

Use Query Reporter 3.0.0.241 and PLSQL Developer 7.0.3.1123

One is about the impossible to open the tables and views in list expand from Query Builder in two aplications, when we select option ALL_OBJECTS, since we cannot in connecting them with the password of the Owner and using USER_OBJECTS.

Exists new version to correction ??

Necessary of its aid, so that it evaluates the possibility to liberate new version, modifying query carried through in the indicated point, or the the least removing the prefix of owner SYS to the front of the name of the view.
You it could verify with urgency?


Thanks!

--------------------
Ronaldo Trentim
System Analyst


Ronaldo Trentim
System Analyst
Re: List Tables and Views Query Builder
#32612 03/22/07 06:53 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
Perhaps you are running into the issue described in Oracle Note 364822.1 (Poor Performance On Certain Dictionary Queries After Upgrade To 10g)?


Marco Kalter
Allround Automations
Re: List Tables and Views Query Builder
#32613 08/02/07 09:16 AM
Joined: Aug 2007
Posts: 5
H
Member
Offline
Member
H
Joined: Aug 2007
Posts: 5
We have the same problem with the all_objects view in Oracle 10. After looking at the Oracle Notes 364822.1 (all_objects) and 377037.1 (all_synonyms), we found that this is not a workable solution where we need it most on our reporting database (too many user). However, I tested the sql with the /* +RULE */ hint in place with PL/SQL Developer and it returned results, whereas without the hint nothing comes back.

Suggestion for the QueryReporter Developers can they put the above hint into the sql which produce the table, view and synonym lists.

Cheers,
Harry

Re: List Tables and Views Query Builder
#32614 08/02/07 04:37 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
We'll check it out.


Marco Kalter
Allround Automations
Page 1 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.034s Queries: 13 (0.006s) Memory: 2.5634 MB (Peak: 3.0394 MB) Data Comp: Off Server Time: 2024-05-16 19:11:18 UTC
Valid HTML 5 and Valid CSS