pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mr. Dan <bitsandbytes88@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: On-line backup
Date: Mon, 17 Jul 2006 14:43:30 -0400
Message-ID: <4954.1153161810@sss.pgh.pa.us> (raw)
In-Reply-To: <BAY116-F2283D23093F2AC9D65336AD1620@phx.gbl>
References: <BAY116-F2283D23093F2AC9D65336AD1620@phx.gbl>

"Mr. Dan" <bitsandbytes88@hotmail.com> writes:
> ... What happens is that we have a 'hot' table (one with many many 
> transactions) that gets inserted and deleted often. About once a month now 
> when we do a select from that table the results of the select do not match 
> the where clause, ex.

> select * from recent_projects
> where user_id = 139

> sometimes produces these results:

> user_id    project_id
> 139        3
> 139        1
> 139        17
> 754        11

Hmmm .... that looks sorta familiar.  What is the query plan that's used
for this SELECT?

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <4954.1153161810@sss.pgh.pa.us>
Permalink:  ../4954.1153161810@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4954.1153161810@sss.pgh.pa.us

 · 

reply

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bitsandbytes88@hotmail.com
  Subject: Re: On-line backup
  In-Reply-To: <4954.1153161810@sss.pgh.pa.us>
  References: <BAY116-F2283D23093F2AC9D65336AD1620@phx.gbl> <4954.1153161810@sss.pgh.pa.us>

* 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