Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93103 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83819 invoked from network); 7 May 2016 00:07:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2016 00:07:23 -0000 Authentication-Results: pb1.pair.com header.from=walterp@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=walterp@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.171 as permitted sender) X-PHP-List-Original-Sender: walterp@gmail.com X-Host-Fingerprint: 209.85.161.171 mail-yw0-f171.google.com Received: from [209.85.161.171] ([209.85.161.171:34921] helo=mail-yw0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/D1-53854-AB13D275 for ; Fri, 06 May 2016 20:07:23 -0400 Received: by mail-yw0-f171.google.com with SMTP id g133so205994436ywb.2 for ; Fri, 06 May 2016 17:07:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=qgy9e3sU/NPJL65JM6zkLlE0oDDRJzCE+i/8iMmHGR8=; b=oDuJX7RIkWxYnQt03j8RDacXg/ADcug4AcFJz04n3pwK1eH9kXMVljiX1OMArVrb5k hTq4DJ6W93uhDXhPmTAzlzMWEQ0DjRjihiMfkcYt7jouhe7zm3gF78vGzqthhHH3SJas Qm4vCGFIEI4ZigrFnh4BkxAHFUiiemcg1+GcFhDfPRurzuLRb3NRPa34zSwJKRLQECRw t4Vq97VQCnVJcswBFiJogNMHTW2WYt84UgPuXTQzF4HS0Lyg8v16xeuvJB2oYZm//XBS ey6/e3PwOuGV1lnanhKFv3w0bZBSIKDiA4XvcCEy71Ah1OdjlQKJ+rPsdFzKHYQdrw6f t7fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=qgy9e3sU/NPJL65JM6zkLlE0oDDRJzCE+i/8iMmHGR8=; b=DZ4lms+41hynD6tU78sbBWEc21sqwokgcFJi4mCigfuWWgbThYmON7IlCyVDDCNg8b HFE27kILjpkUBswkNA1f2VlgHmq2sxlF5kX9UGgynRlXEmXAU1eBBPJxV0GxJJPWCbza /tp5Pwa/dDwjW0S4aYBEsoxmIyGpxXI9fFP3DnxcA8hvkEqAax5sf+ZlBeY/4wGMGq7d CXrDM8Y32Kvm4iPROAYFca6oN9diEFAHIQcu2RJhljRRfR6Mq2D2lc8h/WDv/y8kiJMH HBY5SIfpZL3L4kAHYalANK0ZsnDh2Wwtl8AP/QNGidRP+FuPAhf0aRNvbNbaxzFgqXJT f8rQ== X-Gm-Message-State: AOPr4FWfH4aUxATDytoSrHV9/FpOebEnpUCjKgirtddihfNugGZhY+YnqLO0s7yb/cOx6daOBsE7xGaORyRcyQ== MIME-Version: 1.0 X-Received: by 10.13.199.132 with SMTP id j126mr14057730ywd.124.1462579640429; Fri, 06 May 2016 17:07:20 -0700 (PDT) Received: by 10.83.50.146 with HTTP; Fri, 6 May 2016 17:07:20 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 May 2016 17:07:20 -0700 Message-ID: To: Raja Kulasekaran Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a114e541cec71c10532355bc8 Subject: Re: [PHP-DEV] How to get trace of all database queries executed by php From: walterp@gmail.com (Walter Parker) --001a114e541cec71c10532355bc8 Content-Type: text/plain; charset=UTF-8 On Fri, May 6, 2016 at 4:34 PM, Raja Kulasekaran wrote: > Hi, > > Sorry If I am asking this question in irrelevent forum. > Please suggest me the point of direction if not. > > I have encrypted php Application codebase which I may or may not have > access. > > So, I would like to know how the application behaving / profiling Database > queries through the .so or .dll level . > > Is there any php extension available which help me out to give the > statistics of > all the queries execution details ? > > Thanks, > Raja K > This is not really the right list. However, you might look at turning on SQL query logging/statistics on the DB server side. The DB should be able to give you stats and feel for the query profiles. This would be a lot less work than adding shims to the plugins. Walter -- The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandeis --001a114e541cec71c10532355bc8--