Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB