Actions
Architecture #4526
closedArchitecture #4428: Avoid useless requests and commits in SQL database
Change the validation query for the database
Status:
Released
Priority:
2
Assignee:
Category:
Performance and scalability
Target version:
Fix check:
Regression:
Description
Rudder does the following query to check the connection validity:
SELECT tables.table_name FROM information_schema.tables WHERE lower(table_name) = '';
however, it seems the correct query (and which put less stress on the systems) is
select 1
as said in http://stackoverflow.com/questions/10684244/dbcp-validationquery-for-different-databases
Actions