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 8756527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:06:10+00:00 2026-06-13T14:06:10+00:00

I have a MySQL dev database, and discovered one of my columns is too

  • 0

I have a MySQL dev database, and discovered one of my columns is too small (it’s a tinyint; needs to be an int). Since it’s the dev database I emptied out the table before altering it. I’d then expect the alter statement to return nearly instantaneously, since it doesn’t have to change any records. My assumptions here are clearly wrong – the query takes so long that I have to cancel it. What am I missing here? What is being changed beyond just the table?

  • 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-06-13T14:06:11+00:00Added an answer on June 13, 2026 at 2:06 pm

    Solved. It turns out an SQLAlchemy object was holding open some kind of lock on this table. Interestingly, the command

    show open tables
    

    Did not show a lock. However, killing the other script allowed the table to be modified.

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

Sidebar

Related Questions

I have mysql database structure like below: CREATE TABLE test ( id int(11) NOT
I have a fairly small MySQL database (a Textpattern install) on a server that
I have read the documentation ( http://dev.mysql.com/doc/refman/5.1/en/partitioning.html ), but I would like, in your
I have mysql database like this id | code 1 | bok-1 2 |
I have mysql database and I want a software which can draw the database
Hi I have to developed android login with mysql database connection using soap webservices.
In my dev database (SQLite) i have some tables (like vocabularies) which i need
I have a big mysql query which needs to trawl through 4 tables to
Hi mistakenly I have deleted my MySQL database from Windos XP based PC (this
I have weird issue with Mysql database. I am using MySql InnoDb storage engine,

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.