Submit a ticketCall us

AnnouncementsAre You “Flying Blind?”

When it comes to your complex IT infrastructure, you want to ensure you have a good grasp of what’s going on to avoid any fire drills that result from guesswork. Read our white paper to learn how proactively monitoring your IT environment can help your organization while giving you peace of mind.

Get your free white paper.

Home > Success Center > Storage Manager (STM) > Storage Manager (STM) Documentation > SRM Profiler Administrator Guide > Common tasks with SRM Profiler > How to change the temporary directory when running a myisamchk

How to change the temporary directory when running a myisamchk

Table of contents
No headers

Updated: June 16, 2017

When running a myisamchk, it uses the volume that SRM Profiler is installed on by default for its temp directory. If this volume is low on space, the myisamchk may not complete since it essentially replicates each table when checking the index and repairing.

To change this, add --tmpdir = <path> to the myisamchk command in the parameters section.

The following example shows a temp directory on E: drive:

    for %i in (*.MYI) do ..\..\bin\myisamchk --defaults-extra-file=..\..\my.cnf -c -a -r -v --tmpdir = E:emp\ %i

For more information see myisamchk.

 
Last modified

Tags

Classifications

Public