CData Python Connector for Presto

Build 26.0.9770

MaxBufferedPages

Specifies the maximum number of result pages the provider buffers while reading query results.

Data Type

int

Default Value

2

Remarks

The provider retrieves result pages sequentially and places them in a client-side prefetch queue while the current page is consumed. This property controls the maximum number of pages held in that queue.

The default value is 2. Set this property to a whole number from 1 through 16. A lower value reduces memory usage, while a higher value can help maintain result throughput when consuming rows quickly. Because the amount of data in each page is determined by Presto, actual memory usage varies by query.

Changing this property does not increase fetch concurrency. The provider continues to retrieve pages one at a time.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770