Re: Are running sessions using a MySQL handler faster?
| From: | Rasmus Lerdorf | Date: | Wed, 21 Aug 2002 14:49:29 +0000 |
| Subject: | Re: Are running sessions using a MySQL handler faster? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21274@lists.php.net to get a copy of this message | ||
Chances are the files-based one is probably a bit quicker. Especially on
systems where /tmp is optimized or perhaps even set up as a ramdisk.
-Rasmus
On Wed, 21 Aug 2002, Jonathan Thomas wrote:
> Good afternoon!
>
> Quick performance question - I'm currently preparing the release of a new
> website running on a Linux box written in PHP and MySQL with sessions
> throughout.
>
> I've read a bit about changing the PHP session handler to use a database vs.
> the flat file method.
>
> Does anyone have experience doing this? Are there noticeable benefits of
> making this change? I realize that my /tmp folder will become quite
> cluttered with session files, but hey - it's tmp so who cares! :) My
> concern comes in with overall performance of the server - if one method is
> better than the other.
>
> Thanks for your feedback!
> JT
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>