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 7078C200C6A for ; Wed, 19 Apr 2017 08:56:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F128160BAA; Wed, 19 Apr 2017 06:56:07 +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 C01FF160B86 for ; Wed, 19 Apr 2017 08:56:06 +0200 (CEST) Received: (qmail 66991 invoked by uid 500); 19 Apr 2017 06:56:05 -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 66970 invoked by uid 99); 19 Apr 2017 06:56:05 -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; Wed, 19 Apr 2017 06:56:05 +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 2D74A1827C7 for ; Wed, 19 Apr 2017 06:56:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.253 X-Spam-Level: X-Spam-Status: No, score=0.253 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id eBmniBxfkFXN for ; Wed, 19 Apr 2017 06:56:02 +0000 (UTC) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9D59E5FCAE for ; Wed, 19 Apr 2017 06:56:02 +0000 (UTC) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 6CBF728C0 for ; Wed, 19 Apr 2017 02:56:02 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 19 Apr 2017 02:56:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=McA4t9/IU4WdO4LM0iB6lajPdcxBsHC3+aNa3PR7ovg=; b=bq9QwgUG xrciEqdh0S9JGOdGx1/3SnNNDIHyRSu1WzHQwR1/XFVnhCueUMtQ9/+jbA/PW8UZ aqTRDykFIh6b2fv+Kbcsb6fNTUp6ByMNXI/WrWPGrHE94sSuzcHxbFq54Nr9ZIwK UnnxSuYGpcb4tgdPBmrltNSg7K/yRpxIrIW+Fu6PfLk9PJ3gB2khJHacU4ggQl6u 10nVjKwYZG4WBeyNnCwUKhT+m+2JqhEBVvohN+eQns6XCf6SHZK1j0Y44z/4gJKo MozAWWgu9kDP8RRwnywn/jJwJPXQt9t8Fq9m7tOZ8rkL2SRal3eTlSzYCAov6zGZ 6Qe43Kl+8thTtw== X-ME-Sender: X-Sasl-enc: 34zyMZjCDdQ6pN6NuV5p4dicsg7mhl+Wxvv0kaWzcun7 1492584962 Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mail.messagingengine.com (Postfix) with ESMTPA id F4229244D9 for ; Wed, 19 Apr 2017 02:56:01 -0400 (EDT) Date: Tue, 18 Apr 2017 23:56:00 -0700 (MST) From: dkarachentsev To: user@ignite.apache.org Message-ID: <1492584960909-12065.post@n6.nabble.com> In-Reply-To: <1492542546064-12047.post@n6.nabble.com> References: <1492130380965-11970.post@n6.nabble.com> <1492180666668-11981.post@n6.nabble.com> <1492450790568-12003.post@n6.nabble.com> <1492501388820-12017.post@n6.nabble.com> <1492542546064-12047.post@n6.nabble.com> Subject: Re: ScanQuery log all entries MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Wed, 19 Apr 2017 06:56:07 -0000 Sam, Cursor iterator will go over whole result, but it will not hold in memory all dataset, just part limited by page size. In other words, it fetches 1024 entries, and when iterator points after last entry - loads another page with 1024 entries. So you shouldn't worry when results arrived - they automatically paginated, you just need correctly manage data, e.g. if you collect all of them in list - you may get OOME. -Dmitry. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/ScanQuery-log-all-entries-tp11970p12065.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.