Code Monkey home page Code Monkey logo

rocksdb_trace_translator's Introduction

translate key range in manifest file

USAGE "python3 ./manifest_translator.py -f [manifest_dump_file, ...]"

options are below: -f --files "target file list" -d --directory "target directory" -o --output "output file path (default: "./manifest_out") -s --start_time "target trace start time (default: 0) -e --end_time "target trace end time (default: 0)

  • If a default is defined, it can be optionally applied
  • The file list and directory can be simultaneously applied, scanning all relevant files
  1. parse all key in manifest_dump
  • Check for trivial move and indicate the previous level where it was located
  • Verify if it's included within the trace window
  1. allocate new value of all key
  • Collect the chars used in keys for each column family
  • encode all key, then get range(min - max) for each column family
  • New keys are cast as integers and floats based on a determined ratio within a specified range
  1. print output file (default: "manifest_out")
  • output contains SST identifier, Column Family, size of SST, level, index of start key, index of end key, Creation/Deletion Time

rocksdb_trace_translator's People

Contributors

jekyeomj avatar ajkr avatar

Watchers

Thomas Kim avatar George Amvrosiadis avatar

Forkers

ajkr

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.