In one of our queries we changed the readbuffer to a higher number (in stead of 25 we set it to 1000). After this change the data is retrieved from the database a lot faster. Depending on the number of fields which is requested from the database... is there an optimal size for the readbuffer value?
For example: is it better to get 15 Kb of data per fetch or is it better (faster) to get 100kb per fetch? And is there a maximum? Or depends this on de bandwidth of the netwerk (which varies from 2 mb/s until 100mb/sec).
For example: is it better to get 15 Kb of data per fetch or is it better (faster) to get 100kb per fetch? And is there a maximum? Or depends this on de bandwidth of the netwerk (which varies from 2 mb/s until 100mb/sec).