Skip to content

Commit

Permalink
Update intro.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpert authored Dec 22, 2022
1 parent f75e290 commit c56d0c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/src/pages/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,11 @@ Yes it will require additional storage to old/new values from triggers. But righ
### How do I cleanup my database?

Ask marmot to remove hooks and log tables by:
`marmot -db-path /path/to/your/db.db -cleanup`
`marmot -config /path/to/config.toml -cleanup`

### How many shards should I have?

It depends on your usecase and what problem you are solving for. In a typical setting you should not need more than couple of dozen shards. While read scaling won't be a problem, your write throughput will depend on your network and
disk speeds (Network being the biggest culprit).
Mostly you won't need more than 1. But it depends on your usecase, and what problem you are solving for. While read scaling won't be a problem, your write throughput will depend on your network and disk speeds (Network being the biggest culprit). Shards are there to eliviate the problem when you are writing fast enough to cause bottleneck by NATS JetStream (very unlikely with a commodity SQLite node).

### Can I use Marmot as single primary and multiple replicas?

Expand Down

0 comments on commit c56d0c4

Please sign in to comment.