You are here: Re: mysqli prepared statements durable? « PHP « IT news, forums, messages
Re: mysqli prepared statements durable?

Posted by Chris White on 04/30/05 11:01

Mark wrote:
> hello!
>
> mysqli in PHP5 comes with prepared statements functionality. However,
> without persistent connections or connection pooling in this code
> library, one has to ask: why bother?
>
> are prepared statements 'remembered' by the server for a while between
> connections, so that new connections can take advantage of them, or are
> they really only useful for those pages/requests that are executing a
> huge amount of DML in a single shot.
>
>
> thanks!
> mark.
>
>
Somewhat difficult to explain in an easy statement right now so I'll let
this page do the talking:

http://www.zend.com/php5/articles/php5-mysqli.php

from what I can tell it isn't working with persitant connections, it's
making it easy to address certain database query results to various
variables, as well as letting the server know how the data will be
encoded ahead of time (making things faster ?). I've been playing
around with mysqli and mysql 5 beta for awhile, but have only got the
connection parts up and running so far. I'll find out more later.

Chris White

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация