Primary key id reaching limit of bigint data type

后端 未结 4 1503
星月不相逢
星月不相逢 2020-12-31 23:18

I have a table that is exposed to large inserts and deletes on a regular basis (and because of this there are large gaps in the number sequence of the primary id column). It

4条回答
  •  春和景丽
    2020-12-31 23:20

    I know it has been already answered a year ago but just to continue on Luc Franken answer,

    If you insert 500 million rows per second, it would take around 1173 years to reach the limit of the BIG INT. So yeah i think don't worry about that

提交回复
热议问题