FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » transfering all MySQL rows to an array
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: transfering all MySQL rows to an array [message #176499 is a reply to message #176495] Sun, 08 January 2012 18:22 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
Am 08.01.2012 18:33, schrieb Gregor Kofler:
> Am 2012-01-08 15:00, M. Strobel meinte:
>> I would recommend to check if you can use PDO. The overhead is
>> minimal due to the fact it is a compiled extension
>
> Can you elaborate on that? I'd say: Nonsense. (You know, mysqli and
> mysql are also "compiled extensions"...)
>
> Gregor

in addition to my post at 18:57 MET I would like to elaborate:

You cannot expect PDO to be faster than mysql[i]:

mysql is just a call interface from PHP to the mysql client lib.
Now PDO is a call interface to PDO_mysql which in turn calls the
client lib, that would be one level more.

This layered design is still state of the art. I said still
because it is so for a long time already.

If you find evidence that PDO might even perform better than the
direct mysql interface, this tells me:

- they are not doing something the others do and which is useful

- they are not doing something the others do and which is not needed

- they just did it right

So pick your reason.

/Str.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sessions timeout
Next Topic: scoping inside a block
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 20:09:29 GMT 2024

Total time taken to generate the page: 0.03961 seconds