From: Matthew Nuzum <mattnuzum@gmail.com>
To: Phadnis <shphadnis@rediffmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: help needed asap....
Date: Sun, 12 Mar 2006 12:38:27 -0600
Message-ID: <f3c0b4080603121038o2f1b70b6h96ce4e01b691d6f4@mail.gmail.com> (raw)
In-Reply-To: <20060312114625.7463.qmail@webmail8.rediffmail.com>
References: <20060312114625.7463.qmail@webmail8.rediffmail.com>
On 12 Mar 2006 11:46:25 -0000, Phadnis <shphadnis@rediffmail.com> wrote:
> Hi.
>
> I am new to postgres and i need help from u.i hope i get positive response.. though my questions mite seem silly to u...
>
> iam working on postgres.. i have around 1 lakh records in almost 12 tables..
> 1 ) when i try to query for count or for any thg it takes a long time to return the result. How to avoid this
>
> 2) also i want to know how to increase the performance..( i do vacuum once in a day)
>
These two questions are applicable to this list... your other
questions may get quicker responses on the users list.
However, you haven't provided enough information for anyone here to
help. Here's what you should do:
Find queries that you think should be faster than they are. For
example, if your query is "Select count(*) from foo" you can get
important performance information about the query by running:
EXPLAIN ANALYZE select count(*) from foo
Send the details of the query, including the output from the explain
analyze output (which looks pretty meaningless until you've learned
what to look for) to the list with a detailed question.
Also, for general performance hints, tell the list what your setup is,
what items you've tweaked (and maybe why).
Generally, be as generous with your details as you can. Also, have you
googled around for hints? Here's a good website with information:
http://www.varlena.com/varlena/GeneralBits/Tidbits/index.php
Notice there's a section on performance tips.
Also, this list works because volunteers who have knowledge and free
time choose to help when they can. If you really need answers ASAP,
there are a few organizations who provide paid support.
--
Matthew Nuzum
www.bearfruit.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: mattnuzum@gmail.com, shphadnis@rediffmail.com
Subject: Re: help needed asap....
In-Reply-To: <f3c0b4080603121038o2f1b70b6h96ce4e01b691d6f4@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox