PC Review


Reply
Thread Tools Rate Thread

Dao.database opendatabase vista performance

 
 
Greg Keane
Guest
Posts: n/a
 
      22nd Mar 2009
I've got an application not written by me that is performing incredibly
poorly in vista in access 2007. We've isolated it to the running
opendatabase on a dao.database object. If 20 machines try to open the
database at the same time in vista the last machine takes up to 30 seconds.
In xp it is instantaneous for all machines.

Why the huge difference?

I've disabled autotuning on the nic and haven't seen a difference.
I've suggested to them to use persistent database connections, but they just
want to blame Vista.
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      22nd Mar 2009
Could be several things.

Presumably you have split the database, so each user has a separate instance
of the front end.

Hopefully you have applied Service Pack 1 for Office 2007. You might also
investiage whether any of the hotfixes help, e.g.:
http://support.microsoft.com/kb/960307
http://support.microsoft.com/kb/957690
List of updates and hotfixes for A2007:
http://allenbrowne.com/Access2007.html

Keeping the path short makes a difference.

Other things like turning off subdatatsheets can help too. Tony Towes has a
list of suggestions here:
http://www.granite.ab.ca/access/performancefaq.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Greg Keane" <Greg (E-Mail Removed)> wrote in message
news:02E63FBE-D101-4C61-9987-(E-Mail Removed)...
> I've got an application not written by me that is performing incredibly
> poorly in vista in access 2007. We've isolated it to the running
> opendatabase on a dao.database object. If 20 machines try to open the
> database at the same time in vista the last machine takes up to 30
> seconds.
> In xp it is instantaneous for all machines.
>
> Why the huge difference?
>
> I've disabled autotuning on the nic and haven't seen a difference.
> I've suggested to them to use persistent database connections, but they
> just
> want to blame Vista.


 
Reply With Quote
 
Albert D. Kallal
Guest
Posts: n/a
 
      22nd Mar 2009
"Greg Keane" <Greg (E-Mail Removed)> wrote in message
news:02E63FBE-D101-4C61-9987-(E-Mail Removed)...
> I've got an application not written by me that is performing incredibly
> poorly in vista in access 2007. We've isolated it to the running
> opendatabase on a dao.database object. If 20 machines try to open the
> database at the same time in vista the last machine takes up to 30
> seconds.
> In xp it is instantaneous for all machines.
>
> Why the huge difference?
>
> I've disabled autotuning on the nic and haven't seen a difference.
> I've suggested to them to use persistent database connections, but they
> just
> want to blame Vista.


Likely all kind of extra security and authentication is going on. and, some
cases it might be somewhat more aggressive in trying to lock the file
exclusive to INCREASE performance. if access can't get exclusive open to the
file, then it will fall back to multi-user mode.

If you don't implement that persistent connection, then a billion gazillion
network and grabbing things occur.

Try the persistent connection, as I seen this problem even occur on windows
xp boxes (and, furthermore I had a BIG BOAST in performance as a result of
doing this).

Really, why slow your application down to the speed of windows networking
that trying to do a BILLION GAZILLION things? force a persistent connection,
and you not be waiting for windows networking anymore because you are
forcing your connection to remain open an all of those huge issues like
virus software, authentication and an additional 10,000 more things in this
list that occurs when a file is opened.

Why not eliminate this issue altogether with a persistent connection?

We could likely write a book of a 1000 pages of the things that occur when a
windows file is attempted to being opened. From security, to exclusives
locks to viruses software to checking permissions, this list gets so long as
to why even being to try and figure out which one of these issues is the
problem. (why not save that time and money for feeding people or helping the
poor in your town?).

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007: OpenDatabase fails to connect to a SQL database JPC Microsoft Excel Programming 0 30th Nov 2007 02:43 PM
Vista to Vista Network Printing -- Slow Performance Issue =?Utf-8?B?UGhpbCBS?= Windows Vista Print / Fax / Scan 3 15th Sep 2007 05:02 PM
Re: **Official Release** Windows Vista: Reliability and Performance Updates for Vista Donald McDaniel Windows Vista General Discussion 2 9th Aug 2007 10:25 AM
WebService file access performance vs database performance Derrick Microsoft C# .NET 0 25th Jun 2004 03:04 PM
Debug Message: OpenDatabase: Unable to open database file Bill Cameron Windows XP General 0 20th Sep 2003 04:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:42 PM.