• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What should my type be for votes in db

#4
The whole reason I gave you the link is so you can have a look at it... The documentation is very clear on what maximum value you can store in each datatype. You will have to figure out what you think is reasonable to pick as a datatype to be on the safe side of possibilities. Just don't put in a bigint just because it can store the highest number. Having a to large data type for your usage will lead to a less effective database, it uses up more dead space and will cause slightly slower queries.
Reply


Messages In This Thread
RE: What should my type be for votes in db - by Diederik - 01-16-2017, 02:53 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.