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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:06:10+00:00 2026-06-14T12:06:10+00:00

I am using EasyPHP 12.1 with MySQL on an old Windows XP system. I

  • 0

I am using EasyPHP 12.1 with MySQL on an old Windows XP system. I have a SQL script (script.sql) with < 10 table creations and > 200,000 INSERT INTO statements. The script is structured like this:

SET autocommit = 0;
START TRANSACTION;
USE myDatabase;
...
COMMIT;

Where … is the body of the script, most of which are inserts.

I’m running this with mysql -uuser -ppassword < script.sql.

When I do this, it takes well over an hour to insert ~ 1/3 of the records. This can’t be right, so I must be doing something wrong — but what? Can you see any problems with this script? Are there any known bugs or performance issues with this stack?

  • 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-14T12:06:11+00:00Added an answer on June 14, 2026 at 12:06 pm

    There is one thing that did not transpire in the comments. A storage engine affects where the data is stored. This also affects how it is stored, which leads to MyISAM being slower than innoDB on INSERT (due to myISAM requiring a full index re-write on every insertion).

    If you are using the MEMORY engine, consider changing. MEMORY is good for temporary tables – the moment you shut down your server, you’ll lose the contents of the tables. MEMORY should NEVER be used for permanent tables.

    Consider InnoDB, MyISAM, or ARCHIVE if your data is not indexed. This will create significantly higher first-creation times (due to the fact that, unlike MEMORY, both MyISAM, INNODB and ARCHIVE have to write to disk and regenerate indices), but it’ll at least mean that your tables will not miraculously disappear the moment you shut the server down.

    I’d strongly recommend reading up on the various storage engines, as it is pretty crucial in most cases. There are some very, very cool features in them, too.

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

Sidebar

Related Questions

I'm using mysql 5.0 and easyphp. While connecting to sql server I'm receiving the
I'm using EasyPHP on Windows. When I try to run a script (from the
I'm using EasyPHP (my OS = Windows XP) and I've written a little php
Using online interfaces to a version control system is a nice way to have
originally i was using easyPHP (windows) then i switch to mac and used MAMP.
Using SQL Server 2005 Leave Table ID StartDate EndDate 001 02/03/2010 02/03/2010 002 02/03/2010
I have a small python script to produce css files (using PyScss). The rest
Using a populated Table Type as the source for a TSQL-Merge. I want to
Using SQL Server 2008 R2 we are looking for a way to select the
I have one problem. I have EasyPHP server on my local computer. I am

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.