Control pool size

Hi,
Metabase is a cool thing!
We have a problem that metabase use big number(we have tight resource limitations) of connections to store metabase’s data.

Is there any way to control max number of connections for docker setup?

Hi there!

Metabase by default has a max connection limit of 15.

There’s an open issue for being able to modify this in the Admin settings ( https://github.com/metabase/metabase/issues/2172 ), but for now you can tweak it with java command-line arguments: https://github.com/metabase/metabase/issues/2172#issuecomment-559638836

If you’re running on Docker, you can pass in custom java options like this:
docker run -d -p 3000:3000 -e "JAVA_OPTS=-Dc3p0.maxPoolSize=0" --name metabase metabase/metabase

Damon