Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8B0612E0060 for ; Tue, 25 Mar 2008 06:27:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 90534-04 for ; Tue, 25 Mar 2008 06:27:22 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by postgresql.org (Postfix) with ESMTP id 551BF2E002F for ; Tue, 25 Mar 2008 06:27:22 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so717898ana.33 for ; Tue, 25 Mar 2008 02:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=9gW0daBF9TKL5ho6aLU/wkv8U0xwdeO4xQYY09E2eEI=; b=G7lPhaWdRTLxl7FMuB5x9ul5hYPmTb8S9FJyrtRU6vcmY533tib0dl95yEYddVdjiyx/bhe0qZW0pCna/o+RTyByb/VN0q7czUzK4B23RWH5Dnerw/hkyJ354q8vB0iJtyLG0lGJYtx3vPmlhiSwk3sXyZfoVS53v+R/8LbVJ1k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fiQogBWfNLcAJk9iTbva6fsVZcuSRhGCALbyaPU6vdJGGqjqhG02cf+KEOhIfne+NC8OuM7RM+6z8chblVQ6Brlpoi0nTt2awVFSyPdRAa35F8HtHK+mhZ8Q3moT/ez2zc+9wwJiZBeddt9ANeFv2vREc1n4IG7Nc4MmIIQraB0= Received: by 10.100.255.17 with SMTP id c17mr21169832ani.37.1206437241530; Tue, 25 Mar 2008 02:27:21 -0700 (PDT) Received: by 10.100.105.20 with HTTP; Tue, 25 Mar 2008 02:27:21 -0700 (PDT) Message-ID: Date: Tue, 25 Mar 2008 14:57:21 +0530 From: "sathiya psql" To: "Uwe C. Schroeder" , pgsql-admin@postgresql.org Subject: Re: postgresql is slow with larger table even it is in RAM In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2056_20471335.1206437241514" References: <200803250142.14715.uwe@oss4u.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/205 X-Sequence-Number: 28688 ------=_Part_2056_20471335.1206437241514 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline some more info.... */proc/cpuinfo* processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Celeron(R) CPU 2.66GHz stepping : 1 cpu MHz : 2667.031 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pni monitor ds_cpl tm2 cid cx16 xtpr bogomips : 5340.26 Is there any specifications, a table should not contain more than N number of records...... This count(id) am doing for experimentations, not only this query all the queries are taking much time... Any idea on this ??? how to make queries to execute faster when the number of rows are nearly 50 lakh ------=_Part_2056_20471335.1206437241514 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline some more info....

/proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Celeron(R) CPU 2.66GHz
stepping        : 1
cpu MHz         : 2667.031
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pni monitor ds_cpl tm2 cid cx16 xtpr
bogomips        : 5340.26


Is there any specifications, a table should not contain more than N number of records......

This count(id) am doing for experimentations, not only this query all the queries are taking much time...

Any idea on this ??? how to make queries to execute faster when the number of rows are nearly 50 lakh
------=_Part_2056_20471335.1206437241514--