# FERRET

> Ferret, the mongo over postgres
---

MongoDB has lost its open-source appeal and is no longer suitable for many cases.
In contrast, PostgreSQL offers robust, native JSON support and outperforms MongoDB as a document database.

Thus, FerretDB provides a mongo wire-protocol-compatible layer upon postgres, enabling MongoDB users to migrate smoothly to PostgreSQL’s superior platform.
[**FERRET**](/docs/ferret) is an <a href="/docs/intro/module#extra-modules"><span class="text-emerald-500 font-black">OPTIONAL</span></a> module in Pigsty.
It requires the `documentdb` extensions to work since v2.0.

Pigsty has packaged that and provides a [`mongo.yml`](https://github.com/pgsty/pigsty/blob/v3.7.0/conf/mongo.yml) template to help you deploy a FerretDB cluster with ease.




**Configuration**


        Configure ferret module, and use multiple ferret nodes.



**Parameters**


        Customize ferret components with 15 parameters



**Administration**


        Create, remove, expand, shrink, upgrade ferret cluster



**Playbooks**


        Ansible playbooks that can be used in this module



**Monitoring**


        Dashboards, metrics, record & alerting rules.



**Usage**


        How to use the mcli and configure backup repo

---

Section pages:

- [Usage](/docs/ferret/usage/): Connect to FerretDB with client tools
- [Configure](/docs/ferret/config/): describe the ferret cluster you want
- [Parameter](/docs/ferret/param/): customize FerretDB with 9-parameter
- [Administration](/docs/ferret/admin/): run administrative tasks
- [Playbook](/docs/ferret/playbook/): Install ferretdb with playbooks
- [Monitor](/docs/ferret/monitor/): FerretDB monitor dashboards and alerts
