
Il profiling o formalmente detto "Performance analysis" racchiude in se' tutte quelle attività atte a prelevare informazioni sul funzionamento del programma che stiamo sviluppando (in questo caso sulle performance delle query MySQL).
Lo scopo è naturalmente quello di ottimizzare al meglio i tempi e le risorse.
L'articolo "Using the New MySQL Query Profiler" spiega in maniera piuttosto dettagliata le possibilità offerte da MySQL: un esempio?
Dopo aver settato la variabile interna "profiling" a 1 è possibile eseguire questa query (preceduta da quelle che dobbiamo effettivamente testare):
Naturalmente ci sono un'infinità di studi che possiamo basare su queste informazioni, buona lettura :)
Daniele Simonin 3 October 2008 alle 07:54 Trackback URI
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
Scrivi un commento
Tags di formattazione: