On Wednesday 03 August 2005 00:14, Łukasz Wojciechowski wrote:
PS: Note to self: If/when I do a rewrite of our flagship product, I'll use SQLite instead of multi-dimensional memory arrays!
Sqlite - hummm
I developed lately a program in PHP-GTK which parses and bookes customers payments and I used Sqlite as a DB. Main table is "operation" which now has over 5000 records - day by day about 100 records are added to this table and my program is slowing down constantly :(.
Maybe Sqlite3 is faster but I cant make it work with php-gtk - this is caused because php4-sqlite extension supports only Sqlite version 2 - so i believe Sqlite3 cant run with php-gtk. If Im wrong - please tell me :)
If you are running a *LARGE* database in sqllite, (remember, the "LITE" part) you are headed for trouble. SQLLite is a good improvement over a memory array, but don't suppose it'll replace a "real" DB: EG: Postgres, Oracle, DB2, (perhaps Mysql), etc.
If you want big-time scalability, use Postgres (free) or Oracle ($$$). Otherwise, enjoy the fact that you paid nothing for SQLLite, and ignored its name! Postgres will be my choice - im sure about that.
PS: Sounds like a rewrite is in order. Be sure that by using PHP-GTK, you aren't excluding significant parts of your dev staff. Otherwise, go for it! I did, and I sure don't regret it!
But don't think that PHP-GTK2 is ready for anything but experiments. Thanks for your word
--
greetings
Łukasz Wojciechowski