Need help in transferring FP to Int64 DateTime

From: Benson Jin <benson(dot)jin(at)troo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Need help in transferring FP to Int64 DateTime
Date: 2012-06-06 16:20:06
Message-ID: 39590570.243284.1338999606225.JavaMail.root@troo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

I am sure this question has been asked before, however, I failed to find any related topics in the internet. We have a database about 100GB in size. It was started back in 7.x days and has been upgraded along the way to 9.0. Because of the historical reason, all timestamps are stored in FloatingPoint. To use pg9, we had to compile it with FP support instead of the default Int64. Some recent research shows that PG team will eventually dump FP support in favor of int64 in future, we figured we need to make the move to Int64 before the database gets even larger. The challenge we now face is how to "convert" the database fast enough, so that required down time is minimized. Searching through the internet for 2 days yields little fruit so far... Can someone please provide enlighten us?

Cheers,

Bo Jin

Operating/IT Manager
Troo Corporation [ www.troo.com ]
43 Auriga Drive, Suite 102, Ottawa, ON K2E 7Y8
Ph: +1 877.702.8766 x156
Fax: +1 855.726.8766

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-06-06 16:28:45 Re: pg_database_size differs from df -s
Previous Message Manoj Govindassamy 2012-06-06 16:16:16 Re: Postgres 9.1 Synchronous Replication and stuck queries during sync repl setup