# SQLcommenter - ORM auto-instrumentation 도구

> Clean Markdown view of GeekNews topic #3687. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3687](https://news.hada.io/topic?id=3687)
- GeekNews Markdown: [https://news.hada.io/topic/3687.md](https://news.hada.io/topic/3687.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-02-04T10:48:08+09:00
- Updated: 2021-02-04T10:48:08+09:00
- Original source: [cloud.google.com](https://cloud.google.com/blog/topics/developers-practitioners/introducing-sqlcommenter-open-source-orm-auto-instrumentation-library)
- Points: 11
- Comments: 3

## Topic Body

- 구글이 공개한 오픈소스

- ORM이 만들어내는 SQL에 자동으로 주석을 달아줘서, 쿼리에 대한 성능 분석을 가능하게 해주는 라이브러리

- 코드 변경 거의 없이 적용 가능

- Python,Java,Node,Ruby 지원

ㅤ→ Django, Spring, Sqlalchemy, Hibernate, Knex, Sequelize, Flask, Rails ORM

ㅤ→ MySQL, PostgreSQL, MariaDB, SQLite, Cloud SQL

- Cloud SQL Insights 와 연동 제공

## Comments



### Comment 4403

- Author: narusas
- Created: 2021-02-04T13:12:51+09:00
- Points: 1

음 sql이 text가 변경되면 파싱과 옵티마이저가 다시 돌수도 있으니 성능에 영향이 갈거 같은데..

이문제는 어떻게 극복했으려나요..

### Comment 4411

- Author: deadcat
- Created: 2021-02-05T19:10:21+09:00
- Points: 1
- Parent comment: 4403
- Depth: 1

아직 자세히 보진 않았지만 ORM —> SQL 중간에서 SQL로 들어가기 전 ORM이 만든 SQL 쿼리를 바꾸는거라 상관없지 않을까요?

### Comment 4400

- Author: hibuz
- Created: 2021-02-04T11:00:18+09:00
- Points: 1

- Github: https://github.com/google/sqlcommenter

- Documentation: https://google.github.io/sqlcommenter/
