From: rantunes@student.dei.uc.pt
To: pgsql-performance@postgresql.org
Subject: Re: Indices arent being used
Date: Fri, 26 Sep 2003 10:57:28 GMT
Message-ID: <200309261057.h8QAvSXA009541@student.dei.uc.pt> (raw)
>Damn.. Seq. scan for actvars? I would say half an hour is a good throughput.
>
>Are there any indexes on both actvars.product_level and prodlevel.code_level?
Are >they exactly compatible type? int2 and int4 are not compatible in
postgresql >lingo.
>
>That plan should go for index scan. Can you show us the table definitions?
>
>And yes, what tuning you did to postgresql?
>
>Shridhar
The alterations done upon postgresql.conf with 512 RAM were these:
max_connections = 3
shared_buffers = 6000
wal_buffers = 32
sort_mem = 2048
fsync = false
effective_cache_size = 44800
random_page_cost = 3
default_statistics_target = 50
Yes I have an index on actvars.product_level and an index on
prodlevel.code_level.Both indices have character(12) data types.
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: rantunes@student.dei.uc.pt
Subject: Re: Indices arent being used
In-Reply-To: <200309261057.h8QAvSXA009541@student.dei.uc.pt>
References: <200309261057.h8QAvSXA009541@student.dei.uc.pt>
* 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