Re: Running update in chunks?

From: Tim Uckun <timuckun(at)gmail(dot)com>
To: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Running update in chunks?
Date: 2013-01-22 01:02:58
Message-ID: CAGuHJrNKFjrEuq7LXbLSj8tJ+Ur-tQ-=ARjgQtW=3-0K1hGtMA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I already posted the schema earlier. It's a handful of integer fields
with one hstore field.

On Tue, Jan 22, 2013 at 1:23 PM, Steve Crawford
<scrawford(at)pinpointresearch(dot)com> wrote:
> select * from pg_stat_user_tables where relname='yourtable';

Messy output

"relid","schemaname","relname","seq_scan","seq_tup_read","idx_scan","idx_tup_fetch","n_tup_ins","n_tup_upd","n_tup_del","n_tup_hot_upd","n_live_tup","n_dead_tup","last_vacuum","last_autovacuum","last_analyze","last_autoanalyze","vacuum_count","autovacuum_count","analyze_count","autoanalyze_count"
26710,"chrysler","imports",274,25280539,4,2749,98926,5757462,92,327542,98834,0,"2013-01-22
12:28:29.01505+13","2013-01-22 12:32:29.249588+13","2013-01-22
12:28:29.173772+13","2013-01-22 12:32:44.123493+13",3,30,3,24

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Grittner 2013-01-22 01:06:11 Re: Yet Another Timestamp Question: Time Defaults
Previous Message Adrian Klaver 2013-01-22 00:50:12 Re: Yet Another Timestamp Question: Time Defaults