Jump to content

PHP slow on large numbers..


EchoFool

Recommended Posts

Hey,

 

Recently in my database i accidently inputted some hundread thousand rows. (have since deleted them) but now record id starts at like 100,000.

 

I wasn't bothered by it so i just left it as its not important, how ever, i now notice PHP is slower at loading content when i while loop data from the table, what is the reason for this :S Is it due to the id being a high number ?

Link to comment
https://forums.phpfreaks.com/topic/196270-php-slow-on-large-numbers/
Share on other sites

I doubt it, the id is just data in the database row, you could have "chickenturds" as the id and it wouldn't matter to the database, just as long as your script looks for "chickenturds" in the database. There must be another underlying problem. Did you optimize the database?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.