Re: Best practice for long-lived journal tables: bigint or recycling IDs?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Best practice for long-lived journal tables: bigint or recycling IDs?
Дата
Msg-id 20080708212013.GF4095@alvh.no-ip.org
обсуждение исходный текст
Ответ на Best practice for long-lived journal tables: bigint or recycling IDs?  (Mark Stosberg <mark@summersault.com>)
Ответы Re: Best practice for long-lived journal tables: bigint or recycling IDs?  (Mark Stosberg <mark@summersault.com>)
Список pgsql-sql
Mark Stosberg wrote:
> 
> Hello,
> 
> I have some tables that continually collect statistics, and then over time are
> pruned as the stats are aggregated into more useful formats. 
> 
> For some of these tables, it it is fore-seeable that the associated sequences
> would be incremented past the max value of the "int" type in the normal course
> of things. 
> 
> I see two options to prepare for that:

3. Deal with wraparound by ensuring that the applications behave sanely

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Mark Stosberg
Дата:
Сообщение: Best practice for long-lived journal tables: bigint or recycling IDs?
Следующее
От: Mark Stosberg
Дата:
Сообщение: Re: Best practice for long-lived journal tables: bigint or recycling IDs?