songofsolon
Registered User.
- Local time
- Yesterday, 20:37
- Joined
- Jul 25, 2003
- Messages
- 11
Greetings all,
I have been working over the past year on developing a single-user access app based on data imported three or four times a year from an Informix db. Ideally, this data would be live, and as of this week I finally have the tools at my disposal to make that happen. However, the performance hit has been so great as to make it almost not worthwhile. I'm having the devil's own time figuring out the precise cause.
In order to get the data I need, I have to link 8 different informix tables (some quite large) and query the results. This query includes some calculated fields, though no aggregates, and a subquery that uses a couple of outer joins.
The main form related to this data is based on a query that futher restricts returns from the above query. The main functionality of this form depends on adding and deleting records from a local table through vb.
Using the linked tables and queries instead of the old static table and queries has slowed down the form load to nearly 1 minute, and any actions within the form will then take between 10 to 30 seconds, especially adding or deleting records to the local table.
I have compiled, analyzed, etc. using the optimization suggestions on this forum, but it hasn't seemed to improve any. I haven't yet tried the dummy table/hidden form tip to force the db to stay open, since there seems to be such reluctance on this one and I'm not sure how it would affect other users of the informix data in the company. Would it even help in my situation, since the performance issues are still so great even when the form is open?
Any thoughts on what in particular might be causing the bottleneck? Does it seem like there might be a way to resolve the performance issues and keep the live data, or should I try a semi-live method instead? Thanks very much for any advice you can give.
I have been working over the past year on developing a single-user access app based on data imported three or four times a year from an Informix db. Ideally, this data would be live, and as of this week I finally have the tools at my disposal to make that happen. However, the performance hit has been so great as to make it almost not worthwhile. I'm having the devil's own time figuring out the precise cause.
In order to get the data I need, I have to link 8 different informix tables (some quite large) and query the results. This query includes some calculated fields, though no aggregates, and a subquery that uses a couple of outer joins.
The main form related to this data is based on a query that futher restricts returns from the above query. The main functionality of this form depends on adding and deleting records from a local table through vb.
Using the linked tables and queries instead of the old static table and queries has slowed down the form load to nearly 1 minute, and any actions within the form will then take between 10 to 30 seconds, especially adding or deleting records to the local table.
I have compiled, analyzed, etc. using the optimization suggestions on this forum, but it hasn't seemed to improve any. I haven't yet tried the dummy table/hidden form tip to force the db to stay open, since there seems to be such reluctance on this one and I'm not sure how it would affect other users of the informix data in the company. Would it even help in my situation, since the performance issues are still so great even when the form is open?
Any thoughts on what in particular might be causing the bottleneck? Does it seem like there might be a way to resolve the performance issues and keep the live data, or should I try a semi-live method instead? Thanks very much for any advice you can give.