Re: [HACKERS] Index tuple killing code committed

2003-09-02 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: > I found following mail in my mail archive and tried the same test with > 7.4 current. Contrary to my expectation 7.4 showed some performance > degration with continuous pgbench runs: I did some profiling and found that with repeated runs, an increasing a

Re: [HACKERS] Index tuple killing code committed

2003-09-02 Thread Tatsuo Ishii
Forgot to mention an important thing: I set enable_seqscan = off in postgresql.conf. > I found following mail in my mail archive and tried the same test with > 7.4 current. Contrary to my expectation 7.4 showed some performance > degration with continuous pgbench runs: > > $ pgbench -c 5 -t 1000

Re: [HACKERS] Index tuple killing code committed

2003-09-02 Thread Tatsuo Ishii
I found following mail in my mail archive and tried the same test with 7.4 current. Contrary to my expectation 7.4 showed some performance degration with continuous pgbench runs: $ pgbench -c 5 -t 1000 -n test tps = 57.444037 (including connections establishing) tps = 57.455300 (excluding connect

Re: [HACKERS] Index tuple killing code committed

2002-05-24 Thread Tom Lane
Joe Conway <[EMAIL PROTECTED]> writes: > This may qualify as a "way out there" idea, or more trouble than it's > worth, but what about a table option which provides a bitmap index of > tuple status -- i.e. tuple dead t/f. If available, a seqscan in between > vacuums could maybe gain some of the

Re: [HACKERS] Index tuple killing code committed

2002-05-24 Thread Hannu Krosing
On Sat, 2002-05-25 at 02:38, Joe Conway wrote: > Tom Lane wrote: > > The remaining degradation is actually in seqscan performance, not > > indexscan --- unless one uses a much larger -s setting, the planner will > > think it ought to use seqscans for updating the "branches" and "tellers" > > table

Re: [HACKERS] Index tuple killing code committed

2002-05-24 Thread Joe Conway
Tom Lane wrote: > The remaining degradation is actually in seqscan performance, not > indexscan --- unless one uses a much larger -s setting, the planner will > think it ought to use seqscans for updating the "branches" and "tellers" > tables, since those nominally have just a few rows; and there'

Re: [HACKERS] Index tuple killing code committed

2002-05-24 Thread Zeugswetter Andreas SB SD
> This is the first time I have ever seen repeated pgbench runs without > substantial performance degradation. Not a bad result for a Friday > afternoon... Congatulations :-) This sounds great !!! Andreas ---(end of broadcast)--- TIP 5: Have you

[HACKERS] Index tuple killing code committed

2002-05-24 Thread Tom Lane
Per previous discussion, I have committed changes that cause the btree and hash index methods to mark index tuples "killed" the first time they are fetched after becoming globally dead. Subsequently the killed entries are not returned out of indexscans, saving useless heap fetches. (I haven't cha