apache-ignite

Форк
0
/
snapshot-directory.adoc 
39 строк · 1.8 Кб
1
// Licensed to the Apache Software Foundation (ASF) under one or more
2
// contributor license agreements.  See the NOTICE file distributed with
3
// this work for additional information regarding copyright ownership.
4
// The ASF licenses this file to You under the Apache License, Version 2.0
5
// (the "License"); you may not use this file except in compliance with
6
// the License.  You may obtain a copy of the License at
7
//
8
// http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15
= Snapshot Directory
16

17
== Configuring Snapshot Directory
18

19
By default, a segment of the snapshot is stored in the work directory of a respective Ignite node. This segment uses the
20
same storage media where Ignite Persistence keeps data, index, WAL, and other files. Since the snapshot can consume as much space as
21
already taken by the persistence files and can affect your applications' performance by sharing the disk I/O with the
22
Ignite Persistence routines, it's suggested to store the snapshot and persistence files on different media.
23

24
You can avoid this interference between Ignite Native persistence and snapshotting
25
by either changing link:persistence/native-persistence#configuring-persistent-storage-directory[storage directories of the persistence files]
26
or overriding the default snapshots' location as shown below:
27
[tabs]
28
--
29
tab:XML[]
30
[source, xml]
31
----
32
include::code-snippets/xml/snapshots.xml[tags=ignite-config;!discovery, indent=0]
33
----
34
tab:Java[]
35
[source, java]
36
----
37
include::{javaCodeDir}/Snapshots.java[tags=config, indent=0]
38
----
39
--
40

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.