Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33149 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81743 invoked by uid 1010); 15 Nov 2007 06:48:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81728 invoked from network); 15 Nov 2007 06:48:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2007 06:48:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.248 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.132.248 an-out-0708.google.com Received: from [209.85.132.248] ([209.85.132.248:47993] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/63-46940-1ABEB374 for ; Thu, 15 Nov 2007 01:48:01 -0500 Received: by an-out-0708.google.com with SMTP id c8so107603ana for ; Wed, 14 Nov 2007 22:47:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OU6JSyFhFeT51p5tr1v5B9mNJHPJqEiULnYHujs9dAs=; b=Mf49sywGBivGjt6t648GBF0zuO6pklQKpnrIBsqw0pZzOn8+mkId66ebfKU32jrqKTBIT3nLXA+UZtX+J+XPs0r0a8kOb/+Mw4YOQxbLpMl6HUPZldf3wFgVZGIfSKuUAQS0m/9rE9wlgksjtcEOOyMeSNhQkdA2uzwuK+G30rQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qqcR72TzkgpDvk915HC9Y5cLu96GAkAf1SdWStI5gzgcr+J9JWs72klqp7mfM9LEQ7p1P8StwIg6UpojZ7zDLk5hmYH0pAgBDXeP3RwJn9dP50sjge9XkKgYgY9WKOfRL7aixgg0WBxoTSA+p8sj+xhk3tI4RNxSXDQqjgqvmw4= Received: by 10.150.157.11 with SMTP id f11mr2833ybe.1195109279049; Wed, 14 Nov 2007 22:47:59 -0800 (PST) Received: by 10.150.52.9 with HTTP; Wed, 14 Nov 2007 22:47:59 -0800 (PST) Message-ID: Date: Thu, 15 Nov 2007 09:47:59 +0300 To: "Andrew Mason" Cc: internals@lists.php.net In-Reply-To: <99cd336d0711142233l7ecb3e17hecfc735f6d370958@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <99cd336d0711142233l7ecb3e17hecfc735f6d370958@mail.gmail.com> Subject: Re: [PHP-DEV] PDO performance From: indeyets@gmail.com ("Alexey Zakhlestin") If there is any difference, it is very small. And, anyway, overhead would turn to nothing comparing to typical query-execution time I've chosen PDO 3 years ago and never really looked at mysqli since then. PDO is a pleasure to work with :) On 11/15/07, Andrew Mason wrote: > Hi guys, > Just a quick question. I've recently been looking at changing over > our code to use the PDO interface to a mysql database. > > Currently we are using MySQLi but after looking at the PDO interface i > personally prefer the way API is presented (not saying mysqli is bad > or anything like that...completely personal). I was just wondering if > there was any performance or latency hit by using PDO with mysql 5. > > From what i have benchmarked there isn't any at all, but since PDO > came back faster for a few things i'm not sure how accurate my > benchmarks were =) > > Just looking for some feedback. > > many thanks > Andrew > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Alexey Zakhlestin http://blog.milkfarmsoft.com/