Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: There is a New Relic for Data Bases?
2 points by dudurocha on April 3, 2013 | hide | past | favorite | 2 comments
Guys, I don't have a DBA in my startup, and using MVC, I feel that my queries are sometimes slower than they could be. There is anything similar to New Relic only focused in the queries?


I don't know that you need a new relic type system just yet. I would look at the queries that are sent to the database.

Assuming you are using a popular framework like Symfony or Django, there should be debugging output that will show the queries generated by the ORM. Symfony will show every query and it's execution time for every page load.

You should also look at your database server's configuration options. For example, both mysql and postgresql have options to flag slow queries. You can also dump every query the database makes to a logfile.


There are entire categories of databases that aren't wired up to a web framework or the web itself. There is extensive logging options and performance counters and whatever else for everything but having that wrapped up inside a newrelic style install-and-enjoy service would be amazing.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: