Re: [PERFORM] FW: Index usage

2004-12-01 Thread gnari
umber of rows did you try to add a 'order by date' clause to your query ? gnari ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PERFORM] FW: Index usage

2004-11-30 Thread gnari
gt; > We never had any upgrade on it. 7.2 is a bit dated now that 8.0 is in beta if you want to stay with 7.2, you should at least upgrade to the latest point release (7.2.6 ?), as several serious bugs have been fixed gnari ---(end of broadcast)

Re: [PERFORM] FW: Index usage

2004-11-24 Thread gnari
From: "BBI Edwin Punzalan" <[EMAIL PROTECTED]> > > Yes, the database is being vacuum-ed and analyzed on a daily basis. > then you should consider increating the statistics on the date column, as the estimates were a bit off in the plan > Our version is

Re: [PERFORM] FW: Index usage

2004-11-24 Thread gnari
> time=0.45..4268.00 rows=23787 loops=1) > Total runtime: 4282.81 msec > == > > How come a query on the current date filter uses an index and the others > does not? This makes indexing to speed up queries quite difficult. have you ANALYZED the table lately ? what v

Re: [PERFORM] help needed -- sequential scan problem

2004-11-22 Thread gnari
, as I am new to Postgres. What does it signify and how do I reduce random_page_cost? set random_page_cost = 3; explain analyse if it is an improvement, consider setting the value in your postgresql.conf, but remember that this may affect other queries too. gnari ---

Re: [PERFORM] simple select-statement takes more than 25 sec

2004-11-10 Thread gnari
WHERE CUSTOMER_ID=5::bigint or SELECT * FROM CUSTOMER WHERE CUSTOMER_ID='5' gnari ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PERFORM] Changing the column length

2004-09-01 Thread gnari
> column. add a new column, use update to copy values from old column, use alter table to rename columns gnari ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PERFORM] I could not get postgres to utilizy indexes

2004-08-18 Thread gnari
I ("gnari" <[EMAIL PROTECTED]>) miswrote: > Actually, I think it was determined that the problem was due to the > int index of course, i meant int8 index gnari ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PERFORM] I could not get postgres to utilizy indexes

2004-08-18 Thread gnari
hink it was determined that the problem was due to the int index Michal Taborsky suggested this solution: select id from test where id = 5::int8 did this not help ? gnari ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PERFORM] insert

2004-08-13 Thread gnari
inserts / 5 minutes, then this will not help gnari > > Cheers, > Guido > > > "G u i d o B a r o s i o" <[EMAIL PROTECTED]> wrote: > > > > [speeding up 100 inserts every 5 minutes] > > > > > Tips! > > > *Delete ind

Re: [PERFORM] insert

2004-08-13 Thread gnari
"G u i d o B a r o s i o" <[EMAIL PROTECTED]> wrote: [speeding up 100 inserts every 5 minutes] > Tips! > *Delete indexes and recreate them after the insert. sounds a bit extreme, for only 100 inserts gnari ---(end of broadcast)---

Re: [PERFORM] Hardware upgrade for a high-traffic database

2004-08-12 Thread gnari
"Merlin Moncure" <[EMAIL PROTECTED]> wrote: -- optional cluster user_message_idx messages; would one not have to repeat this operation regularly, to keep any advantage of this ? my impression was that this is a relatively heavy operation on a lar

Re: [PERFORM] Insert are going slower ...

2004-07-14 Thread gnari
ow much effect does this setting have on the planner? is there a recommended procedure to estimate the best value for effective_cache_size on a dedicated DB server ? gnari ---(end of broadcast)--- TIP 2: you can get off all lists at once with the