Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow filter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Slow filter
Divers
Thread ID:
00772678
Message ID:
00772678
Vues:
39
Hi, All,

I have a database is installed on a server for sharing purpose, the application that accesses the database is installed on numerous workstations connected to the server.

As the database size increases, the performance of the application appears to be much slower. Particularly, one form which has the following relationship:
Work--Assignments
                |
                |--Clients
                |--Status
                |--Employees
The Work table has more than 380,000 records, it is displayed in a grid on the form. Work table has a "work_id" field and it is indexed. When I SET ORDER TO work_id, SET FILTER TO WORK_ID = 9601. It takes a long time (10) to refresh the grid, when I scroll through the grid, it frezes periodically.
So, I set the relation off between Work and Assingments right before I SET ORDER TO and SET FILTER TO as mention above, and restore it after that, the performance improves, but it is still slow.

Does anybody have any idea as to how I can improve the performance by any means?

Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform