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

How to make Database access fast


Hi Friends,

In my linux server (LOCAL), *accessing data through the PHP scripts from
MySQL (3.23.41)tables, it is taking more time. * Earlier it was very fast. *
Now a days
some reports it is taking more than five minuits. Earlier it use to come with
in a minuit. *What may the problem and what I have to do spead up the process.
Regards,

Vinod.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
3 3585
Vinod - my first guess would be to index the columns that you use in your
WHERE clauses .
The time lapse you describe sounds similar to a 'table scan'. Table scans
are bad - and are indicative of the lack of indices and are typically
occurring when the columns used in a WHERE clause of a SQL select statement
do NOT have an index.

Please check, change em, add em, whatnot - and let me know the results?
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"Vinod Bhaskar" <ma****@eth.net> wrote in message
news:bh**********@FreeBSD.csie.NCTU.edu.tw...

Hi Friends,

In my linux server (LOCAL), accessing data through the PHP scripts from
MySQL (3.23.41)tables, it is taking more time. Earlier it was very fast.
Now a days
some reports it is taking more than five minuits. Earlier it use to come with in a minuit. What may the problem and what I have to do spead up the process.

Regards,

Vinod.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #2
Vinod - my first guess would be to index the columns that you use in your
WHERE clauses .
The time lapse you describe sounds similar to a 'table scan'. Table scans
are bad - and are indicative of the lack of indices and are typically
occurring when the columns used in a WHERE clause of a SQL select statement
do NOT have an index.

Please check, change em, add em, whatnot - and let me know the results?
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"Vinod Bhaskar" <ma****@eth.net> wrote in message
news:bh**********@FreeBSD.csie.NCTU.edu.tw...

Hi Friends,

In my linux server (LOCAL), accessing data through the PHP scripts from
MySQL (3.23.41)tables, it is taking more time. Earlier it was very fast.
Now a days
some reports it is taking more than five minuits. Earlier it use to come with in a minuit. What may the problem and what I have to do spead up the process.

Regards,

Vinod.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #3
Vinod - my first guess would be to index the columns that you use in your
WHERE clauses .
The time lapse you describe sounds similar to a 'table scan'. Table scans
are bad - and are indicative of the lack of indices and are typically
occurring when the columns used in a WHERE clause of a SQL select statement
do NOT have an index.

Please check, change em, add em, whatnot - and let me know the results?
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"Vinod Bhaskar" <ma****@eth.net> wrote in message
news:bh**********@FreeBSD.csie.NCTU.edu.tw...

Hi Friends,

In my linux server (LOCAL), accessing data through the PHP scripts from
MySQL (3.23.41)tables, it is taking more time. Earlier it was very fast.
Now a days
some reports it is taking more than five minuits. Earlier it use to come with in a minuit. What may the problem and what I have to do spead up the process.

Regards,

Vinod.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #4

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

Similar topics

1
by: Limey | last post by:
Hi All, I want to write an application that will talk to a RDBMS. The application needs to be platform neutral from both an operating system and database backend point of view. I have...
0
by: Vinod Bhaskar | last post by:
Hi Friends, In my linux server (LOCAL),  accessing data through the PHP scripts from MySQL (3.23.41)tables, it is taking more time.   Earlier it was very fast.   Now a days some reports it is...
49
by: Relaxin | last post by:
It is just me or has MS created some of the worst ways to access and display data? You can use a DataSet, but if you want to sort or filter the data to must use a DataView which is created from...
5
by: stachu | last post by:
I make Database in Ms Access at order I good read but week speech and understand speech, If You want take me order please exactly describe working of database stachu from Poland mail:...
24
by: Bob Alston | last post by:
Anyone know a way to make all access to a linked table, in another Access MDB, read only? I really don't want all the hassle of implementing full access security. I can't do this at the server...
4
by: Shawn H. Mesiatowsky | last post by:
I have a strange problem here. I have my development computer with IIS installed, and we have a SQL server as well on a windows 2000 server. both are members of a domain. I have restricted access...
4
by: Val P | last post by:
How does everyone design the database access layer in an asp.net application? Two options that come to mind is: 1. create a database class and instanciate it as needed, local to a function or...
2
by: williamphenryjr | last post by:
This is a long post. If you have answers I'm ready. If you have web links, that'd be great too. I'm a Junior/Senior in Computer Science at Washington State University, so you can make some...
7
by: =?Utf-8?B?Um9nZWxpbw==?= | last post by:
hey, I have 2 threads, th and th2, both of them run a method. each of these 2 methods requires database access. sometimes I get an error, that database requires an open connection, and that...
3
by: Rajendran | last post by:
Hi all, I've installed pyodbc module to access my database (MS Access). I've setup a User level DSN to the database.mdb file. When I run my python code in the command prompt it is retrieving the...
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
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?
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...
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
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...

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.