Matomo since version 3.7.0 will always store sessions in the database.

If you have many concurrent dashboard users, you may need to increase the max number of client connections to the database server.

Previous FAQ: How do I use Matomo from the official Git repository?