oracle database performance best practices · 2015-01-21 · 1 agenda • deliver, manage and...
Post on 11-Mar-2020
7 Views
Preview:
TRANSCRIPT
Copyright © 2006 Quest Software
Oracle Database Performance Best Practices
Quest Software Korea2006.11.15
1
Agenda
• Deliver, Manage and Control Optimal Database Performance– Database Developer Best Practices– Database Administrator Best Practices
• Performance Testing Oracle Real Application Clusters• Compliance and Internal Control of Oracle environments
2
Deliver, Manage and Control Optimal Database Performance
3
Developer
변경과 Database
4
변경과 Database
Developer
5
EndUsers
Developer
변경과 Database
6
Developer
성능문제에 의한 응답속도
EndUsers
7
성능문제에 의한 응답속도
Developer
EndUsers
8
Developer
성능 문제의 예방과 예측
9
Key Highlights
10
Database Developer Best Practices
11
Cost
Design
TimeDevelopment QA Market
• In 2002, National Annual cost of inadequate software testing was $59.5 Billion• Developers spend 40% of their time fixing software defects• Between 60% and 70% of the cost of software is attributable to maintenance
악성 코드 수정 비용
12
Step 1: Develop
• 기능성을 고려한 database application code 작성
• 코드에 존재하는 버그 식별
• 정확한 정보 리턴을 확인
10%
65%
25%
Debugging
CodingReading
Source: GARTNER GROUP
Developer Resource Distribution
기능성 코드 배포
13
Step 2: Optimize
• 최상의 수행 확인
• 소스 코드로 부터 예상되는 SQL 문제 식별
• 자동적으로 모든 대안 SQL 작성
Source: Forrester Research
90%
60%SQL Statements
IndexesDB Changes
NetworkHW
Root of Database Performance Impact
최적화코드배포
14
Step 3: Validate
• 사용자 수에 다른 성능 변화 비교
• 배포 되기 전 운영 시스템에서 요구되는 성능 확인
• SQL 표준에 코드 생성으로 유지 보수의 용이성
• 관리 리포트 작성으로 용이한 검증
최적화코드배포
15
Deliver Optimal CodeQuest Core Technologies
1. Develop
2. Optimize3. Validate
Toad
Quest SQL Optimizer [Toad Xpert]Benchmark Factory
16
Deliver Optimal Code
17
Database Administrator Best Practices
18
Manage Database Performance Proactively
Step 1: 데이터베이스 성능 한계 도출
• 운영 데이테베이스의 부하를 다른 환경에서 재현
• 사용자의 어떠한 부하가 성능 변화를 일으키는지 판별
• 실 환경에서 영향을 미칠 수 있는 변경 요인 예상
• 데이터베이스 성능 베이스 라인 생성
19
Manage Database Performance Proactively
Step 2: 성능 이슈 사항 진단
• 테스트 환경에서의 부하테스트 중 병목현상 예측
• 발상되는 병목 현상의 유형 확인
• 성능 분석과 근본원인 도출
20
Manage Database Performance Proactively
Step 3: 성능 이슈 해결
• 데이테베이스 환경 조정
• 스페이스 부족 조건 식별
• 디스크 이용율 최대화
• 인텍스 튜닝
• SQL code 최적화
21
Manage Database Performance Proactively
Step 4: 성능 검증
• SQL Code
• 사용자 수에 다른 성능 변화 비교
• 배포 되기 전 운영 시스템에서 요구되는 성능 확인
• Database Changes
• 데이터베이스 튜닝 후 부하재현을 통한 성능 재검증
• 이전의 성능 베이스라인과 비교
22
Manage Database Performance Proactively Quest Core Technologies
2. Diagnose
3. Resolve
1. Discover Limits
Quest SQL Optimizer, Space Manager,Toad DBA
Benchmark FactoryCapacity Manager
Spotlight, Performance Analysis
4. ValidateBenchmark Factory
23
Efficiently Administer Databases
2. Compliance1. Day-to-Day ManagementToad w/ DBA ModuleSpace Manager
InTrust for Databases
3. Backup and RecoveryLiteSpeed
24
Manage Database Performance Proactively
25
Performance Testing Oracle Real Application Clusters
26
Oracle RAC – Advantages
• Availability, availability, availability• 부하증가와성장에따른확장성
• 부하분산과 Resource 최적화• 데이터베이스환경의통합
27
Oracle RAC – Challenges
• cluster size 결정• 성능테스트방법의정의
• Implemet와maintain 방법에적합한툴의사용• RAC의전문적지식에따른활용의한계
28
Quest’s RAC Performance Testing Methodology
1. Record ProductionLevel Activity
3. Monitor and Discover RAC Performance Bottlenecks
2. RAC Stress Testing and Simulations
Performance Analysis ®
Benchmark Factory®
for Databases
Spotlight® on RAC
10g RAC
29
Benchmark Factory® - RAC environments
30
Spotlight® on RAC – RAC environments
31
Performance Analysis® - RAC environments
32
Compliance and Internal Control of Oracle environments
33
DIMENSIONS
Compliance Dimensions – the biggies
AUDIT AUDIT –– how muchhow much
DOMAIN DOMAIN –– how broadhow broad
CONTROL CONTROL –– how deephow deep
34
Dimensions – what are controls?
• Access• Protection• Transport• Recovery
FOCUS OF CONTROLFOCUS OF CONTROL
• Guideline• Procedure• Standard
CONTENTCONTENT
• Change• Incident• Audit• Continuity
• Ownership• Metrics• Coverage
CRITERIACRITERIA
• Structure• Policy• Budget• Skills
processprocessprocessgovernancegovernancegovernance serviceserviceservice
• System• Security• Schema• Support
objectobjectobject
• Preventive• Detective• Corrective
STAGESTAGE
35
Dimensions – what is the domain?
• Files & folders• Services
• Files & folders• Services
• Certification• Patch level• Ownership
• Certification• Patch level• Ownership
• Instance• Listener• Session• Storage• Security• Data• Code• Transport
• Instance• Listener• Session• Storage• Security• Data• Code• Transport
• Authentication• Authorization• Global & Local
• Authentication• Authorization• Global & Local
DATABASEDATABASE IDENTITYIDENTITY SOFTWARESOFTWARE
NETWORKNETWORK OSOS
• Protocols• Encryption
• Protocols• Encryption
36
probe
mine
read
scrape
sniff
collectcollect
Dimensions – what is auditing?
planplan
rulesengine
policy
archive
analyzeanalyze
contextforensicsannotate
resolveresolve
incident
respondrespond
notify
workflow
monitor
report
executeexecute
37
Products - manageability
APPLICATIONAPPLICATION DATABASEDATABASE INFRASTR.INFRASTR.
PLANPLAN
EXECUTEEXECUTE
AUDITAUDIT PLATFORMSPLATFORMS
38
Internal Controls
Internal controls은조직내에서의위험요소를완화시킬수있도록하는방법– 예방 관리:위험요인을예방하고제거
– 탐지 관리:위험요인이발생한경우이를탐지 / 보고– 조정 관리 :발생한위험요인의적합성의조정
39
How Quest Helps
Quest products help you control:• Access to systems, applications and data• Change to production applications
and system configurations• Availability of critical
systems and applications• Retention of important business
communications and data
40
Application Change Management Stat® for Oracle E-Business and PeopleSoft
• 감사및보고• 이슈추적, workflow, scheduling• Source 코드관리및버전관리• Patch 관리• 어플리케이션영향도
41
Application Change Management Stat® for Oracle E-Business and PeopleSoft
Visibility•Auditing•Reporting
Control•Change Request Tracking
•Impact Analysis•Workflow
•Version Control•Documentation
•Patch Management
•Deployment Mgt
Dev Test QA Staging Prod
Etc
Functional forces
ImplementationEnhancement
FixesPatches
Upgrades
Automation
App Owner
Dev & Dev Mgr
App userApp DBAOps Mgt
Help deskQA
Stat – Application Change ManagementIndustry
forcesCompliance Regulations& Standards
SOXOMB A-123
ITILCMM
Sta
t –
Ap
pli
cati
on
Ch
an
ge M
an
ag
em
en
t
42
Database Audit Management Intrust for Database • 침입탐지• Workflow 정의• 오브젝트감사• SQL 적합성• 세션감사• Security Reporting
43
Database Audit Management Intrust for Database
44
About Quest Software
45
Business Domain
Application Performance Management
DatabaseManagement
WindowsManagement
APM (애플리케이션 성능 관리 솔루션)
• 애플리케이션 전반에 대한 뷰 제공
• 성능 저하에 대한 사전 인지 및 방지
• 성능 복구
• 서비스 레벨 규정
데이타베이스 성능 관리 솔루션
• 데이타베이스 설계, 개발 및 테스트 자동화
• 성능 및 가용성 문제에 대한 능동적인 탐지
• 광범위한 튜닝 및 데이타베이스 분석을 통한 문제 해결
마이크로소프트 인프라 성능 관리 솔루션
• S/W, H/W 구매 및 관리 비용 절감을 위한 인프라 간소화
• 사용자 업무 중단과 피해를 최소화 할 수 있는 자동화된 적용과 관리
• 마이크로소프트 인프라에 대한 악의적인 침해와 사고를 미연에 방지
46
You Need More than “Out of the Box”
47
혁신적인 퀘스트소프트웨어
제품은 애플리케이션,
데이터베이스 및 Windows
인프라의 생산성 과 성능 향상을
극대화 할 수 있도록 돕습니다.
Quest Solutions for Enterprise IT
48
퀘스트소프트웨어는 귀사의
비즈니스 애플리케이션이
최고의 성능을 실현할 수
있도록 도와주며, 급변하는
시대에 효과적으로 대처할 수
있는 유연성을 제공합니다.
Application Management
49
퀘스트소프트웨어는
데이타베이스 개발 생산성을
향상시키고 효과적인
데이타베이스 관리를 통해
데이타베이스의 성능을
최적화할 수 있도록 도와줍니다.
Database Management
50
퀘스트소프트웨어는 귀사의 MS
인프라 환경을 자동화,
단순화하여 광범위한 관리,
Migration 그리고
통합 가용성을 보장합니다.
Windows Management
51
Compliance Management
퀘스트소프트웨어는 귀사의
Compliance를 효율적으로 관리하여,
추가비용 없이 뛰어난 운영성을
확보할 수 있도록 돕습니다.
IT 컨트롤을 위한 4개 핵심 분야
• Access : 주요 시스템 및 데이터
• Change : 애플리케이션 및 시스템
• Availability : 주요 시스템 및 데이터
• Retention : 중요 정보 전달 및 관리
52
Identity Management
퀘스트소프트웨어의 확장된
Native Active Directory
기능은 간편화되고 향상된
Identity 관리 - 정책,
패스워드 관리 및 감사 기능
등 – 기능으로 Window 및
non-Window 환경을 통합
지원합니다.
53
Application Management
퀘스트소프트웨어는 기업의
복잡한 애플리케이션 환경을
효율적으로 관리/통제할 수
있도록 도와 줍니다. End
유저에서 데이터베이스에
이르기까지 – 오직 퀘스트
만의 폭넓은 기술과 경험은
기업의 성공적인 비즈니스
환경을 구현해 드립니다.
54
Strong Industry Partnerships
55
Customers : Korea (Public, Manufacture)
56
Customers : Korea (Financial, Others)
57
Customers (World wide)
58
Get More Value from your Enterprise IT
생산성 향상
성능 극대화
안정성 강화
높은 유연성
보안성 향상
자동화 실현
More Value
59
Thank You
top related