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

Transition SQL queries to stored procedures. #268

Open
cmillion opened this issue Jul 20, 2017 · 0 comments
Open

Transition SQL queries to stored procedures. #268

cmillion opened this issue Jul 20, 2017 · 0 comments
Assignees

Comments

@cmillion
Copy link
Owner

They are pretty much locked in now. Transitioning to SP will add marginally more security and allow for further optimization on the server side. There are a lot of queries in gQuery.py that are rarely used, if ever. We should first make sure that we have good regression test coverage, and then changing queries to SP starting with the most used ones. The most used queries are probably those for box and cone searches in sky coordinates and for computing effective exposure time, but we can check the server logs to be sure.

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

No branches or pull requests

2 participants