Print Thread
Enhancement Request - execute script on Primary Connection prior to querying catalog
#60125 06/03/19 06:25 PM
Joined: Apr 2019
Posts: 10
D
Dylan_K Offline OP
Member
OP Offline
Member
D
Joined: Apr 2019
Posts: 10
Full details to justify this request can be found here:

Detailed proof of concept for improving PLSQL Developer connect time

More recent versions of Oracle database take an extraordinary amount of time just to select zero rows from dba_ views. Many of us need to use the option "Use DBA Views if available" to see all objects in the PL/SQL Developer object browser. However, with the default session options, it can take over a minute for PL/SQL Developer to complete its connection step because of the slowness of the dba_ views.

This request is to allow for a .sql file to be executed on what ultimately becomes the Primary Connection for PL/SQL Developer prior to any of the "select * from sys.dba_xxxxxx where rownum < 1" queries. The idea is that by executing the requested .sql file, we can set whatever session parameters aid response time of the dba_ views in our database environments.

Thanks for your consideration. I really hope you will choose to implement this soon as it would save a bunch of us a whole lot of time!

Re: Enhancement Request - execute script on Primary Connection prior to querying catalog
Dylan_K #60128 06/04/19 08:26 AM
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: Enhancement Request - execute script on Primary Connection prior to querying catalog
Marco Kalter #62046 09/16/20 07:37 AM
Joined: Apr 2020
Posts: 21
Germany
D
Member
Offline
Member
D
Joined: Apr 2020
Posts: 21
Germany
my 2cent

i think a
Code
where 1=2 
is the better Solution .. as "Short Circuit Evaluation"

Yours D.

Re: Enhancement Request - execute script on Primary Connection prior to querying catalog
Dylan_K #62050 09/16/20 09:34 PM
Joined: Apr 2019
Posts: 10
D
Dylan_K Offline OP
Member
OP Offline
Member
D
Joined: Apr 2019
Posts: 10
I have tried both for querying the catalog. It doesn't short circuit in either case. The only way I have found to make catalog queries fast is to force RULE based optimization.


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.029s Queries: 14 (0.012s) Memory: 2.5135 MB (Peak: 3.0425 MB) Data Comp: Off Server Time: 2024-05-19 23:57:44 UTC
Valid HTML 5 and Valid CSS