SA-MP Forums Archive
db in SQLite or file - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: db in SQLite or file (/showthread.php?tid=357144)



db in SQLite or file - DartakousLien - 06.07.2012

well, i have one doubt. I am creating a database in SQL (a_sampdb) but i have one doubt. In my cell phone system, i save the numbers e cell phone, i have not a phonebook. And so i need more options, "number1" "number2" "number3"...."number250". but i think "if i use this is a database in SQL this slows down...and, this is big for a database system..." so my doubt is. wich i use? SQLite or file (INI system) wich the fastest?


Re: db in SQLite or file - Slice - 06.07.2012

Could you provide an example of your phonebook structure?

SQLite can be very useful when you want to search for certain numbers or things like that. It's probably a bit faster, too.