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

  • Home
  • SEARCH
  • 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 7793587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:32:09+00:00 2026-06-01T22:32:09+00:00

I am experiencing a deadlock when using multiple concurrent LOAD DATA INFILE comamnds. Here

  • 0

I am experiencing a deadlock when using multiple concurrent LOAD DATA INFILE comamnds. Here is the background:

I have developed a Java-based ETL tool which loads flat files into Infobright databases (Infobright is a columnar database based on MySQL). At the end of the processing, the load is executed using a LOAD DATA INFILE command. This process can handle loading into multiple tables and each load is done in parallel using a separate connection (for performance reasons).

I also have written a bash script which runs this tool in parallel for multiple files (to save time on the processing part, since the LOAD commands will be serialized anyway by the DB server). This means i can have multiple LOAD DATA commands for the same target table (from different processes).

What i was expecting was that the LOAD DATA command would be executed in a serial fashion, but would eventually finish. However, i am experiencing a deadlock. If i execute a “show processlist” i can see that all my LOAD DATA commands are in the “System locked” state.

Has anyone experienced such a problem before and found a solution?

Details:
I’m using Infobright Enterprise Edition v3.5.2. This is based on
MySQL 5.1.40.
My ETL application uses java 1.5.0_08 and Mysql
Connector Java v5.1.12.
OS: Centos 5.6 64 bit (Linux
2.6.18-238.12.1.el5)

  • 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-01T22:32:10+00:00Added an answer on June 1, 2026 at 10:32 pm

    Please make sure you have enough memory on your system to run the ETL process and script. From external investigation with you, it was determined you were running on a machine with only 1GB RAM ([1002M/498M, 1/0.00]) which is very low. Try testing on a regular desktop class machine (>4G of RAM), as well as on a production class machine (>32G of RAM).

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

Sidebar

Related Questions

Is anybody experiencing extreme slowness when using Visual Studio 2008? I have a fairly
I am experiencing an unclear sql server 2008 deadlock. I have two tables: T1:
We've been experiencing a strange deadlock during the startup of our java application. When
I'm experiencing a memory leak when using WMI from Delphi 7 to query a
I'm experiencing some strange behavior for which I can't find any documented knowledge. Here's
I have one customer experiencing 5+ deadlocks per day. 170+ other customers don't get
I'm experiencing issues with twitter's bootstrap-modal javascript. I'm just using the same code they
We are experiencing some very annoying deadlock situations in a production SQL Server 2000
I am experiencing a very strange issue. I have developped an application locally and
We are experiencing an Oracle Deadlock (org.hibernate.util.JDBCExceptionReporter - ORA-00060: deadlock detected while waiting 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.