EXCLUSIVE:
Skip: 22 secs
Create index: 0.26 secs
Skip with index: 0.25
SHARED:
Skip: 128 secs
Create index: 14 secs
Skip with index: 125 secs
Is it expected or is there a trick I can use to speed up operations in
shared mode?
Thank you in advance.
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic
i create index in excliusive and in server side
netio will be a good way for do it
can you post the index expression that give this differences?
with time if executed on the server and on client?
2010/7/23 Enrico Maria Giordano <e.m.gi...@emagsoftware.it>:
--
Massimo Belgrano
> in Exclusive you are the ONLY user, so you can use cache/read-ahead
> tecniques, like reading 100 records with one disk read.
>
> in Shared mode you NEED to read one record at time, so 100 records,
> 100 disk reads (it is simplified example)
Ok, but is there any workaround?
> can you post the index expression that give this differences?
The slowness is without index too, just skipping: 22 vs. 128 secs.
> > Is it expected or is there a trick I can use to speed up operations in
> > shared mode?
>
> Forget about MS-Windows and switch to some serious operating
> system and execute your programs remotely ;-).
I meant, a "feasible" workaround. :-)
> > > Is it expected or is there a trick I can use to speed up operations in
> > > shared mode?
> >
> > Forget about MS-Windows and switch to some serious operating
> > system and execute your programs remotely ;-).
>
> I meant, a "feasible" workaround. :-)
a client-server scenario like ads, or running your app remotely. other
than that, no.
the moment any sort of network file system comes to play, performance
gets scared and hides in the basement.
--
[-]
mkdir /nonexistent
I'd suggest NETIO but didn't test it yet although very interested in
using it.
I'm not sure how would be the test results using it but a comparation
would be very nice at this point.
Qatan
> a client-server scenario like ads, or running your app remotely. other
> than that, no.
>
> the moment any sort of network file system comes to play, performance
> gets scared and hides in the basement.
Ok, thank you. :-(
> Without an altruistic motivation, scientists cannot distinguish between
> beneficial technologies and the merely expedient.
???
> Hello,
>
> I'd suggest NETIO but didn't test it yet although very interested in
> using it.
> I'm not sure how would be the test results using it but a comparation
> would be very nice at this point.
Thank you.
-----Messaggio Originale----- Da: "Massimo Belgrano" <mbel...@deltain.it>
A: <harbou...@googlegroups.com>
Data invio: venerdì 23 luglio 2010 19.09
Oggetto: Re: [harbour] Re: Big speed difference between EXCLUSIVE and SHARED???
Without an altruistic motivation, scientists cannot distinguish between
beneficial technologies and the merely expedient.
EMG
Enrico. I had the same situation like your in some months ago. I have a
table with 43000 records and about 100 fields and common
while/replace/skip/enddo process needed about 4 minutes to be complete. I
replace it by a sql script and the time now is: (believe me) 8 seconds using
ADS.
I sugest you try netio or use ADS with server side process.
Regards,
Toninho.
__________________________________________________
Fale com seus amigos de gra�a com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
Enrico. I had the same situation like your in some months ago. I have a table with 43000 records and about 100 fields and common while/replace/skip/enddo process needed about 4 minutes to be complete. I replace it by a sql script and the time now is: (believe me) 8 seconds using ADS.I meant, a "feasible" workaround. :-)
I sugest you try netio or use ADS with server side process.
Regards,
Toninho.
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/
Thanks to all for your suggestions.