Skip to main content

WiredTiger debug tools

image GitHub License

Collection 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)"

Metadata

Release files for wiredtiger-debug-tools 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wiredtiger-debug-tools 0.1.3
File Size Uploaded
wiredtiger_debug_tools-0.1.3.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wiredtiger-debug-tools 0.1.3
File Interpreter ABI Platform
wiredtiger_debug_tools-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 31.7 kB

Release files / wiredtiger_debug_tools-0.1.3.tar.gz

Download URL wiredtiger_debug_tools-0.1.3.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
779b1cb3cbf97b84f210f74ffd6fa858efb91f521e1428752b5935f4babcd595
BLAKE2b-256 checksum
How to use checksums
f1191b47903d139e8d1d51e5d1c03c185755874ff173ccb2b90cff7df91208f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.12 Linux/6.9.3-76060903-generic

Release files / wiredtiger_debug_tools-0.1.3-py3-none-any.whl

Download URL wiredtiger_debug_tools-0.1.3-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
479569b3b854808c6907d072675ccdab18230140c66f88a1dba48df11544163a
BLAKE2b-256 checksum
How to use checksums
d6b6fb09591d048a3fde70704313e45032014729f0bd09059049436c02b2459b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.12 Linux/6.9.3-76060903-generic

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page