Collections of tools to debug and analyze MongoDB WiredTiger files
Project description
WiredTiger debug tools
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)"
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wiredtiger_debug_tools-0.1.3.tar.gz.
File metadata
- Download URL: wiredtiger_debug_tools-0.1.3.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.9.3-76060903-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
779b1cb3cbf97b84f210f74ffd6fa858efb91f521e1428752b5935f4babcd595
|
|
| MD5 |
e6d99a53669ef37cf95ff877429b1215
|
|
| BLAKE2b-256 |
f1191b47903d139e8d1d51e5d1c03c185755874ff173ccb2b90cff7df91208f8
|
File details
Details for the file wiredtiger_debug_tools-0.1.3-py3-none-any.whl.
File metadata
- Download URL: wiredtiger_debug_tools-0.1.3-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.9.3-76060903-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
479569b3b854808c6907d072675ccdab18230140c66f88a1dba48df11544163a
|
|
| MD5 |
997b0119f7124911922ff643e94acd7d
|
|
| BLAKE2b-256 |
d6b6fb09591d048a3fde70704313e45032014729f0bd09059049436c02b2459b
|