Re: Problems with + 1 million record table - Mailing list pgsql-performance

From Arjen van der Meijden
Subject Re: Problems with + 1 million record table
Date
Msg-id 4706687E.2000408@tweakers.net
Whole thread Raw
In response to Problems with + 1 million record table  (Cláudia Macedo Amorim<claudia.amorim@pcinformatica.com.br>)
List pgsql-performance
On 5-10-2007 16:34 Cláudia Macedo Amorim wrote:
> [13236.470]                 statement_type=0, statement='select
> a_teste_nestle."CODCLI",
> a_teste_nestle."CODFAB",
> a_teste_nestle."CODFAMILIANESTLE",
> a_teste_nestle."CODFILIAL",
> a_teste_nestle."CODGRUPONESTLE",
> a_teste_nestle."CODSUBGRUPONESTLE",
> a_teste_nestle."CONDVENDA",
> a_teste_nestle."DATA",
> a_teste_nestle."DESCRICAO",
> a_teste_nestle."PESO",
> a_teste_nestle."PRACA",
> a_teste_nestle."PUNIT",
> a_teste_nestle."PVENDA",
> a_teste_nestle."QT",
> a_teste_nestle."QTITVENDIDOS",
> a_teste_nestle."QTPESOPREV",
> a_teste_nestle."QTVENDAPREV",
> a_teste_nestle."SUPERVISOR",
> a_teste_nestle."VENDEDOR",
> a_teste_nestle."VLVENDAPREV"
> from a_teste_nestle
>
> '

Is that the entire query? Are you sure you really want to select the
entire table without having a where-clause? That's normally not a very
scalable aproach...

Best regards,

Arjen

pgsql-performance by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: [GENERAL] Slow TSearch2 performance for table with 1 million documents.
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Problems with + 1 million record table