Re: Gsoc2012 idea, tablesample

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Gsoc2012 idea, tablesample
Дата
Msg-id 20120417152716.GS1267@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Gsoc2012 idea, tablesample  (Qi Huang <huangqiyx@hotmail.com>)
Ответы Re: Gsoc2012 idea, tablesample  (Christopher Browne <cbbrowne@gmail.com>)
Список pgsql-hackers
Qi,

* Qi Huang (huangqiyx@hotmail.com) wrote:
> > Doing it 'right' certainly isn't going to be simply taking what Neil did
> > and updating it, and I understand Tom's concerns about having this be
> > more than a hack on seqscan, so I'm a bit nervous that this would turn
> > into something bigger than a GSoC project.
>
> As Christopher Browne mentioned, for this sampling method, it is not possible without scanning the whole data set. It
improvesthe sampling quality but increases the sampling cost. I think it should also be using only for some special
samplingtypes, not for general. The general sampling methods, as in the SQL standard, should have only SYSTEM and
BERNOULLImethods.  

I'm not sure what sampling method you're referring to here.  I agree
that we need to be looking at implementing the specific sampling methods
listed in the SQL standard.  How much information is provided in the
standard about the requirements placed on these sampling methods?  Does
the SQL standard only define SYSTEM and BERNOULLI?  What do the other
databases support?  What does SQL say the requirements are for 'SYSTEM'?
Thanks,
    Stephen

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Qi Huang
Дата:
Сообщение: Re: Gsoc2012 idea, tablesample
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Parameterized-path cost comparisons need some work