Re: Sessions Vs DB Access

From: Date: Mon, 25 Nov 2002 09:30:37 +0000
Subject: Re: Sessions Vs DB Access
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-23640@lists.php.net to get a copy of this message
On Sun, 24 Nov 2002, Peter Beckman wrote: > Don't forget that you can use the DB to store PHP Sessions as well, which > is faster than storing the sessions in /tmp on the file system. If you > have well written SQL, you can have 5-30 queries per page, most of which > should return the data in under 1/100 of a second. Well it depends. On Solaris /tmp/ is tmpfs which is memory based filesystem so it will essentially have speed of a ram disk. -- Mika Tuupola http://www.appelsiini.net/~tuupola/

« previous php.db (#23640) next »