Re: Query is stuck

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: "Satish Burnwal (sburnwal)" <sburnwal(at)cisco(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Query is stuck
Date: 2010-04-14 12:36:22
Message-ID: 20100414083622.dcf54d70.wmoran@potentialtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

In response to "Satish Burnwal (sburnwal)" <sburnwal(at)cisco(dot)com>:

> controlsmartdb=# \d repcopy;
> Table "public.repcopy"
> Column | Type | Modifiers
> -----------------+--------------------------------+-----------
> report_id | integer | not null
> dm_ip | character varying(64) |
> dm_mac | character varying(64) |
> dm_user | character varying(255) |
> dm_os | character varying(64) |
> report_time | timestamp(0) without time zone |
> sys_name | character varying(255) |
> sys_user | character varying(255) |
> sys_user_domain | character varying(255) |
> ss_key | character varying(128) |
> login_time | character varying(64) |
> role_id | smallint |
> new_vlan_id | character varying(64) |
> report_status | smallint |
> Indexes:
> "repcopy_pk" PRIMARY KEY, btree (report_id)

Unless you truncated this output, you _really_ need to add some indexes
to this table. Read back through earlier messages in the thread for
suggestions.

--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Satish Burnwal (sburnwal) 2010-04-14 13:20:13 Re: Query is stuck
Previous Message Satish Burnwal (sburnwal) 2010-04-14 11:23:42 Re: Query is stuck

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2010-04-14 12:53:58 Re: auto vacuum
Previous Message Satish Burnwal (sburnwal) 2010-04-14 11:23:42 Re: Query is stuck