Skip to content

Commit

Permalink
Describe trim functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Simmer committed Nov 20, 2018
1 parent 54e80f8 commit ffbef4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ By default Janitor output to STDOUT for piping.

#### Trimming

Trimming is currently being reworked, but here is the command that will be executable soon.
Trimming allows much smaller database dumps by reducing the data exported. It does so by only keeping every fourth row,
and allows you to completely scrub tables (e.g caches) to further reduce the size. Is as non destructive as possible,
renaming the original table beforehand (and cleaning up afterwads).

```bash
./database-janitor --host=localhost:8787 --username=real --trim=true real | gzip -c > output/real_test.sql.gz
Expand Down

0 comments on commit ffbef4d

Please sign in to comment.