On Wed, Dec 17, 2008 at 10:22 AM, Alvaro Herrera
<[email protected]> wrote:
> Jaime Casanova escribió:
>> Hi,
>
> Estás en pgsql-es-ayuda
>

jaja... eso me pasa por hacer las cosas a lo rapido...
afortunadamente, la persona indicada esta en ambas listas :)

>> AFAIK, if add a line in pg_autovaccum with the oid of a table and with
>> enabled false the autovacuum will do nothing for the table that has
>> that oid.
>>
>> Is that right?
>
> Sí.
>
>> Nevertheless, i'm seeing this in the logs:
>>
>> LOG:  automatic analyze of table "mic.public.tcom_invitacion" system
>> usage: CPU 0.00s/0.04u sec elapsed 0.04 sec
>
> Es raro que sea un "automatic analyze" ... ¿estás seguro que la tabla es
> la misma?  Verifica el search_path.
>

de hecho es la unica que existe con ese nombre...
solo hay dos esquemas con tablas de usuario public y audit_log, y
audit_log lo cree yo y solo he creado vistas y una tabla para log...

mic=# set search_path to 'audit_log';
SET
mic=# \d
                         List of relations
  Schema   |              Name               |   Type   |  Owner
-----------+---------------------------------+----------+----------
 audit_log | estadisticas_ejecucion_vacuum   | view     | postgres
 audit_log | estadisticas_uso_indices        | view     | postgres
 audit_log | estadisticas_uso_indices_tablas | view     | postgres
 audit_log | tseg_usuario_log                | table    | postgres
 audit_log | tseg_usuario_log_trigger_id_seq | sequence | postgres
(5 rows)

ademas pg_class dice:

mic=# select relnamespace, oid, relname from pg_class where relname =
'tcom_invitacion';
 relnamespace |  oid  |     relname
--------------+-------+-----------------
         2200 | 28212 | tcom_invitacion
(1 row)


-- 
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157
--
TIP 5: ¿Has leído nuestro extenso FAQ?
         http://www.postgresql.org/docs/faqs.FAQ.html

Responder a