Print Thread
Slow column completion in version 11.
#53997 09/12/16 10:58 PM
Joined: Sep 2016
Posts: 8
Sweden
J
jaw Offline OP
Member
OP Offline
Member
J
Joined: Sep 2016
Posts: 8
Sweden
Hi,

I am running the 64-bit version 11.0.6, and I've found that some things seem to take an unexplainable long time.

Especially over slower links we all know, and maybe to some degree accept, that the "Code Assistant" is very slow, especially the first time you use it. It has to populate the list of all available objects, etc. What has become a problem since version 11 (if I recall correctly) is that now even selecting a column for completion causes PL/SQL to completely freeze for 2-5 seconds.

Example: SELECT * FROM table a WHERE a.<press F6><wait for list><select correct column and hit enter><PL/SQL freezes "(not responding)" pops up>

I mean, come on.. I've already selected the name I want. It just needs to copy the column name I selected to the editor window, but for some reasons it obviously seems like it starts doing slow calls to the database. frown

This is really, really, REALLY annoying, and completely throws you out of your flow when you are writing queries or code.

So, I would request the following specifics:
  • Optimize the the code assistant to increase the performance.
  • Stop making calls when not needed (?) (completion of known name)
  • Fix code assistant so the entire application doesn't go into "(not responding)" when it makes its database calls


If anyone recognize these issues and may have some other tips for solving them I would be more than happy to hear of it.

Thank you,
Alexander

Re: Slow column completion in version 11.
jaw #54000 09/13/16 09:06 AM
Joined: Aug 1999
Posts: 22,218
Member
Offline
Member
Joined: Aug 1999
Posts: 22,218
To obtain some more diagnostic information, can you modify the shortcut and add the DebugSQL parameter? For example:

"C:\Program Files\PLSQL Developer\plsqldev.exe" DebugSQL

Reproduce the problem and send me the debug.txt file that is generated in the PL/SQL Developer directory or in the %APPDATA%\PLSQL Developer directory (e.g. C:\Users\<User>\AppData\Roaming\PLSQL Developer).


Marco Kalter
Allround Automations
Re: Slow column completion in version 11.
Marco Kalter #54008 09/15/16 05:40 PM
Joined: Sep 2016
Posts: 8
Sweden
J
jaw Offline OP
Member
OP Offline
Member
J
Joined: Sep 2016
Posts: 8
Sweden
Well, that revealed a lot of interesting things and raised even more questions...

I know now why PL/SQL is so slow starting.. It is spending the first 40 seconds interrogating every connection I have made for some completely unknown reason. Would you mind NOT trying to "check" anything before I actually select which system I want to connect to?

Since I don't seem to be able to attach the file here I'll send it in an email to you.

BR,
//A

Re: Slow column completion in version 11.
jaw #54010 09/16/16 08:38 AM
Joined: Feb 2013
Posts: 251
UTC+10
I
Member
Offline
Member
I
Joined: Feb 2013
Posts: 251
UTC+10
Hi

Try nologon command-line switch.

Re: Slow column completion in version 11.
IvanZ #54031 09/20/16 09:44 AM
Joined: Mar 2013
Posts: 11
Ukraine, Kiev
A
Member
Offline
Member
A
Joined: Mar 2013
Posts: 11
Ukraine, Kiev
I have just come to check is there some likely stuff, and seems it is...

Recently we established 11.2.0.4 x64 and I started to tune it. And after all... select * from user_tables in some schema takes more than 20 secs, SQL*Plus takes less then a second.

But the very interesting thing is at old server 10.2.0.4 plsqldev takes that query less than a second. I use DEV 11.0.4 x32. I've even tried 9.0.6: yesterday firstly at 11.2.0.4 it took less than a sec for that query, but today... You know, I really donno what has changed, I'm trying to turn things back for yestarday...

<<Updated>>
Tried execute 10 consecutive qeuries select * from user_tables:
At 10.2.0.4 it took les than a second each, but at 11.2.0.4 it varies 44-56s. That is it...

Last edited by Athlantis; 09/20/16 10:45 AM.

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.039s Queries: 15 (0.009s) Memory: 2.5183 MB (Peak: 3.0407 MB) Data Comp: Off Server Time: 2024-05-14 18:25:54 UTC
Valid HTML 5 and Valid CSS