• Compartilhar
  • ?
  • Perfis ▼
  • Comunidades ▼
  • Aplicativos ▼

Blogs

  • Meus Blogs
  • Blogs Públicos
  • Minhas Atualizações

Essa comunidade pode ter membros de fora da organização. DB2 Performance Tuning

  • Efetue login para participar

▼ Marcações

▼ Entradas Semelhantes

Use a non-zero NPGTH...

Blog: Db2 for z/OS ...
Paul_McWilliams 110000JT36
Atualizado
0 pessoas curtiram istoCurtir 0
Sem ComentáriosComentários 0

Linux on IBM Z perfo...

Blog: Ingolf's z/VS...
Ingolf24 120000DRN3
Atualizado
0 pessoas curtiram istoCurtir 0
Sem ComentáriosComentários 0

Building baas: (serv...

Blog: IBM and Googl...
MJonker 100000GP4U
Atualizado
0 pessoas curtiram istoCurtir 0
Sem ComentáriosComentários 0

Hands-on example for...

Blog: Thoughts from...
WoongChoi 505V5WD6N5
Atualizado
0 pessoas curtiram istoCurtir 0
Sem ComentáriosComentários 0

Compiling with the D...

Blog: COBOL Cafe
DavidHT 0700000V0U
Atualizado
0 pessoas curtiram istoCurtir 0
Sem ComentáriosComentários 0

▼ Ideias Semelhantes

使用Flashcopy Image Co...

Blog de Ideias: 主机知刊
tianna 310001QCY5
Atualizado
Votos 2 Sem ComentáriosComentários 0

Re: 2014 2nd Edition...

Blog de Ideias: IBM PureData-...
shubho 270001FMSR
Atualizado
Nenhum Voto 0 Sem ComentáriosComentários 0

Statistics in Netezz...

Blog de Ideias: IBM PureData-...
DeepashriKrishnaraja 270001C7Y3
Atualizado
Votos 1 ComentáriosComentários 3

Importance of settin...

Blog de Ideias: IBM PureData-...
DeepashriKrishnaraja 270001C7Y3
Atualizado
Votos 2 ComentáriosComentários 5

Understanding Netezz...

Blog de Ideias: IBM PureData-...
vinoy 270001RPDP
Atualizado
Votos 2 ComentáriosComentários 2

▼ Archive

  • janeiro de 2018
  • dezembro de 2017
  • outubro de 2017
  • agosto de 2017
  • julho de 2017
  • abril de 2015
  • março de 2015
  • janeiro de 2015
  • setembro de 2014
  • junho de 2014
  • abril de 2014
  • março de 2014
  • fevereiro de 2014
  • maio de 2013
  • abril de 2013
  • março de 2013
  • fevereiro de 2013
  • outubro de 2012
  • setembro de 2012
  • agosto de 2012
  • julho de 2012
  • junho de 2012
  • maio de 2012
  • abril de 2012
  • março de 2012
  • fevereiro de 2012
  • janeiro de 2012
  • dezembro de 2011
  • novembro de 2011
  • outubro de 2011
  • setembro de 2011
  • agosto de 2011
  • julho de 2011
  • junho de 2011
  • maio de 2011

▼ Autores do Blog

DB2 Performance Tuning

Visualizar Todas as Entradas
Clicar no botão faz uma atualização completa da página. O usuário pode acessar a região "Lista de Entrada" para visualizar o novo conteúdo.) Lista de Entrada

Taking Advantage of Relational Technology - Part 2

DaveBeulke 2700023WUN | | Marcações:  indexes scans list prefetch performance tablespace db2 | 6.211 Visualizações

This is a continuation of last week's post.

Avoid Inappropriate Tablespace Scans

There are many DB2 access paths available. The most expensive of these is a tablespace scan because it causes DB2 to scan all the entries of a table to retrieve the rows desired by the application. Within most of the system and application performance reviews done at one recent client's review, there were 1,869 distinct existing tablespace scans in their production environment. Almost one tenth of the applications were doing tablespace scans. This was significantly worse than that found at other clients or industry standards.

In addition to accessing every row within a table, these tablespace scans hold additional database locks, consume additional CPU, and hinder application throughput performance. Each of these tablespace 1,869 scans needed to be evaluated to see if the access path could be improved. Improving all of your production tablespaces scans will reduce overall CPU and locking consumption.

List Prefetch and Index Scans

Other expensive DB2 access paths are List Prefetch and Index scans. These access paths can very often be improved and optimized to direct index access resulting in CPU savings and improve elapsed runtimes. Analyzing the production environment at a recent financial bank showed a large number (737) of the available programs doing these types of SQL access types.

When these List Prefetch and Index Scans are being used, they are pushing a number of Record Identifiers (RIDs) to the RID pool within the DB2 system. When a large number of applications push RIDs into the RID Pool sometimes the pool requirements become too big causing RID pool failures. When RID Pool failures happen, the access path is degraded, causing more I/O and CPU to be used to retrieve the database information. To avoid this situation each of the index scans should be evaluated to determine if it is overflowing or causing major utilization of the RID pool.

These types of List Prefetches and Index Scans access types can sometimes be improved through using more SQL WHERE statement parameters or verifying the index definitions are appropriate. By improving the SQL, monitoring the number of rows referenced and monitoring RID Pool failures, the efficiency of the programs will be improved and the CPU reduced for each application execution.

Summary

Review applications in your company for:

  • Excessive use of tablespace scans
  • Excessive use of list prefetch and index scans
  • Lack of use of more recent SQL techniques such as limited fetch or table expressions.

________________________________________
Dave Beulke is an internationally recognized DB2 consultant, DB2 trainer and education instructor. Dave helps his clients improve their strategic direction, dramatically improve DB2 performance and reduce their CPU demand saving millions in their systems, databases and application areas within their mainframe, UNIX and Windows environments.
 

Modificado por DaveBeulke 2700023WUN
  • Incluir um Comentário Incluir um Comentário
  • Editar
  • Mais Ações v
  • Colocar esta Entrada em Quarentena
Notificar Outras Pessoas
notification

Enviar Notificação por Email

+

Colocar esta entrada em quarentena

deleteEntry
duplicateEntry

Marcar como Duplicata

  • Entrada Anterior
  • Principal
  • Próxima Entrada
Feed para Entradas de Blog | Feed para Comentários de Blog | Feed para Comentários desta Entrada