Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce statements_directory parameter #176

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

boernd
Copy link

@boernd boernd commented Nov 10, 2016

We are using this plugin mainly to gather database metrics (session statistics, tablespace usage, business data inconsistencies, etc.). When you have a lot of sql files/statements then for each input a database connection is opened which does not scale very well. The statements_directory parameter would allow to place several sql files within a directory which get executed together (e.g. in combination with the schedule option) only using one connection.

@mrjameshamilton
Copy link

Something like this is needed badly. We have ~500 SQL connections in our config, so ~500 database connections. The problem is also needing to paramerise the schema name, as the queries are the same but on different schemas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants