Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CFA1A200D56 for ; Tue, 12 Dec 2017 14:57:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CDE0A160C0F; Tue, 12 Dec 2017 13:57:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 209D8160BE7 for ; Tue, 12 Dec 2017 14:57:50 +0100 (CET) Received: (qmail 172 invoked by uid 500); 12 Dec 2017 13:57:50 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 162 invoked by uid 99); 12 Dec 2017 13:57:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2017 13:57:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AAC241806DF for ; Tue, 12 Dec 2017 13:57:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.101 X-Spam-Level: X-Spam-Status: No, score=-0.101 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=m18.io Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id qH7Yn8EQy_TA for ; Tue, 12 Dec 2017 13:57:47 +0000 (UTC) Received: from mail.paswolf.com (mail.paswolf.com [212.47.240.152]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A0ED15F3CF for ; Tue, 12 Dec 2017 13:57:46 +0000 (UTC) Received: from mail.paswolf.com (localhost [127.0.0.1]) by mail.paswolf.com (Postfix) with ESMTP id E057522085F for ; Tue, 12 Dec 2017 14:57:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=m18.io; s=pwmx; t=1513087059; bh=jH+p3oZi+UnXHqvCwZ1A1aRIJhuh1XmkOV+cYwNkKzM=; h=Subject:To:References:From:Date:In-Reply-To; b=Anel8N1aBg8/wh/9OtfmAEXs9xM1Ys5bQ5JG8nLM9jOq5PSNKzOtIVnXyJnJk3mMX CiicoBy0t66Om6EVT2Q6X3E2Q0JVWILBiid/lDZUCB+OyNDXhA920lwjfIzeBBXs6t pW8gFnKtTuuenGiv3yQci8gdFVqgOohnmmPA3k3k= Received: from [172.16.1.38] (unknown [158.140.128.31]) (Authenticated sender: woh@m18.io) by mail.paswolf.com (Postfix) with ESMTPSA for ; Tue, 12 Dec 2017 14:57:37 +0100 (CET) Subject: Re: PHP and Apache Ignite - very slow query To: user@ignite.apache.org References: <1513067849145-0.post@n6.nabble.com> <1513086754944-0.post@n6.nabble.com> From: Wolfram Huesken Message-ID: Date: Tue, 12 Dec 2017 21:57:35 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1513086754944-0.post@n6.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit archived-at: Tue, 12 Dec 2017 13:57:52 -0000 Hi! If you don't run both queries from PHP, you cannot really compare the results. Running queries from the mysql console means that you don't have to establish a connection, which takes quite some time. You don't have to use ODBC to connect to MySQL, PDO will do a fine job and makes your data comparable. Cheers Wolfram On 12/12/2017 21:52, bagsiur wrote: > Hi and thank you for your answer. > > Im not test mysql with odbc driver and at this moment my goal is to find > more faster solution like mysql. I know that mysql is working on native > mysql driver and ODBC is a third-party driver but this is recommended > solution in official Apache Ignite documentation: > https://apacheignite.readme.io/v2.0/docs/odbc-driver > > In my simple script SQL query with "limit 60500,10" mean: start with 60500 > record and give me 10 recors. So script print only 10 lines. > > So, my question is still actually. Is it possible to run Apache Ignite with > ODBC driver to work faster with standard SQL queries then MySQL in standard > configuration? > > Thanks for reply :) > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >