473,404 Members | 2,174 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,404 software developers and data experts.

What could be causes of sluggish database speeds even after upgrades

91
Prior to today I had a fairly large database, split into front end and back end, the back end residing on a 2-bay Dlink NAS we use as a file server, running in RAID, connected through an old 16 port hub running at 100mbits. Roughly 5-10 users have the front end on their PC and are in the database at the same time.

The problem was the database was very slow moving through records, opening forms, everything was just very sluggish.

I ordered some upgrades that are now in place as of today, a new 24 port cisco switch, the whole network is running gigabit now, a new acer server, one of the mini ones, came with 1TB and runs Window Home Server, as well as a 64GB SSD that the main database is now on (hoping to increase speed there again).

Even after these upgrades are in place, it is only a bit faster. When the backend is on someones computer in a shared folder, or if you have the front and backend on the same computer it is a lot faster. What is the difference between that and how I have it set up on the server? Shouldnt the server be faster? Why is it still sluggish?
May 21 '10 #1
8 1910
sicarie
4,677 Expert Mod 4TB
I'd recommend baselining everything - look at the CPU usage on the server (both requesting, and the back-end db), NIC speeds, RAM (and RAM utilization), etc...then also do so on the network equipment.

Then compare that baseline with the "best case" of what the equipment is supposed to be able to do. Whatever's peaked is probably your bottleneck.

If none of that works, it might be a db design issue, but I'd start with profiling your network and systems.
May 21 '10 #2
matt753
91
- CPU usage is always < 10%, except when fileindexer.exe is doing stuff
- Not sure how to check NIC speeds, but the whole network is running gigabit, all the cards, cables, cisco switch.


Not sure if it could be a design issue, it runs fine on a local machine (not sluggish) as well as if you share the folder on another network computer and access the front end from another.
May 21 '10 #3
sicarie
4,677 Expert Mod 4TB
What happens when just one user accesses it? Is it still slow?
May 21 '10 #4
matt753
91
Yes seems like its always the same speed if 1 user is on or 10
May 25 '10 #5
matt753
91
It is a fairly large database, ~90 pages of VBA code, ~50 tables, ~80 forms. I originally thought it was slow just because of the amount of information its loading, but it runs very smoothly when the front end and backend are on the local machine.

Just to clarify, when its running sluggish is when the front end is on the local and the backend shared on the server.
May 25 '10 #6
sicarie
4,677 Expert Mod 4TB
And is this an MSSQL db?

I'm going to ask for assistance here - I done single-user access database programs, but haven't gotten too far into the coding - it sounds like there may be something between the system and the code that's running inefficiently if it's only the client.

And just to clarify - these queries run significantly faster when executed on the local machine?
May 27 '10 #7
matt753
91
No sorry its an Access running Jet Engine for BE.

Its running faster when it IS on the local machine, forms take almost no time to load, same with any tasks being done. When its running slow is when its shared on the server.
May 27 '10 #8
matt753
91
Update: Just tried running the backend off another client machine, so i'm running the FE on my machine, the BE is on another, and it is a lot faster than running it off the server. Not quite as fast as with both them on the local, but significantly faster than running off the server or the old NAS.
May 27 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

40
by: Steve Juranich | last post by:
I know that this topic has the potential for blowing up in my face, but I can't help asking. I've been using Python since 1.5.1, so I'm not what you'd call a "n00b". I dutifully evangelize on the...
18
by: Jeff Boes | last post by:
I'm sure this is a concept that's been explored here. I have a table (fairly simple, just two columns, one of which is a 32-digit checksum) with several million rows (currently, about 7 million)....
2
by: Chris Stokes | last post by:
Hi all, WE currently use PG for the local database on our POS workstations in shops. Data is then extracted and sent back to head office. Also product updates etc are regularly sent to the shops....
1
by: James | last post by:
Hi - I am looking to start a custom database for a small company. I have normally used Access data storage but have been looking into Xml as a possible data storage - what are the draw backs of...
12
by: PD | last post by:
I am currently making a dating website. I want to have some information on how to structure the database and the php files so that I can achieve speed and efficiency. Can some one please give...
6
by: c676228 | last post by:
Hi everyone, I never used global.asa. I am thinking of load some data in application_onstart which is read only from database(I mean the data will never be changed in any asp pages of the...
2
by: ykhamitkar | last post by:
Hi There, I have some questions about ms access database 1. How much data ms access can handle with good speed. 2. Does the size of column affect the speed of ms access database. (If i...
11
by: zgh1970 | last post by:
Hi, Friends, I need to know how to stop all database process even after db2stop. How can I stop all database processes? I have finished upgraded our system test and UAT region from 32-bit to...
1
by: railwayplatform | last post by:
i have database in ms access. whem my data was upto 50 Mb is was good. but right now i have 80 Mb data. and my system data saving and printing speed is too slow i have to wait 2-3 mins to print/save...
4
by: nestle | last post by:
I have DSL with a download speed of 32MB/s and an upload speed of 8MB/s(according to my ISP), and I am using a router. My upload speed is always between 8MB/s and 9MB/s(which is above the max upload...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.