On 01/17/12 13:21, Michael Madigan wrote:
> We've just converted an old FPW 2.5 program to VFP 9.0.
..........
> What if I created 6 different indexes so I can have all the combinations of 
> client_id, status, and plan?

How many records in this thing, Michael?  If there are only a few 
thousand, and the workstations have more than 256k memory <g>, I don't 
see why an INDEX ON .... FOR .... wouldn't work at least as well as the 
other alternatives.  Unless there are hundreds of thousands of records, 
I'd get it working first and optimize it later.

You definitely want to start with creating the index on a case-by-case 
basis, rather than building them all at startup, so you can change your 
mind more easily if it doesn't work out.

Note that, IMO, setting up permanent indexes to support a set of 
run-time strategies is a poor idea.  They've changed their mind once; 
they'll change it again.

Dan

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4f170173.9010...@san.rr.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to