Aenathras
04-14-2008, 07:28 AM
I hope that someone can give me some suggestions on a problem them is preventing me rolling out a Access database to some of our offices.
I am trying to ascertain how much of the problem I am having is due to:
The design of my database
The hardware infrastructure for which I am designing
First the geography:
Location A is where the database is located on a fileserver
Location B is where I am developing the database (and using/testing it)
Location C is a end user location who also wish to use the database
Distance A-B is significantly shorter than distance A-C and I beleive that the bandwidth/linespeed between A-B is significantly faster than A-C. I am investigating to see if more bandwidth is available but doing so will be both costly and time consuming. In the meantime, I am looking for other ways to overcome this bottleneck.
Next, the location of the databases
Initially I had a single database (FE and BE) but the response times at location C where prohibitively slow. I next split the database into a FE (3 forms, no reports) and a BE (data only). The FE database is 840Kb and the BE database is 808Kb. I don't think the size of either database is prohibitive but you may wish to differ.
Finally, the time tests that I have done so far
Test 1: Opening the database and loading the first form (which includes a subform)
Test 2: Opening a second form from the first form
Test 3: Closing the second form
Test 4: Closing the first form (and the database)
Tests 3 and 4 are very quick when run from both location B and C.
Tests 1 and 2 take longer to run in location C as in location B. Test 1 takes 12 times as long and Test 2 takes 17 times as long.
What I am seeking is advice and suggestions on ways I can narrow down why running the database in location C takes so much longer and if there is anything more I can do.
So far I have:
Reduced the number of forms (and their complexity) to a bare minimum
Split the database FE and BE and put the FE on the users desktop so that it doesn't have to be opened from the server each time
Included code in the forms that checks where a user is and avoids unnecessary processing if they are at a more remote location
Checked for unncessary queries and other objects and deleted them from the FE and BE
Reduced the number of database files to one FE and one BE file - previously more databases were linked
When I was at location C recently and did other tests such as opening a large PDF file from the internet it took very little longer in location C than at location B. I don't understand why this should be when opening two (smaller) Access databases takes disproportionately longer.
I hope I have given enough information to outline the problem that I am trying to crack - please let me know if not. I welcome any suggestions into other areas that I should be considering or if there is anything that I have missed.
I am trying to ascertain how much of the problem I am having is due to:
The design of my database
The hardware infrastructure for which I am designing
First the geography:
Location A is where the database is located on a fileserver
Location B is where I am developing the database (and using/testing it)
Location C is a end user location who also wish to use the database
Distance A-B is significantly shorter than distance A-C and I beleive that the bandwidth/linespeed between A-B is significantly faster than A-C. I am investigating to see if more bandwidth is available but doing so will be both costly and time consuming. In the meantime, I am looking for other ways to overcome this bottleneck.
Next, the location of the databases
Initially I had a single database (FE and BE) but the response times at location C where prohibitively slow. I next split the database into a FE (3 forms, no reports) and a BE (data only). The FE database is 840Kb and the BE database is 808Kb. I don't think the size of either database is prohibitive but you may wish to differ.
Finally, the time tests that I have done so far
Test 1: Opening the database and loading the first form (which includes a subform)
Test 2: Opening a second form from the first form
Test 3: Closing the second form
Test 4: Closing the first form (and the database)
Tests 3 and 4 are very quick when run from both location B and C.
Tests 1 and 2 take longer to run in location C as in location B. Test 1 takes 12 times as long and Test 2 takes 17 times as long.
What I am seeking is advice and suggestions on ways I can narrow down why running the database in location C takes so much longer and if there is anything more I can do.
So far I have:
Reduced the number of forms (and their complexity) to a bare minimum
Split the database FE and BE and put the FE on the users desktop so that it doesn't have to be opened from the server each time
Included code in the forms that checks where a user is and avoids unnecessary processing if they are at a more remote location
Checked for unncessary queries and other objects and deleted them from the FE and BE
Reduced the number of database files to one FE and one BE file - previously more databases were linked
When I was at location C recently and did other tests such as opening a large PDF file from the internet it took very little longer in location C than at location B. I don't understand why this should be when opening two (smaller) Access databases takes disproportionately longer.
I hope I have given enough information to outline the problem that I am trying to crack - please let me know if not. I welcome any suggestions into other areas that I should be considering or if there is anything that I have missed.