블로그 이미지
bedbmsguru

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

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
  • total
  • today
  • yesterday

'2018/09'에 해당되는 글 4건

  1. 2018.09.19 DML쿼리 튜닝방법
  2. 2018.09.19 알아봐요 할 DMV
  3. 2018.09.13 오라빅스 TableSpace 모니터링 쿼리 수정
  4. 2018.09.07 Zabbix Linux Disk IO 모니터링
2018. 9. 19. 16:31 오라클

DBMS Call을 줄인다.

 (1) 절차적 Loop를 One SQL로 변경한다.

 (2) Array Processing 활용 Array Size를 크게 늘려서 DBMS Call을 줄인다.

 (3) Index 및 제약조건 해제를 통하여 대량 DML 성능 개선

posted by bedbmsguru
2018. 9. 19. 13:07 SQL SERVER


https://www.mssqltips.com/sqlservertutorial/273/dynamic-management-views/

'SQL SERVER' 카테고리의 다른 글

SSMS의 Tip  (0) 2018.10.26
Index REBUILD OR REORG 쿼리  (0) 2018.10.26
Troubleshooting transactional replication latency issues  (0) 2018.08.10
Replication Subscription Type 확인  (0) 2018.05.09
Backup 및 Restore 진행현황 쿼리  (0) 2017.11.08
posted by bedbmsguru
2018. 9. 13. 17:33 Zabbix

system 임시 테이블 스페이스 제외하고 사용자 테이블스페이스만 모니터링 되도록 query.property 수정




select * from
(
select '- Tablespace ->', substr(a.tablespace_name,1,30) TABLESPACE_NAME,
'- TOTAL_SIZE_MB ->', round(sum(a.total1)/1024/1024,1) TOTAL_SIZE_MB ,
'- USED_SIZE_MB ->', round(sum(a.total1)/1024/1024,1)-round(sum(a.sum1)/1024/1024,1) USED_SIZE_MB,
'- FREE_SIZE_MB ->', round(sum(a.sum1)/1024/1024,1) FREE_SIZE_MB,
'- USED_PERCENT ->', round(100 - (round(sum(a.sum1)/1024/1024,1) / round(sum(a.total1)/1024/1024,1) * 100), 1) USED_PERCENT
from
(select tablespace_name,0 total1,sum(bytes) sum1,max(bytes) MAXB,count(bytes) cnt
from dba_free_space
WHERE tablespace_name NOT IN('SYSTEM', 'SYSAUX', 'UNDOTBS1')
group by tablespace_name
union
select tablespace_name,sum(bytes) total1,0,0,0
from dba_data_files
WHERE tablespace_name NOT IN('SYSTEM', 'SYSAUX', 'UNDOTBS1')
group by tablespace_name) a
group by a.tablespace_name
) where USED_PERCENT > 93 

'Zabbix' 카테고리의 다른 글

SAN Switch 모니터링 적용  (0) 2018.10.26
brocade SAN fc port zabbix 모니터링  (0) 2018.10.26
Zabbix Linux Disk IO 모니터링  (0) 2018.09.07
zabbix로 mariadb, mysql 모니터링 적용  (0) 2018.08.28
zabbix Trigger Flapping 방지  (0) 2018.07.05
posted by bedbmsguru
2018. 9. 7. 15:48 Zabbix

IO 모니터링


https://github.com/grundic/zabbix-disk-performance

posted by bedbmsguru