db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonyri <anthony.r...@inbox.com>
Subject Float versus Double
Date Tue, 25 Oct 2011 21:53:49 GMT

Hi,

I changed all my doubles to float expecting a smaller database, but the size
was identical.

I thought doubles were 8 bytes and floats only 4 bytes. I have over a
million records in the database, with several doubles per record. I created
a completely new database, identical in every respect, except all doubles
were changed to floats and reimported the data.

Can anyone explain why the database size was exactly the same?

Thanks.

Anthony
-- 
View this message in context: http://old.nabble.com/Float-versus-Double-tp32720294p32720294.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message