Hi all
After I installed VFP9 (from VFP 8) I notice a performance issue for some of my input screen. I'm using a lot of SQL queries and Views, and the system seems very slow with VFP9.
I did some testing with SQL select and it gives me weirds results.
The command ;
SYS(3054,1)
SELECT custMain.Mn_code ;
FROM custMain ;
WHERE custMain.Mn_Nom1 = "irving" ;
INTO TABLE pipo1
give me ‘Rushmore optimization level for table custMain : partial’ in VFP 9.0
If I do the same in VFP 8.0, I have full optimization level (I have and index on Mn_Nom1 and on DELETED(), SET DELETE is on).
Now, if I do this query ;
SYS(3054,1)
SELECT custMain.Mn_code ;
FROM custMain ;
WHERE custMain.Mn_code = 123 ;
INTO TABLE pipo1
it gives me full optimization level in both VFP 8 and VFP 9. The field ‘custMain.Mn_code’ is Integer and ‘custMain.Mn_Nom1’ is string.
Maybe I forget one SET() in VFP9. I’ve read the VFP doc, but zipo.
Thanks in advance.
Nro
After I installed VFP9 (from VFP 8) I notice a performance issue for some of my input screen. I'm using a lot of SQL queries and Views, and the system seems very slow with VFP9.
I did some testing with SQL select and it gives me weirds results.
The command ;
SYS(3054,1)
SELECT custMain.Mn_code ;
FROM custMain ;
WHERE custMain.Mn_Nom1 = "irving" ;
INTO TABLE pipo1
give me ‘Rushmore optimization level for table custMain : partial’ in VFP 9.0
If I do the same in VFP 8.0, I have full optimization level (I have and index on Mn_Nom1 and on DELETED(), SET DELETE is on).
Now, if I do this query ;
SYS(3054,1)
SELECT custMain.Mn_code ;
FROM custMain ;
WHERE custMain.Mn_code = 123 ;
INTO TABLE pipo1
it gives me full optimization level in both VFP 8 and VFP 9. The field ‘custMain.Mn_code’ is Integer and ‘custMain.Mn_Nom1’ is string.
Maybe I forget one SET() in VFP9. I’ve read the VFP doc, but zipo.
Thanks in advance.
Nro