# Customizing Data APIs usage

You can edit some configuration parameters to refine the volume of data that can be exchanged between the Remote Engine Gen2 and the database you created a [Managing Data APIs](https://help.qlik.com/talend/en-US/data-inventory-user-guide/Cloud/managing-data-apis) on, depending on your usage.

Parameters configurable in default/.env file in the Remote Engine Gen2 installation directoryParameters configurable in default/.envdefault/.env file in the Remote Engine Gen2Remote Engine Gen2 installation directory

| Parameter | Description |
| --- | --- |
| DATASET\_API\_NUMBER\_CONNECTIONS\_PER\_DATABASE | This parameter allows you to control the number of permanent<br>connections opened by the Remote Engine Gen2 with a database.<br><br>More connections means that you can handle more<br>requests in parallel, but in return, the database can also protect<br>itself by setting a maximum number of parallel connections, regardless<br>of the origin.<br><br>The default value is 5. |
| DATASET\_API\_JDBC\_FETCH\_SIZE | This parameter allows you to control the number of records coming<br>from the database, that the Remote Engine Gen2 will have to process at a given time.<br><br>Setting a low value will<br>reduce the memory footprint of the JVM, but will increase the number<br>of exchanges with the database.<br><br>Setting a high value will reduce<br>the number of exchanges with the database.<br><br>Setting this value to<br>0 will disable this feature. With each request to<br>the database, all records are retrieved in one operation.<br><br>The<br>default value is 0. |
| DATASET\_API\_ODATA\_MAX\_SERVER\_PAGE\_SIZE | This parameter allows you to control how much records are paginated<br>on the server side and written to the OData client.<br><br>OData clients are<br>usually able to automatically consume several consecutive<br>pages.<br><br>Setting a low value mean that the server only handles a<br>few records at a time, and consumes less memory.<br><br>Setting a high<br>value means that the server will handle a high number of records at a<br>time.<br><br>Setting this parameter to 0 means there will be no server<br>side pagination<br><br>The default value is<br>100. |