juan escribió: > Buenos días, > > > Cuando doy clic en una tabla "x" desde le pgAdmin he visto mensajes como > estos: "Runing VACUMM recommended the estimated rowcount on the table > ... bla bla bla ... You should run VACUMM ANALYZE on this table" > > Como el pgAdmin detecta eso¿? > > > Si yo quisiera hacer un script que me detecte todas aquellas tablas de > mi db que tendrían ese hint, como quedaría?¿ > > > > Por favor no me manden a revisar el código del pgAdmin
Activa log_statements=all en postgresql.conf, das un reload, y ejecuta de nuevo el pgAdmin para que el servidor te muestre qué hace. -- Alvaro Herrera http://www.advogato.org/person/alvherre "Doing what he did amounts to sticking his fingers under the hood of the implementation; if he gets his fingers burnt, it's his problem." (Tom Lane) -- TIP 8: explain analyze es tu amigo