Skip site navigation (1) Skip section navigation (2)

Re: slow result

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: slow result
Date: 2007-01-23 10:53:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
am  Tue, dem 23.01.2007, um 11:34:52 +0100 mailte Laurent Manchon folgendes:
> Hi,
> I have a slow response of my PostgreSQL database 7.4 using this query below
> on a table with 800000 rows:
> select count(*)from tbl;

If i remember correctly, i saw this question yesterday on an other


Because PG force a sequencial scan. You can read a lot about this in the
archives. Here some links to explanations:

Hope that helps, Andreas
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA

In response to

  • slow result at 2007-01-23 10:34:52 from Laurent Manchon

pgsql-performance by date

Next:From: Steinar H. GundersonDate: 2007-01-23 10:55:41
Subject: Re: slow result
Previous:From: Heiko W.RuppDate: 2007-01-23 10:43:16
Subject: Re: slow result

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group