To enable efficient array at a time communication between the XSB client and the database server we employ input and output buffer areas.
The input buffer size specifies the size of the array size to be used during insertions. The output buffer size specifies the size of the array size to be used during queries. The default sizes of these arrays are set to 200. The sizes of these arrays can be queried by stat_flag/2 and they can be modified by stat_set_flag/2. The flag number assigned for input array length is 58 and the flag number assigned for output array length is 60.