Re: Gsoc2012 Idea --- Social Network database schema - Mailing list pgsql-hackers

From Daniel Farina
Subject Re: Gsoc2012 Idea --- Social Network database schema
Date
Msg-id CAAZKuFY8ADdo8Zve96ONGrXFqCmAgJ1ikZWj7GixAJJ4d7gNqA@mail.gmail.com
Whole thread Raw
In response to Re: Gsoc2012 Idea --- Social Network database schema  (HuangQi <huangqiyx@gmail.com>)
Responses Re: Gsoc2012 Idea --- Social Network database schema  (HuangQi <huangqiyx@gmail.com>)
List pgsql-hackers
On Sat, Mar 17, 2012 at 8:48 PM, HuangQi <huangqiyx@gmail.com> wrote:
>     About the second topic, so currently TABLESAMPLE is not implemented
> inside Postgres? I didn't see this query before, but I googled it just now
> and the query seems very weird and
> interesting. http://www.fotia.co.uk/fotia/DY.18.TheTableSampleClause.aspx
>     Still, do you have any mail thread talking about this?

I think there may be a few, but there's a nice implementation plan
discussed by Neil Conway and written into slides from a few years ago:
http://www.pgcon.org/2007/schedule/attachments/9-Introduction_to_Hacking_PostgreSQL_Neil_Conway.pdf

He also had his implementation, although at this point some of the
bitrot will be intense:

http://www.neilconway.org/talks/hacking/

I also seem to remember writing this (to some degree) as a student as
part of a class project, so a full-blown production implementation in
a summer sounds reasonable, unless someone has thought more about this
and ran into some icebergs.  I'm not sure exactly what the blockers
were to this being committed back in 2007 (not to suggest there
weren't any).

I haven't thought enough about skipscan, but there a number more
unknowns there to me...

--
fdr


pgsql-hackers by date:

Previous
From: Joachim Wieland
Date:
Subject: Re: patch for parallel pg_dump
Next
From: Magnus Hagander
Date:
Subject: Re: Cross-backend signals and administration (Was: Re: pg_terminate_backend for same-role)