TABLE_UDF_ROW_BLOCK_CHUNK_SIZE_KB Option

Controls the size, in kilobytes, for server-allocated row blocks. Row blocks are used by Table UDFs and TPFs.

Allowed Values

0 to 4294967295

Default

128

Scope

Option can be set at the database (PUBLIC) or user level. When set at the database level, the value becomes the default for any new user, but has no impact on existing users. When set at the user level, overrides the PUBLIC value for that user only. No system privilege is required to set option for self. System privilege is required to set at database level or at user level for any user other than self.

Requires the SET ANY PUBLIC OPTION system privilege to set this option. Can be set temporary for an individual connection or for the PUBLIC role. Takes effect immediately.

Description

Specifies the row block size, in kilobytes, to fetch from the server.

The server allocates row blocks when you use fetch_into to fetch rows from a table UDF, and when you use fetch_block to fetch rows from a TPF input table.

The row block contains as many rows as will fit into the specified size. If you specify a row block size smaller than the size required for a single row, the server allocates the size of one row.