pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Bill Moran <wmoran@potentialtech.com>
To: Satish Burnwal (sburnwal) <sburnwal@cisco.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Query is stuck
Date: Wed, 14 Apr 2010 08:36:22 -0400
Message-ID: <20100414083622.dcf54d70.wmoran@potentialtech.com> (raw )
In-Reply-To: <3A8C969225424C4D8E6BEE65ED8552DA0119F3EE@XMB-BGL-41C.cisco.com >
References: <3A8C969225424C4D8E6BEE65ED8552DA0119F188@XMB-BGL-41C.cisco.com >
<o2ne4edc9361004130603r9acb3257yb800890f447eb2ce@mail.gmail.com >
<20100413091248.a295737b.wmoran@potentialtech.com >
<3A8C969225424C4D8E6BEE65ED8552DA0119F1AD@XMB-BGL-41C.cisco.com >
<6013c776bd38b7738ff9e43815ce8adc@mail.gransy.com >
<3A8C969225424C4D8E6BEE65ED8552DA0119F3EE@XMB-BGL-41C.cisco.com >
In response to "Satish Burnwal (sburnwal)" <sburnwal@cisco.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/
view thread (22+ messages) latest in thread
Message-ID: <20100414083622.dcf54d70.wmoran@potentialtech.com>
Permalink: ../20100414083622.dcf54d70.wmoran@potentialtech.com/
Also on: postgresql.org/message-id/20100414083622.dcf54d70.wmoran@potentialtech.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: wmoran@potentialtech.com, sburnwal@cisco.com, pgsql-general@postgresql.org
Subject: Re: Query is stuck
In-Reply-To: <20100414083622.dcf54d70.wmoran@potentialtech.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox