pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Douglas Reed <dougreed765@yahoo.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Cc: Douglas Reed <douglas@fsbtech.com>
Subject: Problem with Altering a table column
Date: Thu, 19 Dec 2019 06:57:44 +0000 (UTC)
Message-ID: <825474461.1387396.1576738664403@mail.yahoo.com> (raw)
References: <825474461.1387396.1576738664403.ref@mail.yahoo.com>

Version 9.5
OS Centos 6 running on a VM
I have a large table (over 100Gb including indexes) 
The machine is slow
I have issued and alter column against the following;
 price_id         | integer                     | not null default nextval('bet.price_price_id_seq'::regclass) | plain   |              |

As;
ALTER TABLE bet.price ALTER COLUMN price_id TYPE bigint;

The process has taken a very long time, I know that it is rebuilding the table and a lot of temp files have been created, deleted etc
It now seems to have gone quiet (no temp disk files etc), it still seems to be clicking up CPU
- Is there a final part of the process where it may just be doing validation etc?
- Is it safe to terminate the process?
Many thanks



Doug Reed dougreed765@yahoo.com 07973-132664https://uk.linkedin.com/pub/douglas-reed/33/326/2b

view thread (2+ messages)  latest in thread

Message-ID: <825474461.1387396.1576738664403@mail.yahoo.com>
Permalink:  ../825474461.1387396.1576738664403@mail.yahoo.com/
Also on:    postgresql.org/message-id/825474461.1387396.1576738664403@mail.yahoo.com

 · 

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: dougreed765@yahoo.com, douglas@fsbtech.com
  Subject: Re: Problem with Altering a table column
  In-Reply-To: <825474461.1387396.1576738664403@mail.yahoo.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