# Enable Keys and myisamchk

**URL:** <https://forums.percona.com/t/enable-keys-and-myisamchk/1185>\
**Category:** Other MySQL® Questions\
**Created:** [June 3, 2009, 2:54am UTC](https://forums.percona.com/t/enable-keys-and-myisamchk/1185 "2009-06-03T02:54:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredy](https://avatars.discourse-cdn.com/v4/letter/f/d6d6ee/32.png) [@fredy](https://forums.percona.com/u/fredy)\
**Post date:** [June 3, 2009, 2:54am UTC](https://forums.percona.com/t/enable-keys-and-myisamchk/1185/1 "2009-06-03T02:54:50Z")

</div>

Hi,

I am loading a 0.5GB table disabling the keys before I start loading it.  
Later on I compress it with myisampack, and needs to run myisamchk.

When I run the myisamchk I add the options --sort-index and --analyze  
Do you know if I can skip the enable keys operation?  
I was wondering if I can, since the myisamchk is supposed to rebuild the indexes anyway.

---

<div class="post-metadata">

**Author:** ![xaprb](https://avatars.discourse-cdn.com/v4/letter/x/49beb7/32.png) [@xaprb](https://forums.percona.com/u/xaprb)\
**Post date:** [December 25, 2009, 7:10am UTC](https://forums.percona.com/t/enable-keys-and-myisamchk/1185/2 "2009-12-25T07:10:42Z")

</div>

Check to see if the files are built on disk afterwards. They should be.
