Skip to main content

Collections of tools to debug and analyze MongoDB WiredTiger files

Project description

WiredTiger debug tools

image GitHub License

Collections of tools to debug and analyze MongoDB WiredTiger files

Installation

Dependencies

In order to use the provided debug tools you need to install wt binary on your system.

You can either use your system package manager. E.g.

apt install wiredtiger

Or compile wt from source

If you compiled wt from source, make sure to add the installation folder to your PATH environment variable.

Package

The wiredtiger-debug-tools package is available on PyPI

pip install wiredtiger-debug-tools

Usage

wtd tool

  • Print list of collections contained in the _mdb_catalog
wtd list-collections
  • Inspect content of a specific collection:
wtd cat local.oplog.rs

With FZF

You can use FZF to interactively select the the collection to open

wtd cat `wtd list-collections | fzf | cut -d " " -f1`

CLI Autocompletion

To enable CLI auto-completion on ZSH shell run:

eval "$(_WTD_COMPLETE=zsh_source wtd)"

On Bash shell:

eval "$(_WTD_COMPLETE=bash_source wtd)"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiredtiger_debug_tools-0.1.2.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

wiredtiger_debug_tools-0.1.2-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file wiredtiger_debug_tools-0.1.2.tar.gz.

File metadata

  • Download URL: wiredtiger_debug_tools-0.1.2.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.9.3-76060903-generic

File hashes

Hashes for wiredtiger_debug_tools-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b27d618ab4d5e5c8d981027fd95cd6b05711af99bd4095680c62277b98847287
MD5 0ff43489d43b605ea97a4286c0672c3c
BLAKE2b-256 1030780536e42edd400bf0a2492654f17be6f619dbea60fb0c8285b56591b600

See more details on using hashes here.

File details

Details for the file wiredtiger_debug_tools-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for wiredtiger_debug_tools-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45415777ab81ed3b75b870c0435fe7973fd4d9aee384383998454f18c2b11304
MD5 08105d26bf6ff524d3c6899aa144be1a
BLAKE2b-256 cf9d7aaff894f07bd0ee2e7f91a5243387cf7bc0d13ed74896da9198a9af6d3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page