Overview
document_ai_file_max_size specifies the maximum size of a file that can be processed by the LOAD_FILE function at one time. This function is primarily used for external text extraction in OceanBase AI RAG.
Privilege requirements
Query parameters
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 100 MB |
| Value range | [0, 500MB] |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
You can execute the ALTER SYSTEM SET statement to modify the value of the document_ai_file_max_size parameter.
Configuration example
Run 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;