Search code examples
phpmysqlwordpress

wordpress - Big post IDs, is it Okay in the future?


A client of mine has requested that a list of posts would be fetched through a data feed and a cron job will run each 6 hours to delete all the previously fetched data and add new data as posts.

The data is about 250 posts, fetched each 6 hours. My concern is about the posts IDs of this blog will get very very big in about 6 months from now.. for no reason!

Should I do something about it? Like for example trying to edit the posts instead of deleting and adding (while this might be a stupid workaround, it will slow down post IDs increment for no reason)

Thoughts please, Thanks!


Solution

  • WordPress uses a bigint field type for a post ID. bigint has a maximum value of 9223372036854775807.

    Pretty sure you'll be fine...