Tdatabase performance issue

Tdatabase performance issue

Postby reds » Wed Jul 10, 2019 7:11 pm

Should there be any performance overhead when using Tdatabase as opposed USE DBF command

As reading a through a DBF of approx 9k records is about 2-3 seconds slower when opened using Tdatabase than when
it is opened by the USE command.

There are no filters or relations set,DBF uses one NTX

Currently just running on a stand alone PC

Thanks
Peter
reds
 
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London

Re: Tdatabase performance issue

Postby nageswaragunupudi » Thu Jul 11, 2019 4:28 am

Should there be any performance overhead when using Tdatabase as opposed USE DBF command

Yes.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10690
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Tdatabase performance issue

Postby hua » Thu Jul 11, 2019 5:02 am

Peter,
You can try :SetBuffer(.f.) to see whether that could help improve the speed a bit
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Tdatabase performance issue

Postby nageswaragunupudi » Thu Jul 11, 2019 5:11 am

hua wrote:Peter,
You can try :SetBuffer(.f.) to see whether that could help improve the speed a bit

Yes, it does improve the speed. Same as reading DBF directly.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10690
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Tdatabase performance issue

Postby reds » Thu Jul 11, 2019 9:10 am

Thanks both that did it
Regards
Peter
reds
 
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 75 guests