473,473 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

slow database query

I have an access 97 database on a windows 95 platform and windows 95/XP
client that query on the database.
Client computer under 95 have not query problems but computer under XP are
very slow and made extra network traffic between client and server database
Could you say me why please
Nov 12 '05 #1
3 2007
There is some interaction with networking between Win9x and NT that doesn't
go as well as it should. Place the back-end on an NT machine (NT4, Win2k,
WinXP) and you should get better performance and the 9x clients should still
work well.

--
Wayne Morgan
MS Access MVP
"Toto" <to**@wanadoo.fr> wrote in message
news:bu**********@news-reader1.wanadoo.fr...
I have an access 97 database on a windows 95 platform and windows 95/XP
client that query on the database.
Client computer under 95 have not query problems but computer under XP are
very slow and made extra network traffic between client and server database Could you say me why please

Nov 12 '05 #2
The user fix to restore performance back is to make sure that you keep a
connection to a table opened at all times FROM the front end, to the back
end.

Windows XP has a huge increase in file security stuff, and thus anything
that deletes, or creates a file TAKES a very long time! Since ms-access
constantly tries to delete and create the locking file, then a huge
performance hit takes place, as now ms-access is simply reduced to the speed
of the system to create/delete that locking file.

So, keep a persistent connection open, and things will perform like before.
In fact, you will generally find things performance EVEN better when you do
this.

I have run a97 on some new XP computers networks, and it absolute
screams....

So, when the application start-ups, just have it open a form to some table
in the back end, and either minimize that form, or even set it invisible.
You can also open a global reocrdset in code also. Regardless, anything that
forces the backend to stay opened to the front end will fix this problem.

--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@msn.com
http://www.attcanada.net/~kallal.msn
Nov 12 '05 #3
pl********************@msn.com (Albert D. Kallal) wrote in
<3InOb.152288$X%5.49959@pd7tw2no>:
The user fix to restore performance back is to make sure that you
keep a connection to a table opened at all times FROM the front
end, to the back end.

Windows XP has a huge increase in file security stuff, . ..
It does? What exactly? NTFS 5 was introduced with Win2K, so I don't
know of anything added in WinXP.

Certainly MS reorganized the user interface and altered the default
security configuration somewhat, but I don't know of any "huge
increase in file security."
. . . and thus
anything that deletes, or creates a file TAKES a very long time!
Er, on what basis do you make this statement? I see no such thing
happening in any versions of Windows.
Since ms-access constantly tries to delete and create the locking
file, then a huge performance hit takes place, as now ms-access is
simply reduced to the speed of the system to create/delete that
locking file.
I think this is simply not true.
So, keep a persistent connection open, and things will perform
like before. In fact, you will generally find things performance
EVEN better when you do this.
There as *always* been a performance drain from repeatedly
deleting/recreating the LDB file, and the performance hit has not
been changed by the OS.
I have run a97 on some new XP computers networks, and it absolute
screams....

So, when the application start-ups, just have it open a form to
some table in the back end, and either minimize that form, or even
set it invisible. You can also open a global reocrdset in code
also. Regardless, anything that forces the backend to stay opened
to the front end will fix this problem.


For what it's worth, I've tried this kind of thing in a few apps
and never seen any discernable effect on performance whatsoever.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 12 '05 #4

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

Similar topics

11
by: DJJ | last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL tables to a Microsoft Access 2003 database. I am finding that the data from the MySQL tables takes a hell of a long time...
7
by: Thomi Baechler | last post by:
Hello Everybody I run the following query against to identical databases. Execution time on the first DB is 0 seconds, on the other 6 seconds! SELECT dbo.HRMABZ.EMPKEY ,...
2
by: Yonatan Goraly | last post by:
I am in the process of adding PostgreSQL support for an application, in addition to Oracle and MS SQL. I am using PostgreSQL version 7.3.2, Red Hat 9.0 on Intel Pentium III board. I have a...
3
by: Janross | last post by:
I'm having trouble with a query that's prohibitively slow. On my free-standing office computer it's fine (well, 2-4 seconds), but on the client's network, it takes at least 5 minutes to run. ...
0
by: roiavidan | last post by:
Hi, I'm having a bit of a problem with a small application I wrote in C#, which uses an Access database (mdb file) for storing financial data. After looking for a similiar topic and failing to...
11
by: Andy_Khosravi | last post by:
My problem: I'm having trouble with a query taking much too long to run; a query without any criteria evaluating only 650 records takes over 300 seconds to run (over the network. On local drive...
6
by: lawrence k | last post by:
The following function is way too slow. If anyone has any suggestions about how to speed it up, I'd be grateful for them. We have to call this function 36 times on one page, and I think each time...
11
by: HC | last post by:
I posted this in one of the VB forums but I'm starting to think it might be more appropriate to have it here, since it really seems to be a SQL server (MSDE/Express 2005) problem: Hey, all, I...
12
by: grace | last post by:
i am wondering why my database retrieval becomes too slow...we set up a new server (ubuntu, breezy badger) machine where we transferred all our files from the old server.. Our new server uses Asus...
2
by: existential.philosophy | last post by:
This is a new problem for me: I have some queries that open very slowly in design view. My benchmark query takes about 20 minutes to open in design view. That same query takes about 20 minutes...
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
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.