Speedtest DBF vs. LetoDB and mySQL

Re: Speedtest DBF vs. LetoDB and mySQL

Postby Otto » Tue Oct 19, 2021 4:45 pm

Dear James,
may I ask what speed you get from your internet provider.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: Speedtest DBF vs. LetoDB and mySQL

Postby James Bott » Tue Oct 19, 2021 5:13 pm

Officially, 150Mbps but right now it is 130Mbps.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Speedtest DBF vs. LetoDB and mySQL

Postby hmpaquito » Tue Oct 19, 2021 6:14 pm

Jimmy wrote:hi Otto,

how many PC are you use for that Test ?

it does not make Sence to test only with 1 x PC
DBF will not use "Share-Mode" when only 1 x PC access DBF

so you need al least 2 x "active" PC and Server to run a Test with DBF
also use UNC Path to access DBF to be sure to use same "IP-Connection" and not Lanmanager with Drive-Letter

Jimmy


Hi,

I think in dbf exclusive or shared mode is configured by programmer, only by programmer.

Regards
hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: Speedtest DBF vs. LetoDB and mySQL

Postby Jimmy » Tue Oct 19, 2021 10:58 pm

hi,

I think in dbf exclusive or shared mode is configured by programmer, only by programmer.

do you know how "Share" Mode work with SMB :?:
DBF are NOT made for Network it must "Share" a "File-Based" System using SMB

SMB will "slow down" when 2nd User open same DBF -> "Opportunistic Locking"
so i ask for at least 2 x PC and "Server" to simulate Access Time.

that is the Benefit of a Client / Server System where you do not have "direct Access" to Data.

---

as i can say DBF is faster when work "Record-based" e.g. when SEEK()
SQL will be much faster when have a "big Filter" where you can´t build a Index / SCOPE for DBF to "limit" it.
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Speedtest DBF vs. LetoDB and mySQL

Postby James Bott » Wed Oct 20, 2021 12:37 am

Jimmy,

DBF are NOT made for Network it must "Share" a "File-Based" System using SMB

SMB will "slow down" when 2nd User open same DBF -> "Opportunistic Locking"
so i ask for at least 2 x PC and "Server" to simulate Access Time.


I just opened five copies of my test browse program, all from One Drive, and they are each just as fast as the first one. They are all opened in shared mode and browsing the same 1 million record file with a scope. Each one opens in less than a second.

as i can say DBF is faster when work "Record-based" e.g. when SEEK()
SQL will be much faster when have a "big Filter" where you can´t build a Index / SCOPE for DBF to "limit" it


I don't doubt that, but I haven't really had a situation where I couldn't use a scope.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Speedtest DBF vs. LetoDB and mySQL

Postby Jimmy » Wed Oct 20, 2021 1:28 am

hi,

i never work with "One Drive" so i do not know about its Cache
i´m not sure what "Browse" is under FiveWin ... like Cl*pper or GRID ?

"Browse" using a "DbSkipper" are slow while GRID can be fast using LVN_GETDISPINFO Notify Event.

James Bott wrote:
as i can say DBF is faster when work "Record-based" e.g. when SEEK()
SQL will be much faster when have a "big Filter" where you can´t build a Index / SCOPE for DBF to "limit" it

I don't doubt that, but I haven't really had a situation where I couldn't use a scope.


guess you have a "Filter" like x < y < z and that on 20 FIELDs.
you can not well use Index / SCOPE so you have to check every Record.
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Speedtest DBF vs. LetoDB and mySQL

Postby James Bott » Wed Oct 20, 2021 5:59 am

Jimmy,

i never work with "OneDrive" so i do not know about its Cache

Nor do I.

i´m not sure what "Browse" is under FiveWin ... like Cl*pper or GRID ?

I am using the built-in Browse() function of FiveWin.

"Browse" using a "DbSkipper" are slow while GRID can be fast using LVN_GETDISPINFO Notify Event.

Browse() uses a skip I presume. A new page loads in about a second from OneDrive.

guess you have a "Filter" like x < y < z and that on 20 FIELDs.
you can not well use Index / SCOPE so you have to check every Record.


Well, I have been programming since the 1970s and I don't recall ever needing a 20 field filter.

I agree that SQL has a lot to offer, but DBFs do also. I am not claiming the DBFs can do everything SQL can do, but for most programs they have worked well for me.
Last edited by James Bott on Wed Oct 20, 2021 6:17 am, edited 1 time in total.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Speedtest DBF vs. LetoDB and mySQL

Postby Otto » Wed Oct 20, 2021 6:03 am

Hi Jimmy,
xBrowse is our (FIVEWIN) listbox.
c: \ fwh \ source \ classes \ xbrowse.prg

Here you can find the complete source code of xBrowse.
The good thing about Fivewin is that you have the complete source code.
Nothing is hidden!

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 62 guests