Low speed Locate in TZReadOnlyQuery

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
mobileuser
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 21.03.2006, 06:41

Low speed Locate in TZReadOnlyQuery

Post by mobileuser »

I've selected around 166000 records from Mysql table. If I use TZReadOnlyQuer.Locate(field,fieldvalue,[]) then the method executes 10 minutes or great. And if I use TZQuery then the method execute in a moment. Why?
Delphi 7 and MySQL 4.1
designshouse
Fresh Boarder
Fresh Boarder
Posts: 20
Joined: 21.11.2005, 10:13
Location: Pieštany
Contact:

Post by designshouse »

I have also this problem. TZQuery is mutch faster but if I set ReadOnly=True it is slow as a TZReadOnlyQuery.
Sorry for my english
Post Reply