Skip to content

PDB-470 Provide new db setting 'statements-cache-size' with a default of... #874

Merged
merged 1 commit into from Feb 28, 2014

3 participants

@kbarber
Puppet member
kbarber commented Feb 28, 2014

... 1000

This setting adjusts how many SQL prepared statements get cached via BoneCP.

By using this setting we've seen an almost 40% decrease in wall clock time it
takes to insert into resource_params_cache for a new catalog (as an example).

This patch adds the new configuration item as a user configurable one, with a
default set to 1000 for now. Documentation has also been added for this
setting.

Signed-off-by: Ken Barber ken@bob.sh

@kbarber kbarber PDB-470 Provide new db setting 'statements-cache-size' with a default…
… of 1000

This setting adjusts how many SQL prepared statements get cached via BoneCP.

By using this setting we've seen an almost 40% decrease in wall clock time it
takes to store a new catalog.

This patch adds the new configuration item as a user configurable one, with a
default set to 1000 for now. Documentation has also been added for this
setting.

Signed-off-by: Ken Barber <ken@bob.sh>
295edd7
@senior senior merged commit 3616f4e into puppetlabs:master Feb 28, 2014

1 check passed

Details default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.