apache-ignite

Форк
0
/
index-reader.adoc 
44 строки · 1.9 Кб
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
= Index Reader Utility
16

17
Ignite provides a command line script — `index-reader.sh|bat` that you can use to check cache data tree in partition files and its consistency with indexes. The script is located under the `/bin/` folder of the installation directory.
18

19
[CAUTION]
20
====
21
THIS UTILITY MUST BE LAUNCHED ON PERSISTENT STORE WHICH IS NOT UNDER RUNNING GRID!
22
====
23

24
== Run
25

26
Run `index-reader.sh|bat` script from `{IGNITE_HOME}/bin` directory:
27

28
[cols="1,3,1",opts="header"]
29
|===
30
|Parameter | Description | Default Value
31
| `--dir` | Partition directory where index.bin and (optionally) partition files are located. |
32
| `--part-cnt` | Total partitions count in cache group. | 0
33
| `--page-size` | Page size (in bytes). | 4096
34
| `--page-store-ver` | Page store version. | 2
35
| `--indexes` | You can specify index tree names that will be processed, separated by comma without spaces, other index trees will be skipped. | `[]`
36
| `--check-parts` |  Check cache data tree in partition files and its consistency with indexes. | `false`
37
|===
38

39
== Usage
40

41
[source, shell]
42
----
43
./index-reader.sh|bat --dir [--part-cnt] [--page-size] [--page-store-ver] [--indexes] [--check-parts]
44
----
45

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

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

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

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