Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AED0F18D76 for ; Mon, 16 Nov 2015 07:44:29 +0000 (UTC) Received: (qmail 19634 invoked by uid 500); 16 Nov 2015 07:44:29 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 19603 invoked by uid 500); 16 Nov 2015 07:44:29 -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 19593 invoked by uid 99); 16 Nov 2015 07:44:29 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 07:44:29 +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 EEBF618099A for ; Mon, 16 Nov 2015 07:44:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain_com.20150623.gappssmtp.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id K5Irk77JmxQx for ; Mon, 16 Nov 2015 07:44:13 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 1D5B624D0D for ; Mon, 16 Nov 2015 07:44:13 +0000 (UTC) Received: by lfdo63 with SMTP id o63so81433649lfd.2 for ; Sun, 15 Nov 2015 23:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain_com.20150623.gappssmtp.com; s=20150623; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=pRG8/9GaaNf2I543wfxSMxDNVm+q9wynljHkmVEBbRw=; b=Fd9AKlAycjbHmMqlXEF5WT1+0E9KL9nAI5eX/o1jm81VAq2u+iCyJyBEcIvhlUwhjs V27esxMyUXHzfTqeQn/KYF4e9Eph61CxB8DrG66o10pdbmn2gvxrLg9SDTQxm3K5WPO6 /wb2W71fEChVi9ALAf2BtIkdM8zjJZ2ch8mxK2GOOkj8vxboV4G5rGG2oqldEReHa3rW IHijpk7Bow++ZOvOPcjbvVTR/SrZqPF4mY52np0rqZZOok8msWIZxNcuBITvcsHr46hQ S2agMPbvqlIoH/KW1mDKc9ogPV7Q5G8nfDymliivdAyCPCnqhB9wXJ/7rXGENDzoASU/ RNuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=pRG8/9GaaNf2I543wfxSMxDNVm+q9wynljHkmVEBbRw=; b=DiN34DdNF7NWBsDSayBBYAn2LrgS0Py939460TcM/3n7urL5wtK7gUeT4BhyyTBdqb FwW+kUQ63pjNjwTLEyIwa6AVlyZPeBMZJo/g5JCTw8gRZpDrv0FQ0df4mJP9y6lSNAoe +FCjHxcRwWDXsTHa2+eBNQTAeWJtpEkYls7PkKtF2Ko46Fa3o6Cd1Uh32riTfz6t8MsT w4klfs/ghlB1ANEXLhTrslXKEDkrwvZvhID/FidL8S7bVdfWfO5AcDfeHXLO5NA7Cc/q fJRt6jkwngEeznj8WxhTuecdSsyYHWxMJSWRicUBidGpdem2Y0n6uUP98kbBI7EJUWew Asbg== X-Gm-Message-State: ALoCoQnvg2d8n6Rd5djPr70yxwI+QhMpGw6hqmgQ3TK4MaPQt8NZl567XEZECO/tg6Gao6k7gMXE X-Received: by 10.25.3.207 with SMTP id 198mr15507984lfd.47.1447659852306; Sun, 15 Nov 2015 23:44:12 -0800 (PST) Received: from [192.168.0.103] ([188.187.16.47]) by smtp.gmail.com with ESMTPSA id o67sm5159107lfo.33.2015.11.15.23.44.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 15 Nov 2015 23:44:11 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Data Loading Performance Issue From: Denis Magda In-Reply-To: <1447461338394-1958.post@n6.nabble.com> Date: Mon, 16 Nov 2015 10:44:09 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <58C7309D-F3D1-4542-87C3-DF0092D08E2D@gridgain.com> References: <1447461338394-1958.post@n6.nabble.com> To: user@ignite.apache.org X-Mailer: Apple Mail (2.3096.5) Hi, Do you use the DB mentioned below as a persistent storage for the Ignite = Cache being populated? If yes, then you can leverage CacheStore interface [1]. If otherwise you migrate your data from the DB then IgniteDataStreamer = is the best candidate for such kind of tasks. It=E2=80=99s not clear from your description below how you actually use = the APIs, what the configuration is, how big your data set. Please provide this info.=20 [1] https://apacheignite.readme.io/docs/persistent-store#cachestore Regards, Denis > On 14 =D0=BD=D0=BE=D1=8F=D0=B1. 2015 =D0=B3., at 3:35, diopek = wrote: >=20 > I am having performance issue for loading data into Ignite cache. I = tried > several ways,=20 > from individual put to putAll to IgniteDataStreamer.addData. As one = unit > test case example;=20 > - time to retrieve data from data base is 26 secs by populating = HashMap. > - if I try doing cache.putAll or dataStreamer.addData to bulk load = data into > Ignite cache takes another 240 secs. And one large scale batch run = cache > population took 5 hrs which is quite extreme as actual batch took less = than > 2hrs after that. Wondering if I am missing some fundementals here. = Please > advise. >=20 >=20 >=20 > -- > View this message in context: = http://apache-ignite-users.70518.x6.nabble.com/Data-Loading-Performance-Is= sue-tp1958.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com.