Print Thread
Page 2 of 4 1 2 3 4
Re: Long "Initializing..." delay running SQL queries in Rel 9
Gustavo #41675 07/27/11 06:49 PM
Joined: Feb 2005
Posts: 59
Latvia
K
Member
Offline
Member
K
Joined: Feb 2005
Posts: 59
Latvia
Hi!

Thank You for info, file sent, hope Marco will look at it soon.

regards
Kirurgs


regards
Kirurgs
Re: Long "Initializing..." delay running SQL queries in Rel 9
Gustavo #41686 07/28/11 02:28 PM
Joined: Sep 2008
Posts: 143
Ireland
W
WexSoft Offline OP
Member
OP Offline
Member
W
Joined: Sep 2008
Posts: 143
Ireland
Hi Marco

I ran some experiments here and am easily able to recreate the problem.

Open a new SQL Window, and enter this 10 line SELECT:

SELECT owner
,NAME
,TYPE
,line
,text
FROM user_source
ORDER BY owner
,NAME
,TYPE
,line;

Copy this and paste 100 times to make 1000 lines of code. Then make a new line and type another command, say

SELECT SYSDATE FROM DUAL;

Select the first 1000 lines, copy and paste 9 times to make 10000 lines before the SYSDATE command above. Then position the cursor in the SYSDATE command above (ensure you have auto select turned on) and hit the execute - you should notice a delay with "Initialising..." displayed on the status line, during which the application is locked.

Note that I tried with just 10000 blank lines, and with 10000 non-SQL lines, and the delay does not happen. So it is related to the application trying to parse the SQL command to be run from other SQL in the Window. Also, the more SQL command lines I add before the SYSDATE command, the longer the delay.

It must be said here that I am running the software on an old Dell Optiplex GS620 under Windows 2000 Professional, and perhaps with a more modern PC with faster processor/OS/more memory etc. there may not be much of a delay, or you may have to add a lot more SQL commands before the SYSDATE command until you see the delay.

If you need any more details, let me know.

Best regards

Billy

Re: Long "Initializing..." delay running SQL queries in Rel 9
WexSoft #41692 07/29/11 09:02 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
There is indeed a 1 second delay on my PC for this 10,000 line script. Do others also experience this delay for large scripts?


Marco Kalter
Allround Automations
Re: Long "Initializing..." delay running SQL queries in Rel 9
Marco Kalter #41695 07/29/11 10:22 AM
Joined: Feb 2005
Posts: 59
Latvia
K
Member
Offline
Member
K
Joined: Feb 2005
Posts: 59
Latvia
Hi!

I tried with 1000 lines, virtually no delay, with 10K it was about one sec as Marco said.
I have 2.5GHz laptop usually running on 800MHz, when I select that and press execute it will speed up to 2.5.

Marco have You had a chance looking into my issue?

regards
Kirurgs


regards
Kirurgs
Re: Long "Initializing..." delay running SQL queries in Rel 9
Kirurgs #41856 08/11/11 05:48 AM
Joined: Feb 2005
Posts: 59
Latvia
K
Member
Offline
Member
K
Joined: Feb 2005
Posts: 59
Latvia
Hi!

Marco have You had a chance looking into issue I'm facing?


regards
Kirurgs
Re: Long "Initializing..." delay running SQL queries in Rel 9
Kirurgs #41864 08/11/11 11:54 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
Yes, but we have not yet been able to find a cause for the issue. We are still looking into this.


Marco Kalter
Allround Automations
Re: Long "Initializing..." delay running SQL queries in Rel 9
Marco Kalter #41873 08/12/11 05:48 AM
Joined: Feb 2005
Posts: 59
Latvia
K
Member
Offline
Member
K
Joined: Feb 2005
Posts: 59
Latvia
Hi!

Is there anything I can help, like providing any additional debug info to you?


regards
Kirurgs
Re: Long "Initializing..." delay running SQL queries in Rel 9
Kirurgs #41881 08/12/11 09:19 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
We'll probably have a test version shortly with some additional diagnostic information to pinpoint the cause of the problem. If you could run this test for us that would be great.


Marco Kalter
Allround Automations
Re: Long "Initializing..." delay running SQL queries in Rel 9
Marco Kalter #41892 08/15/11 04:54 PM
Joined: Feb 2005
Posts: 59
Latvia
K
Member
Offline
Member
K
Joined: Feb 2005
Posts: 59
Latvia
Hi!

Very good, please send me the link/file, I'll gladly provide any debug info.

regards
Kirurgs


regards
Kirurgs
Re: Long "Initializing..." delay running SQL queries in Rel 9
Kirurgs #41900 08/16/11 01:26 PM
Joined: Sep 2008
Posts: 143
Ireland
W
WexSoft Offline OP
Member
OP Offline
Member
W
Joined: Sep 2008
Posts: 143
Ireland
Ditto for me.

Best regards

Billy

Page 2 of 4 1 2 3 4

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.045s Queries: 14 (0.018s) Memory: 2.5611 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-04-29 14:08:03 UTC
Valid HTML 5 and Valid CSS