MySQL Forums
Forum List  »  Performance

Re: Index on bigint or decimal(10,0)?
Posted by: Øystein Grøvlen
Date: September 25, 2018 08:25AM


I do not have specific numbers to back this up, but my experience is that BIGINT is more efficient than DECIMAL. However, that is wrt arithmetic operations. I would think that for comparisons, which is what is needed for joins, the difference will be less significant.

Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway

Options: ReplyQuote

Written By
September 25, 2018 05:31AM
Re: Index on bigint or decimal(10,0)?
September 25, 2018 08:25AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.