일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- spring
- 로고추출
- DB자격증
- 실기합격후기
- 시나공IT
- 2020정처기실기
- 7일전사
- 2020정처기3회
- 정처기3회실기
- 로딩다이얼로그
- sql최적화
- 오라클
- myBatis
- 안드로이드
- java
- 로고투명
- 텍스트뷰안보임
- db최적화
- 어플로딩
- 개발자
- Framework추천
- sqlmapping
- 국가공인sql개발자
- SQL
- db
- 2020정보처리기사3회
- oracle
- 웹앱개발
- Android
- 로고흰색배경
- Today
- Total
목록oracle (2)
Everything counts - 라키의 IT 블로그
1.What? 데이터베이스 튜닝이란 데이터베이스를 그냥 데이터를 인출하고 저장하는 것 만으로 활용하는 것이 아니라, 실제 서비스 운영에 있어 성능을 매우 중요하게 생각하고 바꾸는 것. 2. WHY? 왜 데이터 베이스 튜닝하는가 데이터베이스는 주어진 하드웨어 환경 안에서 처리량과 응답속도를 개선하기 위해 수행한다. 개발 중에 잦은 데이터변경과 환경의 변화, 데이터량의 변화 등으로 성능이 보장되지 않는다. 정기적으로 데이터베이스 튜닝을 통해 이를 개선해나가야 한다. 3. HOW? 어떻게 할 것 인가 시스템 리포팅을 통해 평균 응답시간이 가장 오래걸리는 쿼리를 산출해볼 수 있다. 튜닝에 좋은 방법은 여러가지 쿼리를 써보고 속도를 비교해보는 것이다. 1) SELECT 문에서 * 대신 컬럼명을 사용해라 Use C..
- 이름이 부여된 서브쿼리. 반복되는 부분을 효과적으로 재사용하기 위해 만든다. - view 와의 차이점 : view는 만들면 drop할때까지 유지되지만, with문은 쿼리 내에 정의 된 경우 쿼리 안에서만 실행된다. - 사용 이유 : 처음 한번만 parsing되고 계획수립되므로 자주 사용 시 쿼리 성능향상에 도움된다. with test_emp as ( select * from emp ) select * from test_emp * mybatis에서 사용시 태그와도 같이 사용되며 코드 안에서 include만 선언하면 되어 재사용성이 높아진다. with test_emp as ( select * from emp ) select * from test_emp