473,396 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Ldb Persistent Locking

Dear Access Peers,

I am having a problem over a network, where the Database takes 5-Mins
to load instead of the normal 5 seconds. It has only started to do
this since I split the frontend & backend. There is millions of posts
with the same problem, but solving this has not been easy.

I have read http://www.granite.ab.ca/access/performancefaq.htm which
has some excellent points, and I think the solution is the LDB
persistent locking. I have implemented the bound form as suggested -
which indeed increases performance once the database has eventually
loaded.

However - I am using a Function in the Autoexec Macro to "relink"
tables to the backend location, and it's this part which is taking 5
mins+. Unfortunately this must run before the "Bound Form" opens - as
the re-linked is designed to allow the backend to change
directory/network locations without Manual re-linking.

Some more info:

* Frontends are on each workstation.
* Backend is on the Server
* The slowness occurs when more than 1 user is logged in.
* Win XP SP1a, OfficeXP SP2 - Latest JET.
* 3 Backends - with roughly 40 tables.

As I said above - my impression is it's the dreaded ldb persistent
locking problem - but how can I incorporate the Re-linking rountine,
which must occur before opening a table in the backend - to be bound
to a form?

Thankyou for listening!

Elias Farah.
Nov 12 '05 #1
3 3373
You could use an If statement to see if the first table linked to each source is linked to
that source and if so, discontinue checking the rest of them. This would let you exit the
routine quicker except when you really need to relink the tables.

--
Wayne Morgan
"Elias Farah" <lo******@hotmail.com> wrote in message
news:c6**************************@posting.google.c om...
Dear Access Peers,

I am having a problem over a network, where the Database takes 5-Mins
to load instead of the normal 5 seconds. It has only started to do
this since I split the frontend & backend. There is millions of posts
with the same problem, but solving this has not been easy.

I have read http://www.granite.ab.ca/access/performancefaq.htm which
has some excellent points, and I think the solution is the LDB
persistent locking. I have implemented the bound form as suggested -
which indeed increases performance once the database has eventually
loaded.

However - I am using a Function in the Autoexec Macro to "relink"
tables to the backend location, and it's this part which is taking 5
mins+. Unfortunately this must run before the "Bound Form" opens - as
the re-linked is designed to allow the backend to change
directory/network locations without Manual re-linking.

Some more info:

* Frontends are on each workstation.
* Backend is on the Server
* The slowness occurs when more than 1 user is logged in.
* Win XP SP1a, OfficeXP SP2 - Latest JET.
* 3 Backends - with roughly 40 tables.

As I said above - my impression is it's the dreaded ldb persistent
locking problem - but how can I incorporate the Re-linking rountine,
which must occur before opening a table in the backend - to be bound
to a form?

Thankyou for listening!

Elias Farah.

Nov 12 '05 #2
Wayne,

Thanks for replying!

I first thought your suggestion might work, but when there is multiple
backends which means the first table can't be assumed to hold all
linked tables. Traversing the tabledef is the only way to make sure
The Data,Global & Product backends are properly re-linked.

Hmmm....... Good suggestion, but the multiple backends ruin it.
I think a bit harder about it. Perhaps I should make a table storing
backend filenames, then I can test 3 tables. Still seems ugly!
Regards,
Elias Farah

You could use an If statement to see if the first table linked to each source is linked to
that source and if so, discontinue checking the rest of them. This would let you exit the
routine quicker except when you really need to relink the tables.

--
Wayne Morgan
"Elias Farah" <lo******@hotmail.com> wrote in message
news:c6**************************@posting.google.c om...
Dear Access Peers,

I am having a problem over a network, where the Database takes 5-Mins
to load instead of the normal 5 seconds. It has only started to do
this since I split the frontend & backend. There is millions of posts
with the same problem, but solving this has not been easy.

I have read http://www.granite.ab.ca/access/performancefaq.htm which
has some excellent points, and I think the solution is the LDB
persistent locking. I have implemented the bound form as suggested -
which indeed increases performance once the database has eventually
loaded.

However - I am using a Function in the Autoexec Macro to "relink"
tables to the backend location, and it's this part which is taking 5
mins+. Unfortunately this must run before the "Bound Form" opens - as
the re-linked is designed to allow the backend to change
directory/network locations without Manual re-linking.

Some more info:

* Frontends are on each workstation.
* Backend is on the Server
* The slowness occurs when more than 1 user is logged in.
* Win XP SP1a, OfficeXP SP2 - Latest JET.
* 3 Backends - with roughly 40 tables.

As I said above - my impression is it's the dreaded ldb persistent
locking problem - but how can I incorporate the Re-linking rountine,
which must occur before opening a table in the backend - to be bound
to a form?

Thankyou for listening!

Elias Farah.

Nov 12 '05 #3

"Elias Farah" <lo******@hotmail.com> wrote in message
news:c6**************************@posting.google.c om...
Wayne,

Thanks for replying!

I first thought your suggestion might work, but when there is multiple
backends which means the first table can't be assumed to hold all
linked tables. Traversing the tabledef is the only way to make sure
The Data,Global & Product backends are properly re-linked.

Hmmm....... Good suggestion, but the multiple backends ruin it.
I think a bit harder about it. Perhaps I should make a table storing
backend filenames, then I can test 3 tables. Still seems ugly!
Regards,
Elias Farah

From experience I have found that a startup routine that simply goes through
and deletes all linked tables and then re-creates them can be faster than
trying to refresh the links. I think I recently answered a post asking for
a routine with multiple back ends. That poster had been storing the info in
an ini file.

Fletcher

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Randell D. | last post by:
Folks, I currently connect to my db with PHP code that uses non-persistent connections. I've read that persistent connections can help performance since a connection to the db will use an...
16
by: Paul Rubin | last post by:
I've had this recurring half-baked desire for long enough that I thought I'd post about it, even though I don't have any concrete proposals and the whole idea is fraught with hazards. Basically...
0
by: obhayes | last post by:
Hi All, Im using classic ASP (3.0) and I have a web farm with 2 webservers (webserver A and webserver B, both windows server 2003). I do not want to store any client specific information on the...
1
by: brad | last post by:
Hi, Im using classic ASP (3.0) and I have a web farm with 2 webservers (webserver A and webserver B, both windows server 2003). I do not want to store any client specific information on the...
4
by: M?rio Amado Alves | last post by:
Will you help an outsider trying to trace the current state of persistent object technology? "I expect that there will be persistent object stores with STL-conforming interfaces fitting into the...
0
by: Kepler | last post by:
I'm testing very basic FormsAuthentication and having trouble with non-persistent cookies. Once authenticated with a non-persistent cookie, if I leave the browser alone for 30 minutes,...
1
by: Eric Lindsay | last post by:
I am trying to understand the differences between and uses of persistent, default and alternate styles. I have read http://www.w3.org/TR/REC-html40/present/styles.html section 14.3.2 on...
3
by: sanchita | last post by:
Hello everyone, I didn't get any response in "Security" forum hence posting here again. I am having problem with persistent cookies. Even after setting "CreatePersistentCookie" to true in...
9
by: mel | last post by:
Hi all, I need a persistent TCP connection with my web server over page reloads. This means that, even if the user goes to a different page (in my domain), I want to keep a TCP connection...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.