Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locate record(s) - fastest way
Message
From
05/02/2002 06:40:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00615261
Message ID:
00615321
Views:
19
>Hi,
>
>I'm trying to make a searchform where Ithe user can serach for a customer on muliple fields at the same time (fields are phonenumber, name, adresse, zipcode...)
>
>If I make a select statement with all these fields in it - the query takes up to 30 seconds og at table with 350000 records. How can I optimize this searchtime ?
>
>
>Regards,
>
>Kenneth Ingebrigtsen

I do NOT recommend placing indices on all fields, only on fields that have many different values. If you do have indices on all fields, you may need to disable some of them temporarily. See my FAQ #8109, for hints on optimizing queries.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform