To give you the context of what I'm doing. I'm scraping wave height from a buoy in the ocean every hour from a cron job that I just wrote. Where only the latest 5 readings are kept. Now I'd like to read the latest height that was inserted in.
Is it bad for the ID to increment really far? If so, I would think it would be wise to just keep it to ID 1 through 5. New data is inserted at 5. ID 1 data is delete, and everything shifts down ID's.
id = 1. So I'd always keep a history of 4 after the newly inserted data. And I'm not even sure what ID's are... or why I'd want to increment them or reset them... so this is who you're dealing with =D
I think I'm confused or thinking about this in the wrong way. I basically just need to insert in new data but only hold up to 5 entries. like the picture I had. Every time you insert in new data the last one will be deleted, and so on. I just thought you'd want to not increment the ID's every time you did. I'm so new to this...