SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
SAGE Computing Services
Customised Oracle Training Workshops and ConsultingCustomised Oracle Training Workshops and Consulting
Bind Peeking – The Endless Tuning Nightmare
Penny Cookson
Managing Director and Principal Consultant
Working with Oracle products since 1987
Oracle Magazine Educator of the Year 2004
Oracle ACE
www.sagecomputing.com.au
penny@sagecomputing.com.au
Characteristics
I haven’t changed anything
Its really slow this morning
I did the same thing yesterday and it was fine
Actually its OK nowy
No its not
Thank you so much you’ve fixed it (I haven’t done anything)y y ( y g)
Oracle Version < 9
SELECT COUNT(l quantity) FROM
Shared Pool
SELECT COUNT(l.quantity)
SELECT COUNT(l.quantity) FROM
bookings_skew l WHERE
resource_code = :v1;
FROM bookings_skew_large l
WHERE resource_code = :v1;
FULL SCAN
How many
rows do I
expect?
‘BRLG’
FULL SCAN
‘PC1’‘PC1’
<Version 9 database
N bi d kiNo bind peeking
Oracle Version < 9
SELECT COUNT(l quantity) FROM
Shared Pool
SELECT COUNT(l.quantity)
SELECT COUNT(l.quantity) FROM
bookings_skew l WHERE
resource_code = :v1;
FROM bookings_skew l
WHERE resource_code = :v1;
FULL SCAN
How many
rows do I
expect?
‘PC1’
FULL SCAN
‘BRLG’‘BRLG’
<Version 9 database
N bi d kiNo bind peeking
What is Bind Peeking?g
SELECT COUNT(l quantity) FROM
Shared Pool
SELECT COUNT(l.quantity)
SELECT COUNT(l.quantity) FROM
bookings_skew l WHERE
resource_code = :v1;
FROM bookings_skew l
WHERE resource_code = :v1;
FULL SCAN
How many
rows do I
expect?
‘BRLG’
FULL SCAN
‘PC1’‘PC1’
>=Version 9 database
Bi d kiBind peeking
What is Bind Peeking?g
SELECT COUNT(l quantity) FROM
Shared Pool
SELECT COUNT(l.quantity)
SELECT COUNT(l.quantity) FROM
bookings_skew l WHERE
resource_code = :v1;
FROM bookings_skew l
WHERE resource_code = :v1;
INDEXED
ACCESS
How many
rows do I
expect?
‘PC1’
ACCESS
‘ G‘BRLG’
>=Version 9 database
Bi d kiBind peeking
No Histogramg
***************************************
SINGLE TABLE ACCESS PATHSINGLE TABLE ACCESS PATH
Column (#3): RESOURCE_CODE(VARCHAR2)
AvgLen: 5.00 NDV: 9 Nulls: 0 Density: 0.11111
Table: BOOKINGS SKEW Alias: L
5527238/9 = 614138
Table: BOOKINGS_SKEW Alias: L
Card: Original: 5527238 Rounded: 614138 Computed: 614137.56 Non
Adjusted: 614137.56
Access Path: TableScanAccess Path: TableScan
Cost: 7701.80 Resp: 7701.80 Degree: 0
Cost_io: 7426.00 Cost_cpu: 1605072831
Resp io: 7426.00 Resp cpu: 1605072831p_ p_ p
Access Path: index (AllEqRange)
Index: BK_RESSKEW
resc_io: 32580.00 resc_cpu: 509053165
ix_sel: 0.11111 ix_sel_with_filters: 0.11111
Cost: 32667.47 Resp: 32667.47 Degree: 1
Best:: AccessPath: TableScan
Cost: 7701.80 Degree: 1 Resp: 7701.80 Card: 614137.56 Bytes: 0
***************************************
Histogram – Majority Firstg j y
***************************************
SINGLE TABLE ACCESS PATH
Column (#3): RESOURCE_CODE(VARCHAR2)
AvgLen: 5.00 NDV: 9 Nulls: 0 Density: 9.0892e-008
Histogram: Freq #Bkts: 9 UncompBkts: 5966 EndPtVals: 9
Table: BOOKINGS_SKEW Alias: L
Card: Original: 5464800 Rounded: 1727558 Computed: 1727558.30 Non
Adjusted: 1727558.30
A P th T bl SAccess Path: TableScan
Cost: 7710.70 Resp: 7710.70 Degree: 0
Cost_io: 7426.00 Cost_cpu: 1656892911
Resp io: 7426 00 Resp cpu: 1656892911
RESO COUNT(*)
---- ----------
VCR1 495711
CONF 495720
LNCH 743576Resp_io: 7426.00 Resp_cpu: 1656892911
Access Path: index (AllEqRange)
Index: BK_RESSKEW
resc io: 94139 00 resc cpu: 1468544140
LNCH 743576
BRSM 743583
PC1 47858
FLPC 495720
BRLG 1739277
resc_io: 94139.00 resc_cpu: 1468544140
ix_sel: 0.31612 ix_sel_with_filters: 0.31612
Cost: 94391.34 Resp: 94391.34 Degree: 1
Best:: AccessPath: TableScan
TAP1 247864
VCR2 495715
Best:: AccessPath: TableScan
Cost: 7710.70 Degree: 1 Resp: 7710.70 Card: 1727558.30 Bytes: 0
***************************************
Histogram – Minority Firstg y
***************************************
SINGLE TABLE ACCESS PATH
Column (#3): RESOURCE_CODE(VARCHAR2)
AvgLen: 5.00 NDV: 9 Nulls: 0 Density: 9.0892e-008
Histogram: Freq #Bkts: 9 UncompBkts: 5966 EndPtVals: 9
Table: BOOKINGS_SKEW Alias: L
Card: Original: 5464800 Rounded: 43968 Computed: 43967.55 Non
Adjusted: 43967.55
A P th T bl SAccess Path: TableScan
Cost: 7693.35 Resp: 7693.35 Degree: 0
Cost_io: 7426.00 Cost_cpu: 1555877511
Resp io: 7426 00 Resp cpu: 1555877511
RESO COUNT(*)
---- ----------
VCR1 495711
CONF 495720
Resp_io: 7426.00 Resp_cpu: 1555877511
Access Path: index (AllEqRange)
Index: BK_RESSKEW
resc io: 2399 00 resc cpu: 37397785
LNCH 743576
BRSM 743583
PC1 47858
FLPC 495720
BRLG 1739277resc_io: 2399.00 resc_cpu: 37397785
ix_sel: 0.0080456 ix_sel_with_filters: 0.0080456
Cost: 2405.43 Resp: 2405.43 Degree: 1
Best:: AccessPath: IndexRange Index: BK RESSKEW
BRLG 1739277
TAP1 247864
VCR2 495715
Best:: AccessPath: IndexRange Index: BK_RESSKEW
Cost: 2405.43 Degree: 1 Resp: 2405.43 Card: 43967.55 Bytes: 0
***************************************
What is the CBO OK at
Data Condition Literal/Bind Var Histogramg
Even Distribution Equality Literal N/A
Even Distribution Equality Bind N/A
Skewed Equality Literal NO
Skewed Equality Literal YESSkewed Equality Literal YES
Skewed Equality Bind NO
Skewed Equality Bind YES
Histogramsg
V i < 9 Hi t ith bi d i blVersions < 9: Histograms are no use with bind variables
Versions >= 9: Histograms are worse than no useVersions > 9: Histograms are worse than no use
with bind variables
Each distinct SQL uses only either minority or majority
Unless

values but not both
Or you don’t keep/use the statements in the shared pool
(in which case you might as well use literals)( y g )
So if I have no Skewed Data I am OK?
Data Condition Literal/Bind Var Histogramg
Even Distribution Equality Literal N/A
Even Distribution Equality Bind N/A
Skewed Equality Literal NO
Skewed Equality Literal YESSkewed Equality Literal YES
Skewed Equality Bind NO
Skewed Equality Bind YES
Minority Range Firsty g
********************************************************************************
SINGLE TABLE ACCESS PATHSINGLE TABLE ACCESS PATH
Column (#2): EVENT_NO(NUMBER)
AvgLen: 5.00 NDV: 99178 Nulls: 0 Density: 1.0083e-005 Min: 211 Max: 100175
Table: BOOKINGS EVEN Alias: LTable: BOOKINGS_EVEN Alias: L
Card: Original: 5522697 Rounded: 4973 Computed: 4972.66 Non Adjusted:
4972.66
Access Path: TableScanAccess Path: TableScan
Cost: 7742.79 Resp: 7742.79 Degree: 0
Cost_io: 7492.00 Cost_cpu: 1459499283
Resp io: 7492.00 Resp cpu: 1459499283
MIN MAX
------ ------
100 100200p_ p_ p
Access Path: index (RangeScan)
Index: BK_EVTEVEN
resc_io: 4992.00 resc_cpu: 37790328
ix_sel: 9.0040e-004 ix_sel_with_filters: 9.0040e-004
Cost: 4998.49 Resp: 4998.49 Degree: 1
Best:: AccessPath: IndexRange Index: BK_EVTEVEN
Cost: 4998.49 Degree: 1 Resp: 4998.49 Card: 4972.66 Bytes: 0
******************************************************************************
So if I have no Skewed Data I am OK?
Data Condition Literal/Bind Var Histogramg
Even Distribution Equality Literal N/A
Even Distribution Equality Bind N/A
Skewed Equality Literal NO
Skewed Equality Literal YESSkewed Equality Literal YES
Skewed Equality Bind NO
Skewed Equality Bind YES
Even Distribution Range Bind N/A
Partitions?
Which statistics shall we use?
Resource code
Resource_code
has 1 value
Partition
empty _
has approx
5600 values
has 1 valueempty
<100 <200 <300 <400 <500
Global statistics resource_code has 6116 values
What Can We do?
Own code:-
Use Literals – but only for skewed data
Write separate code for minority/majority
Give user separate menu options
Daily report v Annual report
Build sql dynamically with hints for various cases
User not aware
(and keep your histograms)
What Can We do?
Package:-
If we have no histogram what is it doing? Full scan
Is a full scan acceptable? Yes
No histogram
Turn off bind peeking
_optim_peek_user_binds=false_ p _p _ _
Is a full scan acceptable? Nop
Run the majority ones first
Different session for majority/minority cases and change
session variables
What Can We do?
Package:-
If we have no histogram what is it doing? Index scan
(So none of these will help
No histogram
Turn off bind peekingp g
_optim_peek_user_binds=false)
Remove index?
Create an outline and force a full scan
Run the majority ones first
Different session for majority/minority cases and change
session variables
What Can We do?
Package:-
Purge the statement from the shared pool each
execution (10.2.0.4) :
dbms_shared_pool.purge
('&address, &hash_value','c')( _ )
Oracle 11g - Datag
RESO NUM
---- ----------
VCR1 524288
LNCH 786432LNCH 786432
CONF 524288
BRSM 786432BOOKINGS_EVEN
PC1 262144
FLPC 524288
BRLG 1310720
TAP1 262144
VCR2 524288VCR2 524288
----------
sum 5505024
Oracle 11g - Datag
RESO NUM
---- ----------
RESO NUM
---- ----------
PC2 99
PC3 99
PC4 99
PC1 47865
TAP1 247853
FLPC 495713
PC5 99
PC6 99
PC7 99
PC8 99
BOOKINGS_SKEW
CONF 495714
VCR2 495718
VCR1 495720
PC8 99
PC9 99
PC11 101
PC12 102
BRSM 743571
LNCH 743581
BRLG 1737243
----------
PC13 103
PC14 104
PC15 199
sum 5505024
PC16 399
PC17 799
PC18 999
PC19 1999PC19 1999
PC20 3999
PC10 199
Bind Peeking + Adaptive Cursors Summary
Statements with bind variables (+histograms) are bind
itisensitive
The first time you execute a statement with different selectivity
it uses the original plan
The second time it changes the plan and become bind awareThe second time it changes the plan and become bind aware
New values will use a plan for the appropriate selectivity range
Be careful when statements become invalidated by:-
Gathering statistics
Flushing the shared pool
Restarting the database
Or when they are aged out
Adaptive Cursors Functionality
Adaptive Cursors 11 1 0 6Adaptive Cursors 11.1.0.6
Bind variable with Equality and Histogram
Not for range conditionsNot for range conditions
Adaptive Cursors 11.1.0.7
Bind variable with Equality and HistogramBind variable with Equality and Histogram
Range conditions
Do Not Support LIKEDo Not Support LIKE
Future?
LIKELIKE
SELECT /*+ HINT TO MAKE IT BIND AWARE */
Gathering Statisticsg
E l CBO “M k th t ti ti l l ”Early CBO: “Make sure you gather statistics regularly”
Later CBO: “Don’t gather statistics unless data patterns
change”change
BUT
If you have new majority values you need to recreate the
histogram
SQL Plan Management
Manual capture
DBMS_SPM.LOAD_PLANS_FROM_SQLSET
DBMS SPM.LOAD PLANS FROM CURSOR CACHE
Auto capture of repeatable statements
OPTIMIZER_CAPTURE_SQL_PLAN_BASELINE = TRUE
DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE
B li
SQL Management Base
M l l d/ t f l Baseline =
(Stored and Accepted plans)
Manual load/accept of new plan
DBMS_SPM.LOAD_PLANS_FROM_SQLSET
DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE
SQL Tuning Advisor identifies new
plan SQL*Profile accepted
Auto accept of new plan
(if it performs better)
N Pl
plan – SQL Profile accepted (if it performs better)
DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE
New Plan
identified during
execution
Stored not accepted
SQL Plan Management – Binds
‱ Will not automatically handle adaptive cursors
‱ New plan identified on first execution‱ New plan identified on first execution
‱ New plan recorded as not accepted
‱ Plan will not evolve
‱ All bind variable values use same baseline plan
‱ Plans show as not bind sensitive or aware
SQL Plan Management – Binds
SQL Plan Management – Binds
SQL Plan Management – Binds
Force Acceptance of the plan
SAGE Computing Services
Customised Oracle Training Workshops and ConsultingCustomised Oracle Training Workshops and Consulting
Questions?
tiwww.sagecomputing.com.au
penny@sagecomputing.com.au

Weitere Àhnliche Inhalte

Was ist angesagt?

OpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developersOpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developersConnor McDonald
 
Oracle 10g Performance: chapter 00 sampling
Oracle 10g Performance: chapter 00 samplingOracle 10g Performance: chapter 00 sampling
Oracle 10g Performance: chapter 00 samplingKyle Hailey
 
Demystifying cost based optimization
Demystifying cost based optimizationDemystifying cost based optimization
Demystifying cost based optimizationRiyaj Shamsudeen
 
PostgreSQL Procedural Languages: Tips, Tricks and Gotchas
PostgreSQL Procedural Languages: Tips, Tricks and GotchasPostgreSQL Procedural Languages: Tips, Tricks and Gotchas
PostgreSQL Procedural Languages: Tips, Tricks and GotchasJim Mlodgenski
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS processRiyaj Shamsudeen
 
A close encounter_with_real_world_and_odd_perf_issues
A close encounter_with_real_world_and_odd_perf_issuesA close encounter_with_real_world_and_odd_perf_issues
A close encounter_with_real_world_and_odd_perf_issuesRiyaj Shamsudeen
 
Rac 12c optimization
Rac 12c optimizationRac 12c optimization
Rac 12c optimizationRiyaj Shamsudeen
 
Performance tuning a quick intoduction
Performance tuning   a quick intoductionPerformance tuning   a quick intoduction
Performance tuning a quick intoductionRiyaj Shamsudeen
 
Riyaj real world performance issues rac focus
Riyaj real world performance issues rac focusRiyaj real world performance issues rac focus
Riyaj real world performance issues rac focusRiyaj Shamsudeen
 
AplicaçÔes 10x a 100x mais råpida com o postgre sql
AplicaçÔes 10x a 100x mais råpida com o postgre sqlAplicaçÔes 10x a 100x mais råpida com o postgre sql
AplicaçÔes 10x a 100x mais råpida com o postgre sqlFabio Telles Rodriguez
 
New Tuning Features in Oracle 11g - How to make your database as boring as po...
New Tuning Features in Oracle 11g - How to make your database as boring as po...New Tuning Features in Oracle 11g - How to make your database as boring as po...
New Tuning Features in Oracle 11g - How to make your database as boring as po...Sage Computing Services
 
oracle cloud with 2 nodes processing
oracle cloud with 2 nodes processingoracle cloud with 2 nodes processing
oracle cloud with 2 nodes processingmahdi ahmadi
 
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœž
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœžGreat performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœž
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœžInsight Technology, Inc.
 
Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Alexey Lesovsky
 
MySQL/MariaDB query optimizer tuning tutorial from Percona Live 2013
MySQL/MariaDB query optimizer tuning tutorial from Percona Live 2013MySQL/MariaDB query optimizer tuning tutorial from Percona Live 2013
MySQL/MariaDB query optimizer tuning tutorial from Percona Live 2013Sergey Petrunya
 

Was ist angesagt? (19)

OpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developersOpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developers
 
Oracle 10g Performance: chapter 00 sampling
Oracle 10g Performance: chapter 00 samplingOracle 10g Performance: chapter 00 sampling
Oracle 10g Performance: chapter 00 sampling
 
Demystifying cost based optimization
Demystifying cost based optimizationDemystifying cost based optimization
Demystifying cost based optimization
 
PostgreSQL Procedural Languages: Tips, Tricks and Gotchas
PostgreSQL Procedural Languages: Tips, Tricks and GotchasPostgreSQL Procedural Languages: Tips, Tricks and Gotchas
PostgreSQL Procedural Languages: Tips, Tricks and Gotchas
 
Survey of Percona Toolkit
Survey of Percona ToolkitSurvey of Percona Toolkit
Survey of Percona Toolkit
 
Redo internals ppt
Redo internals pptRedo internals ppt
Redo internals ppt
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS process
 
Px execution in rac
Px execution in racPx execution in rac
Px execution in rac
 
A close encounter_with_real_world_and_odd_perf_issues
A close encounter_with_real_world_and_odd_perf_issuesA close encounter_with_real_world_and_odd_perf_issues
A close encounter_with_real_world_and_odd_perf_issues
 
Rac 12c optimization
Rac 12c optimizationRac 12c optimization
Rac 12c optimization
 
MySQL SQL Tutorial
MySQL SQL TutorialMySQL SQL Tutorial
MySQL SQL Tutorial
 
Performance tuning a quick intoduction
Performance tuning   a quick intoductionPerformance tuning   a quick intoduction
Performance tuning a quick intoduction
 
Riyaj real world performance issues rac focus
Riyaj real world performance issues rac focusRiyaj real world performance issues rac focus
Riyaj real world performance issues rac focus
 
AplicaçÔes 10x a 100x mais råpida com o postgre sql
AplicaçÔes 10x a 100x mais råpida com o postgre sqlAplicaçÔes 10x a 100x mais råpida com o postgre sql
AplicaçÔes 10x a 100x mais råpida com o postgre sql
 
New Tuning Features in Oracle 11g - How to make your database as boring as po...
New Tuning Features in Oracle 11g - How to make your database as boring as po...New Tuning Features in Oracle 11g - How to make your database as boring as po...
New Tuning Features in Oracle 11g - How to make your database as boring as po...
 
oracle cloud with 2 nodes processing
oracle cloud with 2 nodes processingoracle cloud with 2 nodes processing
oracle cloud with 2 nodes processing
 
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœž
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœžGreat performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœž
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœž
 
Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.
 
MySQL/MariaDB query optimizer tuning tutorial from Percona Live 2013
MySQL/MariaDB query optimizer tuning tutorial from Percona Live 2013MySQL/MariaDB query optimizer tuning tutorial from Percona Live 2013
MySQL/MariaDB query optimizer tuning tutorial from Percona Live 2013
 

Andere mochten auch

Web content producer performance appraisal
Web content producer performance appraisalWeb content producer performance appraisal
Web content producer performance appraisalsammywood963
 
Articles and Reviews for December 5, 2012
Articles and Reviews for December 5, 2012Articles and Reviews for December 5, 2012
Articles and Reviews for December 5, 2012tangybeer1732
 
Transformada de laplace
Transformada de laplaceTransformada de laplace
Transformada de laplaceelye32
 
Social Media Marketing for Sustainable Destinations
Social Media Marketing for Sustainable DestinationsSocial Media Marketing for Sustainable Destinations
Social Media Marketing for Sustainable DestinationsJulia Guerra
 
Ecdemy - Powering eBusiness and eCommerce education in India
Ecdemy - Powering eBusiness and eCommerce education in IndiaEcdemy - Powering eBusiness and eCommerce education in India
Ecdemy - Powering eBusiness and eCommerce education in IndiaBharat Chopra
 
Kiril & Jana - Icesream show
Kiril & Jana -  Icesream showKiril & Jana -  Icesream show
Kiril & Jana - Icesream showzak232
 
Evan Katz - About Hedge Funds Care
Evan Katz - About Hedge Funds CareEvan Katz - About Hedge Funds Care
Evan Katz - About Hedge Funds CareEvan Katz
 
Estrategias de marketing para la generación de datos
Estrategias de marketing para la generación de datosEstrategias de marketing para la generación de datos
Estrategias de marketing para la generación de datosGabriel JimĂ©nez
 
àčƒàžšàž‡àžČàž™àžȘàžłàžŁàž§àžˆàž•àž™àč€àž­àž‡ 1
àčƒàžšàž‡àžČàž™àžȘàžłàžŁàž§àžˆàž•àž™àč€àž­àž‡ 1àčƒàžšàž‡àžČàž™àžȘàžłàžŁàž§àžˆàž•àž™àč€àž­àž‡ 1
àčƒàžšàž‡àžČàž™àžȘàžłàžŁàž§àžˆàž•àž™àč€àž­àž‡ 1tapoat7193
 
Energi
EnergiEnergi
EnergiOlSvHa
 

Andere mochten auch (13)

Web content producer performance appraisal
Web content producer performance appraisalWeb content producer performance appraisal
Web content producer performance appraisal
 
Articles and Reviews for December 5, 2012
Articles and Reviews for December 5, 2012Articles and Reviews for December 5, 2012
Articles and Reviews for December 5, 2012
 
Transformada de laplace
Transformada de laplaceTransformada de laplace
Transformada de laplace
 
8min ysbh
8min ysbh8min ysbh
8min ysbh
 
Social Media Marketing for Sustainable Destinations
Social Media Marketing for Sustainable DestinationsSocial Media Marketing for Sustainable Destinations
Social Media Marketing for Sustainable Destinations
 
La revolución industrial
La revolución industrialLa revolución industrial
La revolución industrial
 
Ecdemy - Powering eBusiness and eCommerce education in India
Ecdemy - Powering eBusiness and eCommerce education in IndiaEcdemy - Powering eBusiness and eCommerce education in India
Ecdemy - Powering eBusiness and eCommerce education in India
 
Kiril & Jana - Icesream show
Kiril & Jana -  Icesream showKiril & Jana -  Icesream show
Kiril & Jana - Icesream show
 
Evan Katz - About Hedge Funds Care
Evan Katz - About Hedge Funds CareEvan Katz - About Hedge Funds Care
Evan Katz - About Hedge Funds Care
 
Estrategias de marketing para la generación de datos
Estrategias de marketing para la generación de datosEstrategias de marketing para la generación de datos
Estrategias de marketing para la generación de datos
 
sreekumarresumeII
sreekumarresumeIIsreekumarresumeII
sreekumarresumeII
 
àčƒàžšàž‡àžČàž™àžȘàžłàžŁàž§àžˆàž•àž™àč€àž­àž‡ 1
àčƒàžšàž‡àžČàž™àžȘàžłàžŁàž§àžˆàž•àž™àč€àž­àž‡ 1àčƒàžšàž‡àžČàž™àžȘàžłàžŁàž§àžˆàž•àž™àč€àž­àž‡ 1
àčƒàžšàž‡àžČàž™àžȘàžłàžŁàž§àžˆàž•àž™àč€àž­àž‡ 1
 
Energi
EnergiEnergi
Energi
 

Ähnlich wie Bind Peeking - The Endless Tuning Nightmare

Oracle Database In-Memory Option in Action
Oracle Database In-Memory Option in ActionOracle Database In-Memory Option in Action
Oracle Database In-Memory Option in ActionTanel Poder
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneEnkitec
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and ArchitectureSidney Chen
 
The Hidden Face of Cost-Based Optimizer: PL/SQL Specific Statistics
The Hidden Face of Cost-Based Optimizer: PL/SQL Specific StatisticsThe Hidden Face of Cost-Based Optimizer: PL/SQL Specific Statistics
The Hidden Face of Cost-Based Optimizer: PL/SQL Specific StatisticsMichael Rosenblum
 
äș†è§ŁIOćèźźæ ˆ
äș†è§ŁIOćèźźæ ˆäș†è§ŁIOćèźźæ ˆ
äș†è§ŁIOćèźźæ ˆFeng Yu
 
Io 120404052713-phpapp01
Io 120404052713-phpapp01Io 120404052713-phpapp01
Io 120404052713-phpapp01coxchen
 
Kernel Recipes 2017 - Performance analysis Superpowers with Linux BPF - Brend...
Kernel Recipes 2017 - Performance analysis Superpowers with Linux BPF - Brend...Kernel Recipes 2017 - Performance analysis Superpowers with Linux BPF - Brend...
Kernel Recipes 2017 - Performance analysis Superpowers with Linux BPF - Brend...Anne Nicolas
 
Kernel Recipes 2017: Performance Analysis with BPF
Kernel Recipes 2017: Performance Analysis with BPFKernel Recipes 2017: Performance Analysis with BPF
Kernel Recipes 2017: Performance Analysis with BPFBrendan Gregg
 
Writing efficient sql
Writing efficient sqlWriting efficient sql
Writing efficient sqlj9soto
 
Kernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering OopsiesKernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering OopsiesAnne Nicolas
 
R07_Senegacnik_CBO.pdf
R07_Senegacnik_CBO.pdfR07_Senegacnik_CBO.pdf
R07_Senegacnik_CBO.pdfcookie1969
 
Informix Warehouse Accelerator (IWA) features in version 12.1
Informix Warehouse Accelerator (IWA) features in version 12.1Informix Warehouse Accelerator (IWA) features in version 12.1
Informix Warehouse Accelerator (IWA) features in version 12.1Keshav Murthy
 
ă‚Żăƒ©ă‚Šăƒ‰DWHべしどもé€ČćŒ–ă‚’ç¶šă‘ă‚‹Pivotal GreenplumごçŽč介
ă‚Żăƒ©ă‚Šăƒ‰DWHべしどもé€ČćŒ–ă‚’ç¶šă‘ă‚‹Pivotal GreenplumごçŽčä»‹ă‚Żăƒ©ă‚Šăƒ‰DWHべしどもé€ČćŒ–ă‚’ç¶šă‘ă‚‹Pivotal GreenplumごçŽč介
ă‚Żăƒ©ă‚Šăƒ‰DWHべしどもé€ČćŒ–ă‚’ç¶šă‘ă‚‹Pivotal GreenplumごçŽč介Masayuki Matsushita
 
My old security advisories on HMI/SCADA and industrial software released betw...
My old security advisories on HMI/SCADA and industrial software released betw...My old security advisories on HMI/SCADA and industrial software released betw...
My old security advisories on HMI/SCADA and industrial software released betw...Luigi Auriemma
 
Thomas+Niewel+ +Oracletuning
Thomas+Niewel+ +OracletuningThomas+Niewel+ +Oracletuning
Thomas+Niewel+ +Oracletuningafa reg
 
Top 10 tips for Oracle performance
Top 10 tips for Oracle performanceTop 10 tips for Oracle performance
Top 10 tips for Oracle performanceGuy Harrison
 
OSSNA 2017 Performance Analysis Superpowers with Linux BPF
OSSNA 2017 Performance Analysis Superpowers with Linux BPFOSSNA 2017 Performance Analysis Superpowers with Linux BPF
OSSNA 2017 Performance Analysis Superpowers with Linux BPFBrendan Gregg
 
Introduction to Parallel Execution
Introduction to Parallel ExecutionIntroduction to Parallel Execution
Introduction to Parallel ExecutionDoug Burns
 
Cassandra Performance Benchmark
Cassandra Performance BenchmarkCassandra Performance Benchmark
Cassandra Performance BenchmarkBigstep
 
Debugging linux issues with eBPF
Debugging linux issues with eBPFDebugging linux issues with eBPF
Debugging linux issues with eBPFIvan Babrou
 

Ähnlich wie Bind Peeking - The Endless Tuning Nightmare (20)

Oracle Database In-Memory Option in Action
Oracle Database In-Memory Option in ActionOracle Database In-Memory Option in Action
Oracle Database In-Memory Option in Action
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry Osborne
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
The Hidden Face of Cost-Based Optimizer: PL/SQL Specific Statistics
The Hidden Face of Cost-Based Optimizer: PL/SQL Specific StatisticsThe Hidden Face of Cost-Based Optimizer: PL/SQL Specific Statistics
The Hidden Face of Cost-Based Optimizer: PL/SQL Specific Statistics
 
äș†è§ŁIOćèźźæ ˆ
äș†è§ŁIOćèźźæ ˆäș†è§ŁIOćèźźæ ˆ
äș†è§ŁIOćèźźæ ˆ
 
Io 120404052713-phpapp01
Io 120404052713-phpapp01Io 120404052713-phpapp01
Io 120404052713-phpapp01
 
Kernel Recipes 2017 - Performance analysis Superpowers with Linux BPF - Brend...
Kernel Recipes 2017 - Performance analysis Superpowers with Linux BPF - Brend...Kernel Recipes 2017 - Performance analysis Superpowers with Linux BPF - Brend...
Kernel Recipes 2017 - Performance analysis Superpowers with Linux BPF - Brend...
 
Kernel Recipes 2017: Performance Analysis with BPF
Kernel Recipes 2017: Performance Analysis with BPFKernel Recipes 2017: Performance Analysis with BPF
Kernel Recipes 2017: Performance Analysis with BPF
 
Writing efficient sql
Writing efficient sqlWriting efficient sql
Writing efficient sql
 
Kernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering OopsiesKernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering Oopsies
 
R07_Senegacnik_CBO.pdf
R07_Senegacnik_CBO.pdfR07_Senegacnik_CBO.pdf
R07_Senegacnik_CBO.pdf
 
Informix Warehouse Accelerator (IWA) features in version 12.1
Informix Warehouse Accelerator (IWA) features in version 12.1Informix Warehouse Accelerator (IWA) features in version 12.1
Informix Warehouse Accelerator (IWA) features in version 12.1
 
ă‚Żăƒ©ă‚Šăƒ‰DWHべしどもé€ČćŒ–ă‚’ç¶šă‘ă‚‹Pivotal GreenplumごçŽč介
ă‚Żăƒ©ă‚Šăƒ‰DWHべしどもé€ČćŒ–ă‚’ç¶šă‘ă‚‹Pivotal GreenplumごçŽčä»‹ă‚Żăƒ©ă‚Šăƒ‰DWHべしどもé€ČćŒ–ă‚’ç¶šă‘ă‚‹Pivotal GreenplumごçŽč介
ă‚Żăƒ©ă‚Šăƒ‰DWHべしどもé€ČćŒ–ă‚’ç¶šă‘ă‚‹Pivotal GreenplumごçŽč介
 
My old security advisories on HMI/SCADA and industrial software released betw...
My old security advisories on HMI/SCADA and industrial software released betw...My old security advisories on HMI/SCADA and industrial software released betw...
My old security advisories on HMI/SCADA and industrial software released betw...
 
Thomas+Niewel+ +Oracletuning
Thomas+Niewel+ +OracletuningThomas+Niewel+ +Oracletuning
Thomas+Niewel+ +Oracletuning
 
Top 10 tips for Oracle performance
Top 10 tips for Oracle performanceTop 10 tips for Oracle performance
Top 10 tips for Oracle performance
 
OSSNA 2017 Performance Analysis Superpowers with Linux BPF
OSSNA 2017 Performance Analysis Superpowers with Linux BPFOSSNA 2017 Performance Analysis Superpowers with Linux BPF
OSSNA 2017 Performance Analysis Superpowers with Linux BPF
 
Introduction to Parallel Execution
Introduction to Parallel ExecutionIntroduction to Parallel Execution
Introduction to Parallel Execution
 
Cassandra Performance Benchmark
Cassandra Performance BenchmarkCassandra Performance Benchmark
Cassandra Performance Benchmark
 
Debugging linux issues with eBPF
Debugging linux issues with eBPFDebugging linux issues with eBPF
Debugging linux issues with eBPF
 

Mehr von Sage Computing Services

Oracle XML DB - What's in it for me?
Oracle XML DB - What's in it for me?Oracle XML DB - What's in it for me?
Oracle XML DB - What's in it for me?Sage Computing Services
 
Back to basics: Simple database web services without the need for SOA
Back to basics: Simple database web services without the need for SOABack to basics: Simple database web services without the need for SOA
Back to basics: Simple database web services without the need for SOASage Computing Services
 
Whose fault is it? - a review of application tuning problems
Whose fault is it? - a review of application tuning problemsWhose fault is it? - a review of application tuning problems
Whose fault is it? - a review of application tuning problemsSage Computing Services
 
How Can I tune it When I Can't Change the Code?
How Can I tune it When I Can't Change the Code?How Can I tune it When I Can't Change the Code?
How Can I tune it When I Can't Change the Code?Sage Computing Services
 
Take a load off! Load testing your Oracle APEX or JDeveloper web applications
Take a load off! Load testing your Oracle APEX or JDeveloper web applicationsTake a load off! Load testing your Oracle APEX or JDeveloper web applications
Take a load off! Load testing your Oracle APEX or JDeveloper web applicationsSage Computing Services
 
Transformations - how Oracle rewrites your statements
Transformations - how Oracle rewrites your statementsTransformations - how Oracle rewrites your statements
Transformations - how Oracle rewrites your statementsSage Computing Services
 
Application Express - A web development environment for the masses - and for ...
Application Express - A web development environment for the masses - and for ...Application Express - A web development environment for the masses - and for ...
Application Express - A web development environment for the masses - and for ...Sage Computing Services
 
OHarmony - How the Optimiser works
OHarmony - How the Optimiser worksOHarmony - How the Optimiser works
OHarmony - How the Optimiser worksSage Computing Services
 
Common Coding and Design mistakes (that really mess up performance)
Common Coding and Design mistakes (that really mess up performance)Common Coding and Design mistakes (that really mess up performance)
Common Coding and Design mistakes (that really mess up performance)Sage Computing Services
 
Oracle Discoverer is dead - Where to next for BI?
Oracle Discoverer is dead - Where to next for BI?Oracle Discoverer is dead - Where to next for BI?
Oracle Discoverer is dead - Where to next for BI?Sage Computing Services
 

Mehr von Sage Computing Services (16)

Oracle XML DB - What's in it for me?
Oracle XML DB - What's in it for me?Oracle XML DB - What's in it for me?
Oracle XML DB - What's in it for me?
 
Aspects of 10 Tuning
Aspects of 10 TuningAspects of 10 Tuning
Aspects of 10 Tuning
 
Back to basics: Simple database web services without the need for SOA
Back to basics: Simple database web services without the need for SOABack to basics: Simple database web services without the need for SOA
Back to basics: Simple database web services without the need for SOA
 
Results cache
Results cacheResults cache
Results cache
 
Vpd
VpdVpd
Vpd
 
Whose fault is it? - a review of application tuning problems
Whose fault is it? - a review of application tuning problemsWhose fault is it? - a review of application tuning problems
Whose fault is it? - a review of application tuning problems
 
Lost without a trace
Lost without a traceLost without a trace
Lost without a trace
 
How Can I tune it When I Can't Change the Code?
How Can I tune it When I Can't Change the Code?How Can I tune it When I Can't Change the Code?
How Can I tune it When I Can't Change the Code?
 
Meet the CBO in Version 11g
Meet the CBO in Version 11gMeet the CBO in Version 11g
Meet the CBO in Version 11g
 
Take a load off! Load testing your Oracle APEX or JDeveloper web applications
Take a load off! Load testing your Oracle APEX or JDeveloper web applicationsTake a load off! Load testing your Oracle APEX or JDeveloper web applications
Take a load off! Load testing your Oracle APEX or JDeveloper web applications
 
The Cost Based Optimiser in 11gR2
The Cost Based Optimiser in 11gR2The Cost Based Optimiser in 11gR2
The Cost Based Optimiser in 11gR2
 
Transformations - how Oracle rewrites your statements
Transformations - how Oracle rewrites your statementsTransformations - how Oracle rewrites your statements
Transformations - how Oracle rewrites your statements
 
Application Express - A web development environment for the masses - and for ...
Application Express - A web development environment for the masses - and for ...Application Express - A web development environment for the masses - and for ...
Application Express - A web development environment for the masses - and for ...
 
OHarmony - How the Optimiser works
OHarmony - How the Optimiser worksOHarmony - How the Optimiser works
OHarmony - How the Optimiser works
 
Common Coding and Design mistakes (that really mess up performance)
Common Coding and Design mistakes (that really mess up performance)Common Coding and Design mistakes (that really mess up performance)
Common Coding and Design mistakes (that really mess up performance)
 
Oracle Discoverer is dead - Where to next for BI?
Oracle Discoverer is dead - Where to next for BI?Oracle Discoverer is dead - Where to next for BI?
Oracle Discoverer is dead - Where to next for BI?
 

KĂŒrzlich hochgeladen

W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžDelhi Call girls
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 

KĂŒrzlich hochgeladen (20)

W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Vip Call Girls Noida âžĄïž Delhi âžĄïž 9999965857 No Advance 24HRS Live
Vip Call Girls Noida âžĄïž Delhi âžĄïž 9999965857 No Advance 24HRS LiveVip Call Girls Noida âžĄïž Delhi âžĄïž 9999965857 No Advance 24HRS Live
Vip Call Girls Noida âžĄïž Delhi âžĄïž 9999965857 No Advance 24HRS Live
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 

Bind Peeking - The Endless Tuning Nightmare

  • 1. SAGE Computing Services Customised Oracle Training Workshops and ConsultingCustomised Oracle Training Workshops and Consulting Bind Peeking – The Endless Tuning Nightmare Penny Cookson Managing Director and Principal Consultant Working with Oracle products since 1987 Oracle Magazine Educator of the Year 2004 Oracle ACE www.sagecomputing.com.au penny@sagecomputing.com.au
  • 2. Characteristics I haven’t changed anything Its really slow this morning I did the same thing yesterday and it was fine Actually its OK nowy No its not Thank you so much you’ve fixed it (I haven’t done anything)y y ( y g)
  • 3. Oracle Version < 9 SELECT COUNT(l quantity) FROM Shared Pool SELECT COUNT(l.quantity) SELECT COUNT(l.quantity) FROM bookings_skew l WHERE resource_code = :v1; FROM bookings_skew_large l WHERE resource_code = :v1; FULL SCAN How many rows do I expect? ‘BRLG’ FULL SCAN ‘PC1’‘PC1’ <Version 9 database N bi d kiNo bind peeking
  • 4. Oracle Version < 9 SELECT COUNT(l quantity) FROM Shared Pool SELECT COUNT(l.quantity) SELECT COUNT(l.quantity) FROM bookings_skew l WHERE resource_code = :v1; FROM bookings_skew l WHERE resource_code = :v1; FULL SCAN How many rows do I expect? ‘PC1’ FULL SCAN ‘BRLG’‘BRLG’ <Version 9 database N bi d kiNo bind peeking
  • 5. What is Bind Peeking?g SELECT COUNT(l quantity) FROM Shared Pool SELECT COUNT(l.quantity) SELECT COUNT(l.quantity) FROM bookings_skew l WHERE resource_code = :v1; FROM bookings_skew l WHERE resource_code = :v1; FULL SCAN How many rows do I expect? ‘BRLG’ FULL SCAN ‘PC1’‘PC1’ >=Version 9 database Bi d kiBind peeking
  • 6. What is Bind Peeking?g SELECT COUNT(l quantity) FROM Shared Pool SELECT COUNT(l.quantity) SELECT COUNT(l.quantity) FROM bookings_skew l WHERE resource_code = :v1; FROM bookings_skew l WHERE resource_code = :v1; INDEXED ACCESS How many rows do I expect? ‘PC1’ ACCESS ‘ G‘BRLG’ >=Version 9 database Bi d kiBind peeking
  • 7. No Histogramg *************************************** SINGLE TABLE ACCESS PATHSINGLE TABLE ACCESS PATH Column (#3): RESOURCE_CODE(VARCHAR2) AvgLen: 5.00 NDV: 9 Nulls: 0 Density: 0.11111 Table: BOOKINGS SKEW Alias: L 5527238/9 = 614138 Table: BOOKINGS_SKEW Alias: L Card: Original: 5527238 Rounded: 614138 Computed: 614137.56 Non Adjusted: 614137.56 Access Path: TableScanAccess Path: TableScan Cost: 7701.80 Resp: 7701.80 Degree: 0 Cost_io: 7426.00 Cost_cpu: 1605072831 Resp io: 7426.00 Resp cpu: 1605072831p_ p_ p Access Path: index (AllEqRange) Index: BK_RESSKEW resc_io: 32580.00 resc_cpu: 509053165 ix_sel: 0.11111 ix_sel_with_filters: 0.11111 Cost: 32667.47 Resp: 32667.47 Degree: 1 Best:: AccessPath: TableScan Cost: 7701.80 Degree: 1 Resp: 7701.80 Card: 614137.56 Bytes: 0 ***************************************
  • 8. Histogram – Majority Firstg j y *************************************** SINGLE TABLE ACCESS PATH Column (#3): RESOURCE_CODE(VARCHAR2) AvgLen: 5.00 NDV: 9 Nulls: 0 Density: 9.0892e-008 Histogram: Freq #Bkts: 9 UncompBkts: 5966 EndPtVals: 9 Table: BOOKINGS_SKEW Alias: L Card: Original: 5464800 Rounded: 1727558 Computed: 1727558.30 Non Adjusted: 1727558.30 A P th T bl SAccess Path: TableScan Cost: 7710.70 Resp: 7710.70 Degree: 0 Cost_io: 7426.00 Cost_cpu: 1656892911 Resp io: 7426 00 Resp cpu: 1656892911 RESO COUNT(*) ---- ---------- VCR1 495711 CONF 495720 LNCH 743576Resp_io: 7426.00 Resp_cpu: 1656892911 Access Path: index (AllEqRange) Index: BK_RESSKEW resc io: 94139 00 resc cpu: 1468544140 LNCH 743576 BRSM 743583 PC1 47858 FLPC 495720 BRLG 1739277 resc_io: 94139.00 resc_cpu: 1468544140 ix_sel: 0.31612 ix_sel_with_filters: 0.31612 Cost: 94391.34 Resp: 94391.34 Degree: 1 Best:: AccessPath: TableScan TAP1 247864 VCR2 495715 Best:: AccessPath: TableScan Cost: 7710.70 Degree: 1 Resp: 7710.70 Card: 1727558.30 Bytes: 0 ***************************************
  • 9. Histogram – Minority Firstg y *************************************** SINGLE TABLE ACCESS PATH Column (#3): RESOURCE_CODE(VARCHAR2) AvgLen: 5.00 NDV: 9 Nulls: 0 Density: 9.0892e-008 Histogram: Freq #Bkts: 9 UncompBkts: 5966 EndPtVals: 9 Table: BOOKINGS_SKEW Alias: L Card: Original: 5464800 Rounded: 43968 Computed: 43967.55 Non Adjusted: 43967.55 A P th T bl SAccess Path: TableScan Cost: 7693.35 Resp: 7693.35 Degree: 0 Cost_io: 7426.00 Cost_cpu: 1555877511 Resp io: 7426 00 Resp cpu: 1555877511 RESO COUNT(*) ---- ---------- VCR1 495711 CONF 495720 Resp_io: 7426.00 Resp_cpu: 1555877511 Access Path: index (AllEqRange) Index: BK_RESSKEW resc io: 2399 00 resc cpu: 37397785 LNCH 743576 BRSM 743583 PC1 47858 FLPC 495720 BRLG 1739277resc_io: 2399.00 resc_cpu: 37397785 ix_sel: 0.0080456 ix_sel_with_filters: 0.0080456 Cost: 2405.43 Resp: 2405.43 Degree: 1 Best:: AccessPath: IndexRange Index: BK RESSKEW BRLG 1739277 TAP1 247864 VCR2 495715 Best:: AccessPath: IndexRange Index: BK_RESSKEW Cost: 2405.43 Degree: 1 Resp: 2405.43 Card: 43967.55 Bytes: 0 ***************************************
  • 10. What is the CBO OK at Data Condition Literal/Bind Var Histogramg Even Distribution Equality Literal N/A Even Distribution Equality Bind N/A Skewed Equality Literal NO Skewed Equality Literal YESSkewed Equality Literal YES Skewed Equality Bind NO Skewed Equality Bind YES
  • 11. Histogramsg V i < 9 Hi t ith bi d i blVersions < 9: Histograms are no use with bind variables Versions >= 9: Histograms are worse than no useVersions > 9: Histograms are worse than no use with bind variables Each distinct SQL uses only either minority or majority Unless
 values but not both Or you don’t keep/use the statements in the shared pool (in which case you might as well use literals)( y g )
  • 12. So if I have no Skewed Data I am OK? Data Condition Literal/Bind Var Histogramg Even Distribution Equality Literal N/A Even Distribution Equality Bind N/A Skewed Equality Literal NO Skewed Equality Literal YESSkewed Equality Literal YES Skewed Equality Bind NO Skewed Equality Bind YES
  • 13. Minority Range Firsty g ******************************************************************************** SINGLE TABLE ACCESS PATHSINGLE TABLE ACCESS PATH Column (#2): EVENT_NO(NUMBER) AvgLen: 5.00 NDV: 99178 Nulls: 0 Density: 1.0083e-005 Min: 211 Max: 100175 Table: BOOKINGS EVEN Alias: LTable: BOOKINGS_EVEN Alias: L Card: Original: 5522697 Rounded: 4973 Computed: 4972.66 Non Adjusted: 4972.66 Access Path: TableScanAccess Path: TableScan Cost: 7742.79 Resp: 7742.79 Degree: 0 Cost_io: 7492.00 Cost_cpu: 1459499283 Resp io: 7492.00 Resp cpu: 1459499283 MIN MAX ------ ------ 100 100200p_ p_ p Access Path: index (RangeScan) Index: BK_EVTEVEN resc_io: 4992.00 resc_cpu: 37790328 ix_sel: 9.0040e-004 ix_sel_with_filters: 9.0040e-004 Cost: 4998.49 Resp: 4998.49 Degree: 1 Best:: AccessPath: IndexRange Index: BK_EVTEVEN Cost: 4998.49 Degree: 1 Resp: 4998.49 Card: 4972.66 Bytes: 0 ******************************************************************************
  • 14. So if I have no Skewed Data I am OK? Data Condition Literal/Bind Var Histogramg Even Distribution Equality Literal N/A Even Distribution Equality Bind N/A Skewed Equality Literal NO Skewed Equality Literal YESSkewed Equality Literal YES Skewed Equality Bind NO Skewed Equality Bind YES Even Distribution Range Bind N/A
  • 15. Partitions? Which statistics shall we use? Resource code Resource_code has 1 value Partition empty _ has approx 5600 values has 1 valueempty <100 <200 <300 <400 <500 Global statistics resource_code has 6116 values
  • 16. What Can We do? Own code:- Use Literals – but only for skewed data Write separate code for minority/majority Give user separate menu options Daily report v Annual report Build sql dynamically with hints for various cases User not aware (and keep your histograms)
  • 17. What Can We do? Package:- If we have no histogram what is it doing? Full scan Is a full scan acceptable? Yes No histogram Turn off bind peeking _optim_peek_user_binds=false_ p _p _ _ Is a full scan acceptable? Nop Run the majority ones first Different session for majority/minority cases and change session variables
  • 18. What Can We do? Package:- If we have no histogram what is it doing? Index scan (So none of these will help No histogram Turn off bind peekingp g _optim_peek_user_binds=false) Remove index? Create an outline and force a full scan Run the majority ones first Different session for majority/minority cases and change session variables
  • 19. What Can We do? Package:- Purge the statement from the shared pool each execution (10.2.0.4) : dbms_shared_pool.purge ('&address, &hash_value','c')( _ )
  • 20. Oracle 11g - Datag RESO NUM ---- ---------- VCR1 524288 LNCH 786432LNCH 786432 CONF 524288 BRSM 786432BOOKINGS_EVEN PC1 262144 FLPC 524288 BRLG 1310720 TAP1 262144 VCR2 524288VCR2 524288 ---------- sum 5505024
  • 21. Oracle 11g - Datag RESO NUM ---- ---------- RESO NUM ---- ---------- PC2 99 PC3 99 PC4 99 PC1 47865 TAP1 247853 FLPC 495713 PC5 99 PC6 99 PC7 99 PC8 99 BOOKINGS_SKEW CONF 495714 VCR2 495718 VCR1 495720 PC8 99 PC9 99 PC11 101 PC12 102 BRSM 743571 LNCH 743581 BRLG 1737243 ---------- PC13 103 PC14 104 PC15 199 sum 5505024 PC16 399 PC17 799 PC18 999 PC19 1999PC19 1999 PC20 3999 PC10 199
  • 22. Bind Peeking + Adaptive Cursors Summary Statements with bind variables (+histograms) are bind itisensitive The first time you execute a statement with different selectivity it uses the original plan The second time it changes the plan and become bind awareThe second time it changes the plan and become bind aware New values will use a plan for the appropriate selectivity range Be careful when statements become invalidated by:- Gathering statistics Flushing the shared pool Restarting the database Or when they are aged out
  • 23. Adaptive Cursors Functionality Adaptive Cursors 11 1 0 6Adaptive Cursors 11.1.0.6 Bind variable with Equality and Histogram Not for range conditionsNot for range conditions Adaptive Cursors 11.1.0.7 Bind variable with Equality and HistogramBind variable with Equality and Histogram Range conditions Do Not Support LIKEDo Not Support LIKE Future? LIKELIKE SELECT /*+ HINT TO MAKE IT BIND AWARE */
  • 24. Gathering Statisticsg E l CBO “M k th t ti ti l l ”Early CBO: “Make sure you gather statistics regularly” Later CBO: “Don’t gather statistics unless data patterns change”change BUT If you have new majority values you need to recreate the histogram
  • 25. SQL Plan Management Manual capture DBMS_SPM.LOAD_PLANS_FROM_SQLSET DBMS SPM.LOAD PLANS FROM CURSOR CACHE Auto capture of repeatable statements OPTIMIZER_CAPTURE_SQL_PLAN_BASELINE = TRUE DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE B li SQL Management Base M l l d/ t f l Baseline = (Stored and Accepted plans) Manual load/accept of new plan DBMS_SPM.LOAD_PLANS_FROM_SQLSET DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE SQL Tuning Advisor identifies new plan SQL*Profile accepted Auto accept of new plan (if it performs better) N Pl plan – SQL Profile accepted (if it performs better) DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE New Plan identified during execution Stored not accepted
  • 26. SQL Plan Management – Binds ‱ Will not automatically handle adaptive cursors ‱ New plan identified on first execution‱ New plan identified on first execution ‱ New plan recorded as not accepted ‱ Plan will not evolve ‱ All bind variable values use same baseline plan ‱ Plans show as not bind sensitive or aware
  • 27. SQL Plan Management – Binds
  • 28. SQL Plan Management – Binds
  • 29. SQL Plan Management – Binds Force Acceptance of the plan
  • 30. SAGE Computing Services Customised Oracle Training Workshops and ConsultingCustomised Oracle Training Workshops and Consulting Questions? tiwww.sagecomputing.com.au penny@sagecomputing.com.au