Hello,
I'm working on an AccessXP program that uses externally linked tables thru ODBC from Pervasive.SQL 2000i. The access program runs on a workstation attached to a Netware 6 server. The data resides on the server. When it runs, it goes for over 24 hours and never finishes. We have to terminate it using alt-ctrl-del. The access program uses an SQL SELECT with 2 INNER JOINS a GROUP BY and 1 ORDER BY.
I don't know anything about this, but another programmer said that i should find out if the "Primary and Foreign Keys" are set and whether "Proper Referential Integrity" is being used. Also are appropriate indexes set for other fields that are searched or sorted on.
I tried running this same program on a standalone computer with the same set of tables(residing on the workstation) using the Pervasive workstation engine with SP3. It did the same thing. Here are the tables and their respective record counts:
Customers 27,069
Items 2,698
Order Headers 92,502
Order lines 159,366
I'm running it on a new DELL Dimension 2350, 2.0ghz, 256meg RAM, 18gig HDD
The program is pretty simple. It creates an export file and optional report using:
DoCmd.OpenReport strcReportName, acViewPreview
DoCmd.TransferText acExportDelim, , strcQueryName, strFile
Any help that anybody can provide would be greatly appreciated.
Thanks,
Tony
I'm working on an AccessXP program that uses externally linked tables thru ODBC from Pervasive.SQL 2000i. The access program runs on a workstation attached to a Netware 6 server. The data resides on the server. When it runs, it goes for over 24 hours and never finishes. We have to terminate it using alt-ctrl-del. The access program uses an SQL SELECT with 2 INNER JOINS a GROUP BY and 1 ORDER BY.
I don't know anything about this, but another programmer said that i should find out if the "Primary and Foreign Keys" are set and whether "Proper Referential Integrity" is being used. Also are appropriate indexes set for other fields that are searched or sorted on.
I tried running this same program on a standalone computer with the same set of tables(residing on the workstation) using the Pervasive workstation engine with SP3. It did the same thing. Here are the tables and their respective record counts:
Customers 27,069
Items 2,698
Order Headers 92,502
Order lines 159,366
I'm running it on a new DELL Dimension 2350, 2.0ghz, 256meg RAM, 18gig HDD
The program is pretty simple. It creates an export file and optional report using:
DoCmd.OpenReport strcReportName, acViewPreview
DoCmd.TransferText acExportDelim, , strcQueryName, strFile
Any help that anybody can provide would be greatly appreciated.
Thanks,
Tony