Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2008

    Unanswered: PDO Fastest Fetch mode

    Can anyone plz tell me which is the fastest fetch mode for PDO?


  2. #2
    Join Date
    Nov 2004
    out on a limb
    Provided Answers: 59
    fastest mode for what
    for these sort of questions Id usually suggest why not try out each of the fetch methods and see which is more appropriate to your needs.

    although I'd ALWAYS expect object functions to be slower than direct methods, and I'd expect the PDO creating an object itself will be even slower

    but it comes down to what you actaully need. there is always a trade off between development time, run time and maintenance time. its often an impossible circle to square off
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Jul 2008
    Thanks a lot. I benchmarked ASSOC, NUM and OBJ modes and the first two were faster, though the speed difference is negligible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts