Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

DB2-L - Antwort auf Frage wg. Manipulation von CLUSTERRATIO

Subject:

Re: manip of clusterratio

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

DB2 List <db2-l@lists.idug.org>

Date:

2003.01.10 17:43:00


M.S. wrote:

Hi

There's a paragraph in G. Wiorkowski's book (chapter 19) dedicated to
''fooling the optimizer' which contains some hints but she doesn't
recommend to foolish optimizer in this way. She says use 0=1 to discourage
the usage of a certain index or use OPTIMIZE FOR 1 ROW or some other trick
like 'hints'.

Personally I've never allowed manipulation of statistics in a production
environment (only 1 time actually, but it worked...)

According Dr. Pat Selinger the need to fool the optimizer was greatly
reduced in these last version of DB2.

Just an opinion

M.S.

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie