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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:41:24+00:00 2026-05-22T14:41:24+00:00

if I started mysqldump on a database, and then created a new table with

  • 0

if I started mysqldump on a database, and then created a new table with new data, will this table be dumped? what’s the concurrency behavior here?

  • 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-22T14:41:25+00:00Added an answer on May 22, 2026 at 2:41 pm

    Well, that is not sure, from Mysql Manual:

    –single-transaction

    This option sends a START TRANSACTION
    SQL statement to the server before
    dumping data. It is useful only with
    transactional tables such as InnoDB
    and BDB, because then it dumps the
    consistent state of the database at
    the time when BEGIN was issued without
    blocking any applications.

    When using this option, you should
    keep in mind that only InnoDB tables
    are dumped in a consistent state. For
    example, any MyISAM or MEMORY tables
    dumped while using this option may
    still change state.

    While a –single-transaction dump is
    in process, to ensure a valid dump
    file (correct table contents and
    binary log coordinates), no other
    connection should use the following
    statements: ALTER TABLE, CREATE TABLE,
    DROP TABLE, RENAME TABLE, TRUNCATE
    TABLE. A consistent read is not
    isolated from those statements, so use
    of them on a table to be dumped can
    cause the SELECT that is performed by
    mysqldump to retrieve the table
    contents to obtain incorrect contents
    or fail.

    The –single-transaction option and
    the –lock-tables option are mutually
    exclusive because LOCK TABLES causes
    any pending transactions to be
    committed implicitly.

    This option is not supported for MySQL
    Cluster tables; the results cannot be
    guaranteed to be consistent due to the
    fact that the NDBCLUSTER storage
    engine supports only the
    READ_COMMITTED transaction isolation
    level. You should always use NDB
    backup and restore instead.

    To dump large tables, you should
    combine the –single-transaction
    option with –quick.

    If you want to backup/move your live DB, you should consider MySQL replication

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

Sidebar

Related Questions

I started downloading the MVC Template, and created a new project using this template.
Started to play around with Jenkins. Created new job and entered SVN repository URL.
I am currently running mysqldump on a Mysql slave to backup our database. This
I started to ask this question and then figured out the answer before submitting
Started with this question: OpenID. How do you logout OK. So OpenID does not
I started a Rails project recently and decided to use RESTful controllers. I created
I started off programming in Basic on the ZX81 , then BASICA , GW-BASIC
started a visual studio 2010 database project . however i am only able to
Started GET /users/new for 127.0.0.1 at 2010-07-11 23:07:03 -0400 Processing by UsersController#new as HTML
Originally started here: Django IN query as a string result - invalid literal for

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.