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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T19:12:34+00:00 2026-06-01T19:12:34+00:00

I would like to know the expected write performance for the below server configurations.

  • 0

I would like to know the expected write performance for the below server configurations.

OS: ubuntu 10.04 
Processor: 2 cores each with 2.6 GHz on same die
RAM : 2GB RAM
hard disc: 450GB
Mysql version 5.1.61 
innodb_buffer_pool_size = 8MB
innodb_log_buffer_size = 8MB
innodb_log_buffer_size = 1
log-bin : YES
rpm: 7200 

I am doing the inserts from the same server with mysql like dump import.
my dump will has individual inserts one after another, no transactions.
table is pretty simple with 5 attributes no indexes apart from the primary key in ID and an empty one.

Current performance is 6 minutes to insert 10K records.

Thanks in advance.
Regards,
UDAY
  • 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-01T19:12:36+00:00Added an answer on June 1, 2026 at 7:12 pm

    You might find the following articles of interest. Pay particular attention to:

    • innodb_buffer_pool_size
    • innodb_log_file_size
    • innodb_log_buffer_size
    • innodb_flush_log_at_trx_commit
    • start transaction and commit/rollback

    • http://www.mysqlperformanceblog.com/2006/09/29/what-to-tune-in-mysql-server-after-installation/

    • http://vimeo.com/20990641

    • http://jpipes.com/presentations/perf_tuning_best_practices.pdf

    • http://dev.mysql.com/doc/refman/5.0/en/commit.html

    A simple example:

    drop table if exists users;
    create table users
    (
    user_id int unsigned not null auto_increment primary key,
    username varchar(32) unique not null
    )
    engine=innodb;
    
    drop procedure if exists load_test_data;
    
    delimiter #
    create procedure load_test_data()
    begin
    
    declare v_max int unsigned default 10000;
    declare v_counter int unsigned default 0;
    
      truncate table users;
      start transaction;
      while v_counter < v_max do
            insert into users (username) values (concat('username ', v_counter+1));
        set v_counter=v_counter+1;
      end while;
      commit;
    end #
    
    delimiter ;
    
    
    mysql> call load_test_data();
    Query OK, 0 rows affected (1.69 sec)
    
    mysql> select count(*) from users;
    +----------+
    | count(*) |
    +----------+
    |    10000 |
    +----------+
    1 row in set (0.00 sec)
    

    Hope this helps 🙂

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

Sidebar

Related Questions

i would like know some reference. I know i can googling it. but prefer
Would like to know what a programmer should know to become a good at
Would like to know the c# code to actually retrieve the IP type: Static
Would like to know how to integarate cruise control with maven? Cruise Control comes
Would like to know how to hide an div after a set of css3
I would like to know what guys are using to make diagram of your
I would like to know how to define a returntype in a function in
I would like to know if there's an efficient algorithm to find the greatest
I would like to know how the Cocoa Framework got its name. I know
I would like to know the reasons that we do refactoring and justify it.

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.