NIH | National Cancer Institute | NCI Wiki  

WIKI MAINTENANCE NOTICE

Please be advised that NCI Wiki will be undergoing maintenance Monday, July 22nd between 1700 ET and 1800 ET and will be unavailable during this period.
Please ensure all work is saved before said time.

If you have any questions or concerns, please contact the CBIIT Atlassian Management Team.

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.

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 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%.

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.

...

Scrollbar

...

icons

...

false

...