i want to know what is the best sql database alternative ?? using .txt files or .csv ...? and how to store data in it ? i mean to avoid server eat recources ! Thanks
http://www.alternative.to/MySQL,19545#nav-4236806 here you can find some alternatives with description
txt files or csv could work. do you have the options of mysql? as really for the amount of memory you'd save not using it pulling it back out of php would hurt more nosql could be an option as well if you have root on the server
If ALL you are doing is storing and retrieving the information then text files could work but the minute you want to retrieve a subset of information based on criteria (eg. a SELECT statement) forget it. You will need to write you own query engine to search the file(s) data first, or, read all the file(s) data into memory and then search it. Stick to MySql would be my advice...
I guess the better question is, are you looking for a mysql alternative or a database alternative? For a mysql alternative, I've heard good things about PostgreSQL. If searching isn't a key factor, then flat files will work just fine. I use txt files for IP/user agent block lists, to prevent multiple votes.