Re: Problema de Performance con Query
- From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
- To: "Omar Zeballos (Kantutani)" <ozeballos(at)kantutani(dot)com>
- Cc: pgsql-es-ayuda(at)postgresql(dot)org
- Subject: Re: Problema de Performance con Query
- Date: Mon, 30 Oct 2006 23:18:06 -0300
- Message-id: <20061031021806(dot)GD31329(at)alvh(dot)no-ip(dot)org>
Omar Zeballos (Kantutani) escribió:
> Lista,
> tengo un query de la sgte forma:
>
> select count(*)
> from v_kardex
> where coddocumento = 'VTA'
> and cantidad > 0
> and fecha = '2006-10-01'
Puedes mostrar la definicion de la vista, y los indices que tienes en la
tabla kdx_kardex?
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
Home |
Main Index |
Thread Index