NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

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
Wiki Markup
{scrollbar:icons=false}

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)

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.

Creating a database within the software can be done via the command line. The target database should be created with a default character set encoding of UTF-8. First log in as the MySQL user with create, write, update and delete permissions. This could be "root" that you created during the install of MySQL or another user you have created since then.

  • mysql -u {username} -p{password}
    Then create a new target database that uses UTF-8 as the default character set.
  • mysql> CREATE DATABASE {DBNAME} CHARACTER SET utf8 COLLATE utf8_general_ci;
    ...where DBNAME is the name of your database needed for LexEVS to store data in.

To see that you have indeed created a database you can see them listed with this command:

  • mysql> show databases

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 mypassword is your new password
    Info
    titleNote

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

Try the following values in the lbconfig.props file for the DB_URL:

DB_URL=jdbc:mysql:///{DBNAME}?socketFactory=com.mysql.jdbc.NamedPipeSocketFactory

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.

Wiki Markup
{scrollbar:icons=false}