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 A1CD12004F5 for ; Fri, 1 Sep 2017 12:41:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A037616CCA7; Fri, 1 Sep 2017 10:41:23 +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 E612516CCA6 for ; Fri, 1 Sep 2017 12:41:22 +0200 (CEST) Received: (qmail 13011 invoked by uid 500); 1 Sep 2017 10:41:20 -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 13001 invoked by uid 99); 1 Sep 2017 10:41:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2017 10:41:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 31C24C37C9 for ; Fri, 1 Sep 2017 10:41:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xTeEHmc5EYfi for ; Fri, 1 Sep 2017 10:41:19 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id CECD15F1E7 for ; Fri, 1 Sep 2017 10:41:18 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id g18so7813391lfl.2 for ; Fri, 01 Sep 2017 03:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ahQPgP3HIZnwtrx38QHP/Vi1oNR2DsaicieNp1YeDyM=; b=VjIB53hnkqx9FGhZsQ3MCn+tN1jII/AaAb2QQotNqXAG1b1L1dqjdp3tjX7CP96L9+ 6TbZ0AOMeHsqG2Hc+eZk3F3CgoL1cW1C1hIxeD5XWKwrqCWt+vLaExoZSSs+gFGq036A RoHOH6baE5kEADLD+3yB0IY13EXf1PK9sf59Kmphy3LuxF7UOCPB8857zXk5xve9cN+i B2k0XmuwYfBDmCbIHVsMGRRvCqzW90uAv1VNFc7EkB8hN4ENbmuvH8wKzO/urltI9/nE 66k3Mqq/mpfcROsHVPvGIbZgy6onLMucDc4aw+oLtAvu9BI+U2VnoXhD76lFFqKY+ubv EdrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ahQPgP3HIZnwtrx38QHP/Vi1oNR2DsaicieNp1YeDyM=; b=b5TAngSb9e8O0bgchK/tXCrZ4icyOAxSYbatxvfTxjGfrlwkN7VX6C6P/bK2knYlxj r5t6w43SwEvRt5WLjBf5LhKBIuOptSjM0NZPOyU9nxuUeZpz12cNL1L6uDeYRKeaxMzl pZBGCbcbiFBQmFvsm9xKcHyUgMnmUf6+V9QMAqOUHsG+tm3FZ18MNZ61uce26kPQu+qn GK/HmciOsSqdODx8mqYHk4Ctydt3shtXW4QBZ6l4F3rg1krbYzYae79uxmMVPbJgcAoN QOQk/faI/MmH5dVzmF2Egu4rBBIx79Kevz6s6zn8vnRz39o8hP/MpoBdz0NHPRWjsfSQ NlkQ== X-Gm-Message-State: AHPjjUiSq1FWpTGzAA10MxEc/N+ZuKzXp7IG0vc8l1fMlevjz/rgSiNY crVY7hTvNioIsmY/89PhtjzoNHVW9Q== X-Google-Smtp-Source: ADKCNb6HGGKYREJGdKP0KkOHtXfZ88TOV3Sg1mu1GUy/EOscJY6/DzIR/K78gxWm/KDjtJwEFlFXtbuzkKwf2wGejSg= X-Received: by 10.25.22.212 with SMTP id 81mr797056lfw.8.1504262476783; Fri, 01 Sep 2017 03:41:16 -0700 (PDT) MIME-Version: 1.0 References: <1504022426231-16507.post@n6.nabble.com> <1504026372954-16515.post@n6.nabble.com> In-Reply-To: <1504026372954-16515.post@n6.nabble.com> From: Denis Mekhanikov Date: Fri, 01 Sep 2017 10:41:06 +0000 Message-ID: Subject: Re: Limiting the size of Persistent Store and clearing data on restart To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a1140202293e2ec05581e6699" archived-at: Fri, 01 Sep 2017 10:41:23 -0000 --001a1140202293e2ec05581e6699 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Regarding your second question: looks like you don't actually need persistence. Its purpose is the opposite: to save cache data between restarts. If you use persistence to store more data than RAM available, then you can enable swap space: https://apacheignite.readme.io/v1.9/docs/off-heap-memory#section-swap-space =D0=B2=D1=82, 29 =D0=B0=D0=B2=D0=B3. 2017 =D0=B3. =D0=B2 20:06, ezhuravlev = : > Hi, > > 1) There is no possibility to limit Persistent Store size right now, but > you > always can use separate disk volume with size 300GB for your case to use = it > for Persistent Store. > > 2) Well it's not usual to use case, but after stopping node you can clear > data from work folder or just invoke removeAll on cache > > Evgenii > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Limiting-the-size-of-Persi= stent-Store-and-clearing-data-on-restart-tp16507p16515.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > --001a1140202293e2ec05581e6699 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Regarding your second question: looks like you don't a= ctually need persistence. Its purpose is the opposite: to save cache data b= etween restarts.=C2=A0
If you use persistence to store more data than R= AM available, then you can enable swap space:=C2=A0https://apa= cheignite.readme.io/v1.9/docs/off-heap-memory#section-swap-space
<= /div>
=D0=B2=D1=82, 29 =D0= =B0=D0=B2=D0=B3. 2017 =D0=B3. =D0=B2 20:06, ezhuravlev <e.zhuravlev.wk@gmail.com>:
Hi,

1) There is no possibility to limit Persistent Store size right now, but yo= u
always can use separate disk volume with size 300GB for your case to use it=
for Persistent Store.

2) Well it's not usual to use case, but after stopping node you can cle= ar
data from work folder or just invoke removeAll on cache

Evgenii



--
View this message in context: http://apache= -ignite-users.70518.x6.nabble.com/Limiting-the-size-of-Persistent-Store-and= -clearing-data-on-restart-tp16507p16515.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
--001a1140202293e2ec05581e6699--