From f786b9949e15368e728a0fca001e0376ff53ad75 Mon Sep 17 00:00:00 2001 From: "nelson.parente" Date: Wed, 17 Jun 2026 10:21:40 +0200 Subject: [PATCH 1/3] docs: document connection pool options for Oracle state store Signed-off-by: nelson.parente --- .../supported-state-stores/setup-oracledatabase.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md index a6035eb6844..e60cd202016 100644 --- a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md +++ b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md @@ -47,6 +47,10 @@ The above example uses secrets as plain strings. It is recommended to use a secr | tableName | N | Name of the database table in which this instance of the state store records the data default `"STATE"`| `"MY_APP_STATE_STORE"` | bulkGetChunkSize | N | Maximum number of keys per internal SQL query when using BulkGet. When the total number of requested keys exceeds this value, multiple chunked queries are executed sequentially. Valid values are between 1 and 1000 ([Oracle's IN-list expression limit](https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/IN-Condition.html)). Values less than or equal to 0 use the default. Values above 1000 are chunked with a warning log. Defaults to `"1000"` | `"100"` | actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"` +| `maxOpenConns` | N | Maximum number of open connections to the database. Defaults to unlimited (Go default: `0`) | `"10"` | +| `maxIdleConns` | N | Maximum number of idle connections in the connection pool. Defaults to Go default (`2`) | `"5"` | +| `connMaxLifetime` | N | Maximum lifetime of a connection as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to connections being reused forever | `"30s"`, `"5m"` | +| `connMaxIdleTime` | N | Maximum idle time for a connection before it is closed, as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to no limit | `"5m"` | ## What Happens at Runtime? When the state store component initializes, it connects to the Oracle Database and checks if a table with the name specified with `tableName` exists. If it does not, it creates this table (with columns Key, Value, Binary_YN, ETag, Creation_Time, Update_Time, Expiration_time). From c28459491d788fdadfd609659a60c6a245069a9c Mon Sep 17 00:00:00 2001 From: Nelson Parente Date: Thu, 18 Jun 2026 21:31:35 +0100 Subject: [PATCH 2/3] docs(oracle): fix metadata table formatting and maxIdleConns default (Copilot review) Signed-off-by: Nelson Parente --- .../supported-state-stores/setup-oracledatabase.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md index e60cd202016..e0a9d2b456f 100644 --- a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md +++ b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md @@ -47,10 +47,10 @@ The above example uses secrets as plain strings. It is recommended to use a secr | tableName | N | Name of the database table in which this instance of the state store records the data default `"STATE"`| `"MY_APP_STATE_STORE"` | bulkGetChunkSize | N | Maximum number of keys per internal SQL query when using BulkGet. When the total number of requested keys exceeds this value, multiple chunked queries are executed sequentially. Valid values are between 1 and 1000 ([Oracle's IN-list expression limit](https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/IN-Condition.html)). Values less than or equal to 0 use the default. Values above 1000 are chunked with a warning log. Defaults to `"1000"` | `"100"` | actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"` -| `maxOpenConns` | N | Maximum number of open connections to the database. Defaults to unlimited (Go default: `0`) | `"10"` | -| `maxIdleConns` | N | Maximum number of idle connections in the connection pool. Defaults to Go default (`2`) | `"5"` | -| `connMaxLifetime` | N | Maximum lifetime of a connection as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to connections being reused forever | `"30s"`, `"5m"` | -| `connMaxIdleTime` | N | Maximum idle time for a connection before it is closed, as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to no limit | `"5m"` | +| `maxOpenConns` | N | Maximum number of open connections to the database. Defaults to unlimited (Go default: `0`) | `"10"` +| `maxIdleConns` | N | Maximum number of idle connections in the connection pool. Defaults to Go default (`2`) | `"5"` +| `connMaxLifetime` | N | Maximum lifetime of a connection as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to connections being reused forever | `"30s"`, `"5m"` +| `connMaxIdleTime` | N | Maximum idle time for a connection before it is closed, as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to no limit | `"5m"` ## What Happens at Runtime? When the state store component initializes, it connects to the Oracle Database and checks if a table with the name specified with `tableName` exists. If it does not, it creates this table (with columns Key, Value, Binary_YN, ETag, Creation_Time, Update_Time, Expiration_time). From 259fe35027debfc6b7d8ea788e6b139595bceaa0 Mon Sep 17 00:00:00 2001 From: Nelson Parente Date: Fri, 19 Jun 2026 00:45:46 +0100 Subject: [PATCH 3/3] docs(oracle): match existing table style for new field names (Copilot review) Signed-off-by: Nelson Parente --- .../supported-state-stores/setup-oracledatabase.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md index e0a9d2b456f..a5e81900937 100644 --- a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md +++ b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-oracledatabase.md @@ -47,10 +47,10 @@ The above example uses secrets as plain strings. It is recommended to use a secr | tableName | N | Name of the database table in which this instance of the state store records the data default `"STATE"`| `"MY_APP_STATE_STORE"` | bulkGetChunkSize | N | Maximum number of keys per internal SQL query when using BulkGet. When the total number of requested keys exceeds this value, multiple chunked queries are executed sequentially. Valid values are between 1 and 1000 ([Oracle's IN-list expression limit](https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/IN-Condition.html)). Values less than or equal to 0 use the default. Values above 1000 are chunked with a warning log. Defaults to `"1000"` | `"100"` | actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"` -| `maxOpenConns` | N | Maximum number of open connections to the database. Defaults to unlimited (Go default: `0`) | `"10"` -| `maxIdleConns` | N | Maximum number of idle connections in the connection pool. Defaults to Go default (`2`) | `"5"` -| `connMaxLifetime` | N | Maximum lifetime of a connection as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to connections being reused forever | `"30s"`, `"5m"` -| `connMaxIdleTime` | N | Maximum idle time for a connection before it is closed, as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to no limit | `"5m"` +| maxOpenConns | N | Maximum number of open connections to the database. Defaults to unlimited (Go default: `0`) | `"10"` +| maxIdleConns | N | Maximum number of idle connections in the connection pool. Defaults to Go default (`2`) | `"5"` +| connMaxLifetime | N | Maximum lifetime of a connection as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to connections being reused forever | `"30s"`, `"5m"` +| connMaxIdleTime | N | Maximum idle time for a connection before it is closed, as a [Go duration](https://pkg.go.dev/time#ParseDuration). Defaults to no limit | `"5m"` ## What Happens at Runtime? When the state store component initializes, it connects to the Oracle Database and checks if a table with the name specified with `tableName` exists. If it does not, it creates this table (with columns Key, Value, Binary_YN, ETag, Creation_Time, Update_Time, Expiration_time).