Sie sind auf Seite 1von 41

Top 10 Performance Tips for OBI-EE

Narasimha Rao Madhuvarsu L V


Bharath Terala
October2011

AppsAssociatesLLC

Boston New York Atlanta Germany India

PremierITProfessionalServiceandSolutionProvider
ofOracleApplicationsandTechnologies
EBusinessSuite
Consulting
EnterpriseApps
ManagedServices
OBIEE,PreBuiltBI
Analytics
HyperionEPM
Middleware&
Integration
Infrastructure
Services
Microsoft.NetDev
&Support
AppsUniversity

HighValueROI
BestPractice
Methodology
Local/Global
Service
Delivery
SubjectMatter
Experts

* SelectedbyOracleasBIPillarPartner

Disclaimer
ThefollowingisintendedtooutlineSpeaker'sideason
thetopic.Itisintendedforinformationpurposesonly,
andmaynotbeincorporatedintoanycontract.Itisnot
a commitment to deliver any material, code, or
functionality,andshouldnotberelieduponinmaking
purchasingdecisions.

Agenda

OBIEESystemArchitectureOverview
PerformanceExpectations
ApproachtoPerformanceIssues
TuningTips
QuestionandAnswers

OBIEEArchitecture

TypicalBIFarm

Agenda

OBIEESystemArchitectureOverview
PerformanceExpectations
ApproachtoPerformanceIssues
TuningTips
QuestionandAnswers

PerformanceExpectations

ResponseTime
OptimizedDesign
BIServerPerformance
DatabasePerformance
IterativeApproach

CommonIssues

ReportRunningforLongtime
OBIEENotResponding
Loggingin
BIPublisherburstingdelayed
SpecificiBotfailed

Agenda

OBIEESystemArchitectureOverview
PerformanceExpectations
ApproachtoPerformanceIssues
TuningTips
QuestionandAnswers

10

SourcesforDebugging
Logs

NQServer.log
NQQuery.log
Saw0.log
JavaHostLog
ApplicationServerLog
Schedulerlog
TraceFiles

UsageTracking
PerformanceCounters
Networktrace
ResourceUtilizationinEM
11

Agenda

OBIEESystemArchitectureOverview
PerformanceExpectations
ApproachtoPerformanceIssues
TuningTips
QuestionandAnswers

12

Variable Management
ScopeoftheVariable
ConsolidateInitializationBlockswherepossible
DisableunusedInitializationBlocks

13

Report Modeling

ColumnFilters
UnionReports
NonCacheableSQLElement
LargeResultSets
PromptsonFactTables

14

DataModeling

SnowflaketoStar
Detailvs.Aggregatetables
OpaqueViewsandMaterializedViews
ManagingJoins
DrivingTable
OuterJoins
ForeignKeyvs.ComplexJoininLogicalLayer

15

Infrastructure
CPU
Chips,Cores,Cores/Chip,Multithreading,Clock
Speed
Memory
Emulation,SizeVM
Disk
RAID,I/OController
Network
Latency,Compression

16

OperatingSystemTuning

ReleaseTCP/IPclosedconnectionsfaster
TuneTCPWaittimes
IncreaseFiledescriptors
IncreaseBacklogconnectionsqueue
AdjusttheMaxUserPort
PowerOptionstoHighPerformance
Enable/3GBSwitchfor32BITOperatingsystems

17

J2EEServerTuning
ConfigureeachapplicationonseparateOC4J
container.
ConfigureMultipleJVMs
TuneHeapMemorySize

18

Compression/Caching
TuneHTTPServerCompression/Caching

WhyuseWebServerCompression/CachingforOracle
BusinessIntelligence?

BandwidthSavings
Improvesrequest/responselatency

19

BenchmarkswithCompression
11g
Pages

HTTPResponse HTTPResponseSizewithCompression Compressionratio


Size(Kbytes)
(KB)
(%)

Dashboardwith3
Tablesand3Charts
(eachtablehas
5~10rows,3~5cols)

297.5

39

86

Dashboardwith1
Table(25rows,10
columns)

210

28.5

86

Dashboardwith1
LargeTable
(300rows,10
columns)

938

79

91

20

DatabaseTuning

InitializationParameters
IndexStrategy
OptimalRedologsizing
Statistics
Layout

21

DatabaseTuning
InitializationParameters
PARALLEL_DEGREE_POLICY
OPTIMIZER_MODE
OPTIMIZER_INDEX_COST_ADJ
OPEN_CURSORS
MEMORY_TARGET

22

Memory_Target
SQL>select*fromv$memory_target_adviceorderby
memory_size;
MEMORY_SIZE MEMORY_SIZE_FACTOR ESTD_DB_TIME ESTD_DB_TIME_FACTOR VERSION
180

0.5

458

1.344

270

0.75

367

1.0761

360

341

450

1.25

335

0.9817

540

1.5

335

0.9817

630

1.75

335

0.9817

720

335

0.9817

23

DatabaseTuning
InitializationParameters

PARALLEL_DEGREE_POLICY
OPTIMIZER_MODE
OPTIMIZER_INDEX_COST_ADJ
OPEN_CURSORS
MEMORY_TARGET
Processes
USE_LARGE_PAGES

24

HugePagesinLinux

Post
Pre

25

DatabaseTuning
IndexStrategy
GoaltoOptimizeQueryperformance
UnderstandStarSchemaQueries
Sohowdowegoaboutoptimizingthesequeries?
Tuningastarqueryhastwoimportantcriteria,theyare:
Createabitmapindexoneachoftheforeignkey
columnsinthefacttableortables
Settheinitializationparameter
STAR_TRANSFORMATION_ENABLEDtoTRUE.

26

DatabaseTuning
OptimalRedologsizing
Thesizeoftheredologfilescaninfluence
performance.
Largerredologfilesprovidebetterperformance.
RuleofthumbincreaseRedologsizesothatnot
morethan3logswitchesperhour.

27

DatabaseTuning

Statistics
GatheringTableandIndexstatisticsiskeyforoptimizerto
buildoptimalexecutionplan.
GatherWorkloadstatisticsonSourceandTargetdatabases.
Desiredsystemstatisticsarecomputedwhendatabaseis
undersignificantworkload.
BIAPPSCustomerscanautomategatheringindexstatistics
duringETL
Editthecustomsql.xmlunderDAC_HOME
D:\app\oracle\product\10.1.3.4PRODDAC\bifoundati
on\dac\CustomSQLs\customsql.xml
Setcascade=>True

28

DatabaseTuning
TablespaceLayout
IsolatetablespaceforFACTandDIMENSIONtables
IsolateIndextablespaceforFACTandDimension
tables
TEMPandUNDOdatafilesshouldbeonRAID1for
fasterI/O

29

BIServer

30

BIServerTuning..
Themostimportantperformanceandscalability
featuresare:
CONNECTIONPOOLING
QUERYREUSEANDCACHING
ConfigurationParameters
StatementCache

31

BIServerTuning..

ConnectionPooling
BIServercanbeconfiguredwithoneormoreconnection
poolsforeachdatabase.
Specificusersorgroupscanbeassignedtospecific
connectionpools.
Anadministratorcangivecertaingroupshigherpriority.
Limitmaximumnumberofconnectionstokeepopen.
Thissettingwillpreventdatabaseserversfrombeing
overloaded.

32

BIServerTuning..

Query/CacheTuning
OracleBIServertointelligentlyreusepreviousqueryresults,a
capabilitycalled"querycaching.
ORACLE BI Server

Web Server

BI Server
CACHING

Database

Database Server

33

BIServerTuning
BIServerConfigurations
IncreasesessionlimitbasedonClientconnections.
Defineproperlimitsforserveranddatabase
threads.
Usefasterdiskstodatacachestorage
Cacheaggregaterolluphits
Definepropercacheentrysize
DefineTemporarypathtofasterdisk
Ex./dev/shm onLinux

34

BIServerTuning

StatementCache
TUNETHESTATEMENTCACHESIZE
IfOracledatabaseisusedsetStatementCacheSizeto0
oralowervalue.
OracleJDBCDriverconsumeslotofmemorywhencalling
statementsfromtheWeblogicServerCache.
Settingthestatementcachesizeto0willdisable
WeblogicServerCache.
Forallotherdatabasesex.Sqlservermaintainthe
defaultvalueforStatementCache.

35

PartitioningandMVs
PartitionAdvantages

PartitionPruning
Partition WiseJoins
ReduceMaintenancetimesforIndexes
ImproveWebqueryperformance

Materializedviewsspeedupqueryperformance

BuildSummaryviewsforexpensivejoinsandaggregation
operations

Partitionmaterializedviewstotakeadvantageas
partitiontables

36

PartitioningandMVs..
CompressionforMVs
Compressioncanbeemployed
Reducesthestoragespace
Fasteraccessofdata

37

SpeakerInformation
NarasimhaRaoMadhuvarsuLV

Email:narasimha.mlv@appsassociates.com

BharathTerala

Email:bharath.terala@appsassociates.com

38

Q
&
A
39

Contact:
BillSaltys,VPBusinessDevelopmentandOperations
Email:
Phone:

Bill.Saltys@AppsAssociates.com
(978)3990230(O)
AppsAssociatesLLC
40NagogPark,
Acton,MA01720
USA

40

41

Das könnte Ihnen auch gefallen