Re: [PHP] SQLITE
From: Chris Shiflett (shiflett_at_php.net)
Date: 11/22/03
- Next message: Bronislav Klucka: "RE: [PHP-DB] Re: [PHP] SQLITE"
- Previous message: Chris Shiflett: "Re: [PHP] Php ignores if statement"
- In reply to: Bronislav klučka: "SQLITE"
- Next in thread: Bronislav Klucka: "RE: [PHP-DB] Re: [PHP] SQLITE"
- Reply: Bronislav Klucka: "RE: [PHP-DB] Re: [PHP] SQLITE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 22 Nov 2003 14:57:16 -0800 (PST) To: "Bronislav_Klučka" <Bronislav.Klucka@pro2-soft.com>, PHP DB Konference <php-db@lists.php.net>, PHP Konference <php-general@lists.php.net>
--- Bronislav_Klučka <Bronislav.Klucka@pro2-soft.com> wrote:
> Hi, I've got questions:
I only noticed one.
> I've got sqlite like PHP module (under windows). I tried this:
> a)execute script 1 (selecting from some table), it tooks 2 minutes
> b)execute script 2 , it tooks 3 minutes
> c)execute them both at the same time (from different browser
> windows), both of them stopped also at the same time and it tooks
> 5 minutes
[snip]
> Is this some feature of sqlite or an I doing something wrong?
Without seeing any code or being given any details, all I can make is an
educated guess. SQLite uses the filesystem for storage. If your queries
are needing to access the same file (maybe you're querying the same
table), SQLite is going to serialize those queries to help you avoid
threading problems. So, your queries are going to basically take turns.
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp
- Next message: Bronislav Klucka: "RE: [PHP-DB] Re: [PHP] SQLITE"
- Previous message: Chris Shiflett: "Re: [PHP] Php ignores if statement"
- In reply to: Bronislav klučka: "SQLITE"
- Next in thread: Bronislav Klucka: "RE: [PHP-DB] Re: [PHP] SQLITE"
- Reply: Bronislav Klucka: "RE: [PHP-DB] Re: [PHP] SQLITE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|