MySQL Optimization


  1. The option which delays index flushing for slave server is _________________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    For the replication slave servers, the –delay-key-write=ALL option delays index flushing for all MyISAM tables, regardless of how they were created originally on the master server.


  1. Which table option for MyISAM tables reduces index flushing?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    For MyISAM tables a strategy for reducing index flushing is to use the DELAY_KEY_WRITE table option. With this option the data rows are written to the data file immediately.



  1. Which option repairs MyISAM tables automatically after they open?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    In order to make sure that the repairs happen the server is started with the –myisam-recover=FORCE option. This enables the server to check MyISAM tables when it opens them and repair them automatically.


  1. Which option turns on the –extended-insert?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    If the –opt option is enabled it turns on the –extended-insert option, which produces multiple row INSERT statements and some other options that allow the dump file to be processed more efficiently.



  1. TO enable the compressed client/server protocol the option is _________________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The compressed client/server protocol is used to reduce the amount of data going over the network. For most of the MySQL clients this is specified using the –compress command line option.