Note
For V4.6.0, this parameter is available starting with V4.6.0.
Description
document_ai_file_max_size specifies the maximum size of a file that can be processed in one call to the LOAD_FILE function. This function is mainly used for external text extraction in OceanBase AI RAG.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 100 MB |
| Value range | [0, 500MB] |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
You can execute the ALTER SYSTEM SET statement to modify the parameter. The value of document_ai_file_max_size will be adjusted accordingly.
Examples
Execute the following command to set the value of document_ai_file_max_size to 10 MB.
obclient> ALTER SYSTEM SET document_ai_file_max_size = 10MB;
