I posted about this before and have learned a good bit since, but the database is still slow!
I've taken over from another IT guy who designed the database that's being used in a school. The data itself is sitting on a Windows 2008 server and clients are Windows 7 using Access Runtime 2010, though when tested with XP, things were also slow. It is also nice and fast when opening the .accdr on the server itself.
I've been reading the granite.ab.ca Microsoft Access Performance FAQ but it's not quite clear enough for me.
I copied the database to my VM and to a Windows 7 computer for testing. When the .accdr and the database were on the same machine (i.e. I mapped a local drive) performance improved significantly. When I mapped the Windows 7 shared folder and accessed it over the network, performance was poor. So it doesn't quite fit with the above quote, but I'm trying every fix I can.
I created a form, called frmKeepOpen, based off a table that only has four entries. Then in the opening page's OnOpen event, I added "DoCmd.OpenForm "frmKeepOpen", acNormal, , , , acHidden". When I closed and reopened the (now renamed) .accdb, it wouldn't open.
If I understand correctly, that command is trying to keep a bound form open the whole time the .accdr is being used. As it stands, our welcome page stays open all the time. Is this not adequate?
I've recorded a video of how slow the database is (to show and to measure times). It took 50 seconds to open .accdr to welcome screen and 3 minutes more to open "add student" form. I put some breakpoints in the VBA of the add student form and the delay is all before the VBA starts to execute. The student list form doesn't take long to load. Doing any kind of database editing is slow.
youtube /watch?v=P0jrLd2OE1E
Any advice/explanations would be greatly appreciated.
I've taken over from another IT guy who designed the database that's being used in a school. The data itself is sitting on a Windows 2008 server and clients are Windows 7 using Access Runtime 2010, though when tested with XP, things were also slow. It is also nice and fast when opening the .accdr on the server itself.
I've been reading the granite.ab.ca Microsoft Access Performance FAQ but it's not quite clear enough for me.
When the symptoms encountered indicate that performance is acceptable with a single user in the database but drops significantly when two or more users are in the database, the problem may be caused by interaction with the LDB file.
I copied the database to my VM and to a Windows 7 computer for testing. When the .accdr and the database were on the same machine (i.e. I mapped a local drive) performance improved significantly. When I mapped the Windows 7 shared folder and accessed it over the network, performance was poor. So it doesn't quite fit with the above quote, but I'm trying every fix I can.
I created a form, called frmKeepOpen, based off a table that only has four entries. Then in the opening page's OnOpen event, I added "DoCmd.OpenForm "frmKeepOpen", acNormal, , , , acHidden". When I closed and reopened the (now renamed) .accdb, it wouldn't open.
If I understand correctly, that command is trying to keep a bound form open the whole time the .accdr is being used. As it stands, our welcome page stays open all the time. Is this not adequate?
I've recorded a video of how slow the database is (to show and to measure times). It took 50 seconds to open .accdr to welcome screen and 3 minutes more to open "add student" form. I put some breakpoints in the VBA of the add student form and the delay is all before the VBA starts to execute. The student list form doesn't take long to load. Doing any kind of database editing is slow.
youtube /watch?v=P0jrLd2OE1E
Any advice/explanations would be greatly appreciated.