Re: does timestamp precision affect storage size? - Mailing list pgsql-general

From Tom Lane
Subject Re: does timestamp precision affect storage size?
Date
Msg-id 18812.1466542220@sss.pgh.pa.us
Whole thread Raw
In response to does timestamp precision affect storage size?  (Jonathan Vanasco <postgres@2xlp.com>)
Responses Re: does timestamp precision affect storage size?  (Jonathan Vanasco <postgres@2xlp.com>)
List pgsql-general
Jonathan Vanasco <postgres@2xlp.com> writes:
> would there be any savings in storage or performance improvements from losing the resolution on fractional seconds,

Storage-wise, no.  If you have a resolution spec on your columns now,
I think dropping the resolution spec would save you a few nanoseconds per
row insertion due to not having to apply the roundoff function.  Adding
one would certainly not improve speed.

            regards, tom lane


pgsql-general by date:

Previous
From: Vik Fearing
Date:
Subject: Re: does timestamp precision affect storage size?
Next
From: Jonathan Vanasco
Date:
Subject: Re: does timestamp precision affect storage size?