J
julia77a
Helo everyone,
I have an Access front end application with back end on MS SQL 2000
server. Some of the tables are local, but most of them are linked
tables using ODBC connection (File DSN). The database works decent for
us, but recently our European team started using the database (they are
on the same network and have access to it) and its performance was
really slow, so slow that it was painful to use it. So far I have made
some changes to the database (list at the end of this message) which
did improve the performance, but still it is far from being what we
hope for. So, the next thing I'm trying to do is to archive some of
the old records hoping that it will help with the searches and the
performance in general. The tables are not that big (100K records tops)
but I think this is worth trying to see if it helps with the speed (or
lock of it). I'm hopping to either create an archive database on the
SQL server and connect to it as needed, or even move the data to local
tables and store it zipped along with the front end (forms and queries)
on a share (that's what my boss wants, but I'm not certain if
that's a good idea). What are your thoughts on this? And more
importantly how do I do it? I've never done that before, so I don't
even know where to start. I think it would be best if I had some script
to do it, but my programming is very basic and I would need some help
with that. Any help is appreciated.
Thank you,
Aneta
List of the things that I did to improve the performance:
Forms
- Redesigned Search page by dividing it up into Basic Search and
Advanced Search. Basic Search returns basic information but runs quick,
and Advances Search returns more detailed information but takes longer
to complete.
- Redesigned complex forms removing unnecessary and unused controls and
simplifying the design
- Used page tabs in company details form, which only load when tab gets
clicked.
- Loading most used forms in invisible mode on startup and hiding and
showing them as opposed to closing and opening them. This significantly
improves the opening time of forms.
Indexes
Checked table indexes and discovered that there were duplicate indexes
created on tables and that some indexes were unnecessary. Dropped all
indexes and re-indexed the tables, making sure that each table has one
clustered index, no indexes are duplicated, and only necessary indexes
have been created.
Views
Created some views on the SQL server to speed up some Access queries
I have an Access front end application with back end on MS SQL 2000
server. Some of the tables are local, but most of them are linked
tables using ODBC connection (File DSN). The database works decent for
us, but recently our European team started using the database (they are
on the same network and have access to it) and its performance was
really slow, so slow that it was painful to use it. So far I have made
some changes to the database (list at the end of this message) which
did improve the performance, but still it is far from being what we
hope for. So, the next thing I'm trying to do is to archive some of
the old records hoping that it will help with the searches and the
performance in general. The tables are not that big (100K records tops)
but I think this is worth trying to see if it helps with the speed (or
lock of it). I'm hopping to either create an archive database on the
SQL server and connect to it as needed, or even move the data to local
tables and store it zipped along with the front end (forms and queries)
on a share (that's what my boss wants, but I'm not certain if
that's a good idea). What are your thoughts on this? And more
importantly how do I do it? I've never done that before, so I don't
even know where to start. I think it would be best if I had some script
to do it, but my programming is very basic and I would need some help
with that. Any help is appreciated.
Thank you,
Aneta
List of the things that I did to improve the performance:
Forms
- Redesigned Search page by dividing it up into Basic Search and
Advanced Search. Basic Search returns basic information but runs quick,
and Advances Search returns more detailed information but takes longer
to complete.
- Redesigned complex forms removing unnecessary and unused controls and
simplifying the design
- Used page tabs in company details form, which only load when tab gets
clicked.
- Loading most used forms in invisible mode on startup and hiding and
showing them as opposed to closing and opening them. This significantly
improves the opening time of forms.
Indexes
Checked table indexes and discovered that there were duplicate indexes
created on tables and that some indexes were unnecessary. Dropped all
indexes and re-indexed the tables, making sure that each table has one
clustered index, no indexes are duplicated, and only necessary indexes
have been created.
Views
Created some views on the SQL server to speed up some Access queries