Re: Performance (was: The New Slashdot Setup (includes MySql server))

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Michael A(dot) Olson" <mao(at)sleepycat(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Performance (was: The New Slashdot Setup (includes MySql server))
Date: 2000-05-19 17:56:58
Message-ID: 200005191756.NAA09233@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > All the sequential catalog scans that return one row are gone. What has
> > not been done is adding indexes for scans returning more than one row.
>
> I've occasionally wondered whether we can't find a way to use the
> catcaches for searches that can return multiple rows. It'd be easy
> enough to add an API for catcache that could return multiple rows given
> a nonunique search key. The problem is how to keep the catcache up to
> date with underlying reality for this kind of query. Deletions of rows
> will be handled by the existing catcache invalidation mechanism, but
> how can we know when some other backend has added a row that will match
> a search condition? Haven't seen an answer short of scanning the table
> every time, which makes the catcache no win at all.

Good point. You can invalidate stuff, but how to find new stuff that
doesn't have a specific key?

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-05-19 19:35:04 Re: Performance (was: The New Slashdot Setup (includes MySql server))
Previous Message davidb 2000-05-19 17:40:05 Re: beginner Table data type question

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-05-19 18:02:53 Re: CVS commit broken
Previous Message The Hermit Hacker 2000-05-19 17:55:53 Re: CVS commit broken