Of course as long as your table increases its records, the longer will take
your query.
I think what you want is to minimize the run time even though you have large
tables. You should fine tune your database server (which I am still looking
for the best configuration for my server haha). And get the most logical
queries. Avoid unnecessary queries.
-----Original Message-----
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org]
On Behalf Of Abdul Wahab Dahalan
Sent: Thursday, October 27, 2005 7:04 AM
To: pgsql-sql@postgresql.org
Subject: [SQL] How to speed up the database query?
Hi everyone!
I'm looking for solution to speed up the database query, means that to get
resultset as quicker as we can.
For example if I've 700 records in the table it will take longer time
compared if I've only 20 records. How do we speed up the query?. Any query
technique that can be applied?.
Thus wild card query like : select * from tableA will cause query time
increased compare to say select a,b from tableA.
any help, prettymuch appreciated.
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html