Re: Gsoc2012 Idea --- Social Network database schema
От
Qi Huang
Тема
Re: Gsoc2012 Idea --- Social Network database schema
Дата
Msg-id
BAY159-W61A45C1C6B5AC25ECE9B08A3400@phx.gbl
Ответ на
Re: Gsoc2012 Idea --- Social Network database schema (Neil Conway)
Список
Дерево обсуждения
Gsoc2012 Idea --- Social Network database schema HuangQi <huangqiyx@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Daniel Farina <daniel@heroku.com>
Re: Gsoc2012 Idea --- Social Network database schema HuangQi <huangqiyx@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Daniel Farina <daniel@heroku.com>
Re: Gsoc2012 Idea --- Social Network database schema HuangQi <huangqiyx@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Josh Berkus <josh@agliodbs.com>
Re: Gsoc2012 Idea --- Social Network database schema Daniel Farina <daniel@heroku.com>
Re: Gsoc2012 Idea --- Social Network database schema Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Neil Conway <neil.conway@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Robert Haas <robertmhaas@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Tom Lane <tgl@sss.pgh.pa.us>
Re: Gsoc2012 Idea --- Social Network database schema Alvaro Herrera <alvherre@commandprompt.com>
Re: Gsoc2012 Idea --- Social Network database schema Andres Freund <andres@anarazel.de>
Re: Gsoc2012 Idea --- Social Network database schema Robert Haas <robertmhaas@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Tom Lane <tgl@sss.pgh.pa.us>
Re: Gsoc2012 Idea --- Social Network database schema "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Gsoc2012 Idea --- Social Network database schema Christopher Browne <cbbrowne@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Joshua Berkus <josh@agliodbs.com>
Gsoc2012 idea, tablesample Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Gsoc2012 idea, tablesample Stephen Frost <sfrost@snowman.net>
Re: Gsoc2012 idea, tablesample Tom Lane <tgl@sss.pgh.pa.us>
Re: Gsoc2012 idea, tablesample Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 idea, tablesample Stephen Frost <sfrost@snowman.net>
Re: Gsoc2012 idea, tablesample Christopher Browne <cbbrowne@gmail.com>
Re: Gsoc2012 idea, tablesample Ants Aasma <ants@cybertec.at>
Re: Gsoc2012 idea, tablesample Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 idea, tablesample Greg Stark <stark@mit.edu>
Re: Gsoc2012 idea, tablesample Josh Berkus <josh@agliodbs.com>
Re: Gsoc2012 idea, tablesample Stephen Frost <sfrost@snowman.net>
Re: Gsoc2012 idea, tablesample Sandro Santilli <strk@keybit.net>
Re: Gsoc2012 idea, tablesample Stephen Frost <sfrost@snowman.net>
Re: Gsoc2012 idea, tablesample Sandro Santilli <strk@keybit.net>
Re: Gsoc2012 idea, tablesample Greg Stark <stark@mit.edu>
Re: Gsoc2012 idea, tablesample Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 idea, tablesample Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Gsoc2012 idea, tablesample Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 idea, tablesample Sandro Santilli <strk@keybit.net>
Re: Gsoc2012 idea, tablesample Ants Aasma <ants@cybertec.at>
Re: Gsoc2012 idea, tablesample Sandro Santilli <strk@keybit.net>
Re: Gsoc2012 idea, tablesample Sandro Santilli <strk@keybit.net>
Re: Gsoc2012 idea, tablesample Ants Aasma <ants@cybertec.at>
Re: Gsoc2012 idea, tablesample Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 idea, tablesample Florian Pflug <fgp@phlo.org>
Re: Gsoc2012 idea, tablesample "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Gsoc2012 idea, tablesample Robert Haas <robertmhaas@gmail.com>
Re: Gsoc2012 idea, tablesample "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Gsoc2012 idea, tablesample Florian Pflug <fgp@phlo.org>
Re: Gsoc2012 idea, tablesample Ants Aasma <ants@cybertec.at>
Re: Gsoc2012 idea, tablesample "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Gsoc2012 idea, tablesample Robert Haas <robertmhaas@gmail.com>
Re: Gsoc2012 idea, tablesample Sandro Santilli <strk@keybit.net>
Re: Gsoc2012 idea, tablesample Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 idea, tablesample Stephen Frost <sfrost@snowman.net>
Re: Gsoc2012 idea, tablesample Qi Huang <huangqiyx@hotmail.com>
Re: Gsoc2012 Idea --- Social Network database schema "Marc Mamin" <M.Mamin@intershop.de>
Re: Gsoc2012 Idea --- Social Network database schema Robert Haas <robertmhaas@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Robert Haas <robertmhaas@gmail.com>
Re: Gsoc2012 Idea --- Social Network database schema Tom Lane <tgl@sss.pgh.pa.us>
Re: Gsoc2012 Idea --- Social Network database schema Andrew Dunstan <andrew@dunslane.net>
Re: Gsoc2012 Idea --- Social Network database schema Andrew Dunstan <andrew@dunslane.net>
Re: Gsoc2012 Idea --- Social Network database schema Tom Lane <tgl@sss.pgh.pa.us>
Re: Gsoc2012 Idea --- Social Network database schema Qi Huang <huangqiyx@hotmail.com>
> Date: Tue, 20 Mar 2012 14:12:45 -0700
> Subject: Re: [HACKERS] Gsoc2012 Idea --- Social Network database schema
> From: neil.conway@gmail.com
> To: huangqiyx@hotmail.com
> CC: daniel@heroku.com; josh@agliodbs.com; pgsql-hackers@postgresql.org
>
> 2012/3/19 Qi Huang <huangqiyx@hotmail.com>:
> >> I actually tried to find out, personally...not sure if I was searching
> >> wrongly, but searching for TABLESAMPLE did not yield a cornucopia of
> >> useful conversations at the right time in history (~2007), even when
> >> the search is given a broad date-horizon (all), so I, too, an
> >> uninformed as to the specific objections.
> >>
> >> http://www.postgresql.org/search/?m=1&q=TABLESAMPLE&l=&d=-1&s=d
> >
> > I sent a mail to Nail Conway asking him about this. Hope he could give a
> > good answer.
>
> I never tried to get TABLESAMPLE support into the main PostgreSQL tree
> -- I just developed the original code as an exercise for the purposes
> of the talk. Implementing TABLESAMPLE would probably be a reasonable
> GSoc project.
>
> My memory of the details is fuzzy, but one thing to check is whether
> the approach taken by my patch (randomly choose heap pages and then
> return all the live tuples in a chosen page) actually meets the
> standard's requirements -- obviously it is not true that each heap
> page has the same number of live tuples, so you aren't getting a truly
> random sample.
>
> Neil
>
> From: neil.conway@gmail.com
> To: huangqiyx@hotmail.com
> CC: daniel@heroku.com; josh@agliodbs.com; pgsql-hackers@postgresql.org
>
> 2012/3/19 Qi Huang <huangqiyx@hotmail.com>:
> >> I actually tried to find out, personally...not sure if I was searching
> >> wrongly, but searching for TABLESAMPLE did not yield a cornucopia of
> >> useful conversations at the right time in history (~2007), even when
> >> the search is given a broad date-horizon (all), so I, too, an
> >> uninformed as to the specific objections.
> >>
> >> http://www.postgresql.org/search/?m=1&q=TABLESAMPLE&l=&d=-1&s=d
> >
> > I sent a mail to Nail Conway asking him about this. Hope he could give a
> > good answer.
>
> I never tried to get TABLESAMPLE support into the main PostgreSQL tree
> -- I just developed the original code as an exercise for the purposes
> of the talk. Implementing TABLESAMPLE would probably be a reasonable
> GSoc project.
>
> My memory of the details is fuzzy, but one thing to check is whether
> the approach taken by my patch (randomly choose heap pages and then
> return all the live tuples in a chosen page) actually meets the
> standard's requirements -- obviously it is not true that each heap
> page has the same number of live tuples, so you aren't getting a truly
> random sample.
>
> Neil
>
Thanks so much, Neil.
I think I kind of understand the situation for now. The implementation posted by Neil was for the purpose of the talk, thus rushed and may not be up to standard of Postgres Community. Also Neil mentioned the PRNG state in the patch is buggy, and maybe also some others. Thus, in the Gsoc project, I could understand the details of Neil's implementation, fix the bugs, make the code fit for the community standard, and test.
Is there any comment on this?
Best Regards and Thanks
Huang Qi Victor
Computer Science of National University of Singapore
В списке pgsql-hackers по дате отправления