Giter Site home page Giter Site logo

ignite-page-analyzer's Introduction

  • BUILD

$ mvn clean install -Prelease

Will create zip archive with binary files required to run application.

  • RUN

$ java -jar ignite-page-analyzer-0.0.1-SNAPSHOT.jar page-statistics -d /path/to/pds/node00-81ed9fdb-b5d7-4c7a-98fa-1987712f1366

Expected /path/top/pds content

~/tmp/pds$ tree -d
.
├── node00-1111
│   └── cacheGroup-CACHEGROUP_INDEX_union-module
└── node00-81ed9fdb-b5d7-4c7a-98fa-1987712f1366
    ├── cache-CacheQueryExampleOrganizations
    ├── cache-ignite-sys-cache
    ├── cp
    ├── metastorage
    └── TxLog
  • Example output
*** FULLL STATISTICS FOR CacheQueryExampleOrganizations ***
 1 -> [  3107 pages, 1337,50K free, 10,76% unused]
 2 -> [  2048 pages,   0,00K free,  0,00% unused]
 6 -> [  1024 pages,   0,00K free,  0,00% unused]
10 -> [  1024 pages,   0,00K free,  0,00% unused]
12 -> [  2048 pages,   0,00K free,  0,00% unused]
13 -> [ 71373 pages, 274,42M free, 98,43% unused]
14 -> [  1024 pages,   0,00K free,  0,00% unused]
15 -> [  1024 pages,   0,00K free,  0,00% unused]
------------------
Full size  322,94M
Free size  275,73M
Free perent 85,38%

ignite-page-analyzer's People

Contributors

nizhikov avatar shishkovilja avatar

Watchers

 avatar  avatar  avatar

ignite-page-analyzer's Issues

Add support for free space analysis in some extra page types stored in index.bin files

In summary of page-analyzer work results under index.bin files we can see non-processed page types listed below:

10009 -> [10855440 pages, 0.00K free, 0.00% unused]
10019 -> [588943 pages, 0.00K free, 0.00% unused]
10029 -> [2650049 pages, 0.00K free, 0.00% unused]
10034 -> [654850 pages, 0.00K free, 0.00% unused]
10039 -> [1432888 pages, 0.00K free, 0.00% unused]
20009 -> [104269 pages, 0.00K free, 0.00% unused]
20019 -> [ 7899 pages, 0.00K free, 0.00% unused]
20029 -> [ 44295 pages, 0.00K free, 0.00% unused]
20034 -> [ 12379 pages, 0.00K free, 0.00% unused]
20039 -> [ 29681 pages, 0.00K free, 0.00% unused]

As I understand, this page types are:

  • BPlusLeafIO for range from 10000 (T_H2_EX_REF_LEAF_START) to 12047 (T_H2_EX_REF_LEAF_END) and stored in list PageIO#h2ExtraLeafIOs;
  • BPlusInnerIO for range from 20000 (T_H2_EX_REF_INNER_START) to 22047 (T_H2_EX_REF_INNER_END) and stored in list PageIO#h2ExtraInnerIOs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.