zitadel/internal/eventstore/v3
Silvan 99c645cc60
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
2024-07-17 15:16:02 +00:00
..
event_test.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
event.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
eventstore.go fix(eventstore): differentiate unique constraint error (#6832) 2023-10-27 14:10:01 +02:00
field_test.go feat(eventstore): add search table (#8191) 2024-07-03 15:00:56 +00:00
field.go feat(eventstore): add search table (#8191) 2024-07-03 15:00:56 +00:00
mock_test.go feat(eventstore): add search table (#8191) 2024-07-03 15:00:56 +00:00
push_test.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
push.go refactor(database): exchange connection pool (#8325) 2024-07-17 15:16:02 +00:00
push.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
sequence_test.go fix(eventstore): increase performance on push (#7125) 2023-12-31 15:30:25 +01:00
sequence.go fix(eventstore): increase performance on push (#7125) 2023-12-31 15:30:25 +01:00
sequences_query.sql fix(eventstore): increase performance on push (#7125) 2023-12-31 15:30:25 +01:00
type.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
unique_constraints_add.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
unique_constraints_delete_placeholders.sql fix(postgres <=15): delete unique constraints (#6971) 2023-11-24 07:23:23 +01:00
unique_constraints_delete.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
unique_constraints.go chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00