Hi Prit,
I did some research about sqlite3 that might interest you.
A. what I wanted to understand ?
- the first stable sqlite3 version (3.07) was released back in September 2004 !
- sqlite3 seems under active development (current version is 3.6.11 dated Feb 2009)
3 questions
- why aren't more php scripts using it ?
- why isn't more info available on the web
- what specific improvements does it offer when compared to sqlite2 ?
B. what I did
1. reexamined my php info, and discovered that both sqlite2 and sqlite3 were available
- PDO Drivers: sqlite2, sqlite, mysql
- SQLite support: enabled
- SQLite Library: 2.8.17
- SQLite Encoding: iso8859
- PDO Driver for SQLite 3.x: Enabled
- SQLite Library: SQLite Library 3.3.16
"PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases. This extension provides an SQLite v3 driver for PDO. SQLite V3 is NOT compatible with the bundled SQLite 2 in PHP 5, but is a significant step forwards, featuring complete utf-8 support, native support for blobs, native support for prepared statements with bound parameters and improved concurrency"
2. my next step was to find a script, to test if it worked on my hosting and see how the code was implemented
- after several failures, I found a sqlite3 manager script at Hotscripts (it was posted Feb 13 2009) http://www.hotscripts.com/listing/sqlite3-database-manager
- I uploaded the script to my test blog so you can access it:
http://www.enbaires.com/pritlog_test/sqlite3/index.php
login user: a pass: a
Everything worked ! confirming that sqlite3 is available at my hosting
- I also uploaded a text copy of the code so you can give it a look:
http://www.enbaires.com/pritlog_test/sqlite3/index.txt
C. conclusions
from what I was able to read, its still unclear if sqlite3's performance is significantly better than v2 when executting most common operations.
I'm also unable to determine if the new features are worth to be considered for Pritlog future improvements in particular, and for me to use sqlite3 in any new projects in general.
If possible let me know your comments, I'm curious about your opinions.
Some technical info I readed about v3:
http://www.sqlite.org/version3.html
http://www.sqlite.org/lockingv3.html