Jump to content

Mysql OR flat file DB?


jjk2

Recommended Posts

i have a spider taht i have written. right now it is using mysql database to insert links it finds. this number gets very big towards around a million per few sites. also, there is lot of inserting, updating, and deleting.

 

my question is, is this inefficient? is memory consumption too high if i do this ?

 

should i be using flat file DB (if so, can you guide me to a resource) instead?

Link to comment
https://forums.phpfreaks.com/topic/157293-mysql-or-flat-file-db/
Share on other sites

Not really. All depends on what you need to do with the results. Do you need to keep all results from all sites for reporting? If not why not after your spider has completed one site export and compress the database and then truncate it for the next.

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.