MySQL Performance when using GF_DATABASE_URL

Set MaxIdleConn and MaxOpenConn when using the GF_DATABASE_URL configuration. Also added GF_DATABASE_DEBUG flag to print SQL statements and SQL execution times.
See #9784 for the details.
This commit is contained in:
Furtchet
2017-11-03 14:05:32 -05:00
parent bf85735a36
commit 5fdfa3ff7e
4 changed files with 18 additions and 6 deletions

View File

@@ -82,6 +82,9 @@ max_idle_conn = 2
# Max conn setting default is 0 (mean not set)
max_open_conn =
# Set to true to log the sql calls and execution times.
debug =
# For "postgres", use either "disable", "require" or "verify-full"
# For "mysql", use either "true", "false", or "skip-verify".
ssl_mode = disable