Mostrar mensagens com a etiqueta tuning. Mostrar todas as mensagens
Mostrar mensagens com a etiqueta tuning. Mostrar todas as mensagens

terça-feira, 20 de setembro de 2011

cultura geral - tuning vs tunning (um está errado :D )

bem, se fizerem como eu e procurarem tunning no google vão parar à mesma página que eu...

http://www.tuning.online.pt/tuning/tunning.php

onde está o claro e inequívoco texto:
"Se veio aqui parar depois de uma pesquisa sobre "tunning", então saiba que essa palavra não existe associada à transformação, modificação ou afinação de automóveis."

assim como a imagem também inequívoca duma rapariga perita em tuning..
pronto, já contribui para a vossa cultura...

P.S. - agora uma muita boa que acabei de ouvir na Casa dos Egos, oops Casa dos Segredos.... enganei-me..
"haviam muitas limas por limar".... aprendam.... (ou não :D )

[DBA] - asktom , CWs

well, latelly I've been really busy on tunning some heavy queries on a great number of rows (using all of them).
So, I came across one of the pages from the Oracle SQL GURU, Tom Kyte
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:7413988573867

which came crashing down on some of my beliefs (or "CWs - Conventional Wisdom" as he calls them). He says:

"Other CW's (that are all 100% wrong)

o indexes mean fast=true, if the optimizer doesn't use them, the optimizer has
  a bug

o indexes need to be rebuilt frequently or on a scheduled basis

o rebuilt indexes are faster, smaller and better

o segments should have few extents -- double digit extents are really bad for
  performance

o all cursors in code should be explicit cursors, implicit cursors are slow and
  bad

o select count(1) is better then select count(*)

o procedural code is faster then doing it in SQL

o adding more CPU will make our systems faster

o index space is not reused

o nologging stops all redo log from being generated on that segment

o the most selective fiedls must be first in an index

o you should commit frequently to save resources and time

o a cold backup is better then a hot backup"