473,378 Members | 1,384 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,378 software developers and data experts.

Help with large database

I am running a front end / back end setup (from end on local machine, back end on network). The network has slowed to the point where queries used in the form can take minutes to look up (but if the backend is local, it takes about 1/2 a second).

In order to keep working, we have moved the backend to one of the users machine, but that means realtime data is not available for all.

Anyone know of a way around this? (replica? something else?) I like the speed of the local machine queries, but really need the info out on the network.

Thanks,
Rory_Small
Aug 30 '06 #1
2 1277
PEB
1,418 Expert 1GB
Hi,
Reelly there is slowing when your database is on the Server. I'm running the same type of application /front-end application/ and I experience the same type of problems!

But there is some solutions about this!

Usualy I create a temporary tables distributed on the local machines.
Then when I consider that a query is very heavy and the results of the query are very important, This query is appended to the local temporary table!

An other solution can be SQL, keys and index optimizing of your database!

For exemple I don't prefer to use text values for keys, or have multiple keys!
Index only the most important fields on which you do the most lookup!
More indexes can slow the time to append records in your tables!
Without indexes your search in the most importent fields will slow also!
When you use SQL simplify your SQL. Less tables bigger speed! This rule sometimes isn't true! It depends only on your relationship between tables!

The subqueries sometimes speed up your query sometimes not, it's question to test for every case!

If the subquery is very heavy it's better to Save the result in separate table on the local machine and then use the ready result in others queries!

Sometimes it's better to have conditions only on the indexed fields! Those conditions speed up your query! Less conditions on other non indexed fields, faster execution!

The last thing that I'm doing is introducing the info by the users on the local machines! It runs very good! Then they have to press a Save button that transfert the information on the network! So they do it for each document and so there isn't problem with actualisation of the information! The information is actualised on the Server! The volume of the database is near 1 000 000 records! And the most slow queries run for about 4 minutes! But there is a reelly big number of calculations and user defined functions!

One tip: It's better to not use frequently the user defined functions in your queries! They slow down your queries! But sometimes they are big advantage! ;)
Aug 30 '06 #2
PEB
1,418 Expert 1GB
Also in the documentation of MS Access I've seen some recommandations to speed up MS Access:

- the name of the database have to be less than 8 characters without the extension
-it's better that the database is stored in a folder near the Drive three
-the folder have to be also with max length of 8 characters
Sep 1 '06 #3

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

Similar topics

1
by: Erich Trowbridge | last post by:
Has anybody seen this tool? It is awesome. check out http://vw.vermeer.org/ . It's a php front end for large-scale syslog deployments. It makes managing syslog in large networks a snap. The idea...
1
by: DJTB | last post by:
zodb-dev@zope.org] Hi, I'm having problems storing large amounts of objects in a ZODB. After committing changes to the database, elements are not cleared from memory. Since the number of...
6
by: Greg | last post by:
I am working on a project that will have about 500,000 records in an XML document. This document will need to be queried with XPath, and records will need to be updated. I was thinking about...
6
by: Mark Reed | last post by:
Hi all, I am trying to learn a little about programming (I know next to nothing so far) and have found some code which hides the toolbars. However, this bit of code is a little too effective and...
3
by: Tony Lugg | last post by:
I have an application with a document management form. When users add documents to the form, I call the API function SHGetFileInfo to get the associated large and small icons for the file. These...
3
by: vanvee | last post by:
Hi I have an application for my company's HR department where we store resumes for candidates we receive. I have an application that uses VB.Net and ADO.Net and data bindings (through code) to...
2
by: trialproduct2004 | last post by:
Hi all i am having two application which are using database connectivity. In both the application i am filling one large table of database into dataset. When i run first application it will...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
15
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to...
3
by: cuties | last post by:
Hi all.... i'm very new to this programming language. i'm required to fulfill this task in the company i'm doing my practical. i hope i can get guide for my problem... Here is the script i...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.