Re: exceptions instead of errors
| From: | Wez Furlong | Date: | Sun, 04 May 2003 16:17:03 +0000 |
| Subject: | Re: exceptions instead of errors | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1214@lists.php.net to get a copy of this message | ||
On Sat, 3 May 2003, Andi Gutmans wrote:
> P.S. -BTW, what does SQLite do?
It's an embedded database that features a very complete implementation
of SQL, including triggers and transactions. The data is stored in a
single file that is portable across machine architectures.
It is very fast in read-only applications, outperforming postgres by 2-3
times the number of requests per second in some simple tests performed
by Edin.
However, its performance for high concurrency updates will be quite
poor, as it locks the whole database when making changes.
--Wez.
See:
http://www.sqlite.org
Home Page
http://pear.php.net/package-info.php?pacid=193
PECL extension, featuring bundled sqlite library:
("pear install SQLite" will build and install everything you need)
PS: The simple read-only tests had the following results, if anyone
is interested:
Requests per second:
sqlite: 28.01
mysql: 19.81
postgres: 10.52
DB2: 8.76