Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6861111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:29:38+00:00 2026-05-27T02:29:38+00:00

I am using Postgres 8.4 I need to execute an ALTER statement on a

  • 0

I am using Postgres 8.4

I need to execute an ALTER statement on a running database with ~4M data on the relevant table. My sql is like:

ALTER TABLE some_table ALTER a_row bigint;

Now, relevant row type is int

But what i wonder is data consistency, Nearly 3-4 records are written to that table and some more are being read per second.

What i need to do for avoiding data consistency and such other problems.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:29:39+00:00Added an answer on May 27, 2026 at 2:29 am

    When you execute and ALTER TABLE sql, table will be locked and you shouldn’t have any problems except some possible performance issues in INSERT sqls in your case. But if you are going to do this once, there is no reason to hesitate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A tough SQL question (I'm using postgres by the way). I need the first
I'm trying to translate 2 types of data using only postgres SQL I've got
I'm using Postgres with Kohana 3's ORM module and would like to run a
I am using Postgres as DBMS and Django. My model that defines the table
I need to move a database with a Django schema from Postgres to MySQL,
I need a real DBA's opinion. Postgres 8.3 takes 200 ms to execute this
i need to execute this query in postgres but i couldn't get rid of
I am developing a windows application and using Postgres as backend database. At some
I really need do something like that: UPDATE table t1 SET column1=t2.column1 FROM table
I need to map a column of xml data type. I think something like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.