Re: SQL - planet redundant data

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: SQL - planet redundant data
Дата
Msg-id 20050909235051.GQ7630@pervasive.com
обсуждение исходный текст
Ответ на SQL - planet redundant data  (Poul Jensen <flyvholm@gfy.ku.dk>)
Список pgsql-general
On Thu, Sep 08, 2005 at 07:58:55PM -0800, Poul Jensen wrote:
> This novice must be missing a sneaky way to avoid massive redundancy and
> still maintain easy access. I've been suggested to look at inheritance
> and foreign keys. Foreign keys I don't see how to use, but I could make

What you seem to be looking for is a form of partitioning. PostgreSQL
doesn't currently support partitioning of this form, but there's work in
progress to change that.

As someone else mentioned, you could do it with a union all view.
http://cvs.distributed.net/viewcvs.cgi/stats-sql/logdb/ has an example
of this.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Support for Limit in Update, Insert...
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: RAID0 and pg_xlog