Re: How to speed up the database query?

From: "Christian Paul B(dot) Cosinas" <cpc(at)cybees(dot)com>
To: "'Abdul Wahab Dahalan'" <wahab(at)mimos(dot)my>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: How to speed up the database query?
Date: 2005-10-27 15:45:05
Message-ID: 001701c5db0d$66cc73e0$1e21100a@ghwk02002147
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)postgresql(dot)org [mailto:pgsql-sql-owner(at)postgresql(dot)org]
On Behalf Of Abdul Wahab Dahalan
Sent: Thursday, October 27, 2005 7:04 AM
To: pgsql-sql(at)postgresql(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew Sullivan 2005-10-27 15:51:35 Re: why vacuum
Previous Message codeWarrior 2005-10-27 15:34:06 Re: handling money type