NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

...

Page info
title
title

Panel
titleContents of this Page
Table of Contents
minLevel2

MySQL Properties Settings

These properties are usually located in the file {MYSQL_HOME}/my.ini.

Property Name

Description

innodb_flush_log_at_trx_commit

Flush the transaction logs at each commit.
Value: It is highly recommended that this option be set to '0' in Windows installations to improve load performance.

innodb_additional_mem_pool_size

Additional memory pool that is used by InnoDB to store metadata information.
Value: 16M

innodb_buffer_pool_size

Buffer pool used to cache both indexes and row data.
Value: 1G (consider going higher based on physical RAM available and full terminology sets might benefit from as high as 14G)

tmp_table_size

Maximum size for internal (in-memory) temporary tables.
Value: 256M

query_cache_size

Query cache is used to cache SELECT results and later return them without actually executing the same query once again.
Value: 64M

sort_buffer_size

This buffer is allocated when MySQL needs to rebuild the index in REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE into an empty table.
Value: 16M

MySQL Properties Guide

There are some commands that we have found useful in the MySQL environment. You can investigate this database software more at the MySQL web site.

...

If you have root or administrator access to your server you can change the password for the root user ID if you have forgotten or lost it.

  • mysqladmin -u root password {mypassword}
    ...where mypasswordis your new password

    Info
    titleNote

    MySQL can be passed a JDBC option for the Windows local environment that may improve perfomance 30 to 50%.

...

This uses Windows Named Pipe function and avoids use of the TCP/IP protocol. It only works when connecting with a local iteration of the MySQL database on Windows.

...

Scrollbar
iconsfalse