lightdb

(★ 64)

Bare Metal Modular Database

File Explorer

  • .gitattributes
  • .gitignore
  • .jvmopts
  • build.sbt
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • LICENSE
  • publish.sh
  • README.md
  • run_benchmarks.sh
  • views.md
  • why-lightdb.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

sum

View Details ▼

Compute checksums and the number of blocks for a file.
A predecessor to the more modern `cksum`.

sum {{path/to/file}}

Compute a checksum with BSD-compatible algorithm and 1024-byte blocks:

sum {{[-s|--sysv]}} {{path/to/file}}

Compute a checksum with System V-compatible algorithm and 512-byte blocks:

🔍

truncate

View Details ▼

Shrink or extend the size of a file to the specified size.

truncate {{[-s|--size]}} 10G {{path/to/file}}

Set a size of 10 GB to an existing file, or create a new file with the specified size:

truncate {{[-s|--size]}} +50M {{path/to/file}}

Extend the file size by 50 MiB, fill with holes (which reads as zero bytes):

truncate {{[-s|--size]}} -2G {{path/to/file}}

Shrink the file by 2 GiB, by removing data from the end of file:

# Project Badges

// repository documentation