SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Optimize database connection pool settings for MySQL and PostgreSQL (#7645)
Chris Lu5d53edb93b8e
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.tomlindex 9261591c4d..1ec91404ce 100644--- a/weed/command/scaffold/filer.toml+++ b/weed/command/scaffold/filer.toml@@ -63,9 +63,9 @@ port = 3306username = "root"password = ""database = "" # create or use an existing database-connection_max_idle = 2-connection_max_open = 100-connection_max_lifetime_seconds = 0+connection_max_idle = 10+connection_max_open = 50+connection_max_lifetime_seconds = 300interpolateParams = false# if insert/upsert failing, you can disable upsert or update query syntax to match your RDBMS syntax:enableUpsert = true@@ -87,9 +87,9 @@ port = 3306username = "root"password = ""database = "" # create or use an existing database-connection_max_idle = 2-connection_max_open = 100-connection_max_lifetime_seconds = 0+connection_max_idle = 10+connection_max_open = 50+connection_max_lifetime_seconds = 300interpolateParams = false# if insert/upsert failing, you can disable upsert or update query syntax to match your RDBMS syntax:enableUpsert = true@@ -117,9 +117,9 @@ sslmode = "disable"# sslkey = "/path/to/client.key" # client private key file# sslrootcert = "/path/to/ca.crt" # CA certificate file# sslcrl = "/path/to/client.crl" # Certificate Revocation List (CRL) (optional)-connection_max_idle = 100-connection_max_open = 100-connection_max_lifetime_seconds = 0+connection_max_idle = 10+connection_max_open = 50+connection_max_lifetime_seconds = 300# Set to true when using PgBouncer connection poolerpgbouncer_compatible = false# if insert/upsert failing, you can disable upsert or update query syntax to match your RDBMS syntax:@@ -156,9 +156,9 @@ sslmode = "disable"# sslkey = "/path/to/client.key" # client private key file# sslrootcert = "/path/to/ca.crt" # CA certificate file# sslcrl = "/path/to/client.crl" # Certificate Revocation List (CRL) (optional)-connection_max_idle = 100-connection_max_open = 100-connection_max_lifetime_seconds = 0+connection_max_idle = 10+connection_max_open = 50+connection_max_lifetime_seconds = 300# Set to true when using PgBouncer connection poolerpgbouncer_compatible = false# if insert/upsert failing, you can disable upsert or update query syntax to match your RDBMS syntax: