zitadel/internal/database
Silvan 93be062d30
refactor(database): exchange connection pool (#8325)
# Which Problems Are Solved

The connection pool of go uses a high amount of database connections.

# How the Problems Are Solved

The standard lib connection pool was replaced by `pgxpool.Pool`

# Additional Changes

The `db.BeginTx`-spans are removed because they cause to much noise in
the traces.

# Additional Context

- part of https://github.com/zitadel/zitadel/issues/7639

(cherry picked from commit 99c645cc60)
2024-07-22 13:28:57 +02:00
..
cockroach refactor(database): exchange connection pool (#8325) 2024-07-22 13:28:57 +02:00
dialect fix(db): add additional connection pool for projection spooling (#7094) 2023-12-20 16:13:04 +00:00
migrate feat(cli): init cli (#3186) 2022-02-09 15:01:19 +01:00
mock chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00
postgres refactor(database): exchange connection pool (#8325) 2024-07-22 13:28:57 +02:00
database_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
database.go refactor(database): exchange connection pool (#8325) 2024-07-22 13:28:57 +02:00
type_test.go chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00
type.go chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00