Skip to main content

Phymyadmin Import slowly

Comments

4 comments

  • cPRex Jurassic Moderator

    Hey there!  When there is an issue with the database I always like to check this command on the system:

    mysqladmin proc status

    to see if there is any obvious slowness with MySQL itself.  Do you see anything odd there, such as too many opens or slowness?  A basic "top" would also show if there is any I/O wait on the system that could be contributing to slowness on the machine.

    0
  • Anoop Kumar

     mysqladmin proc status
    +------+-----------------+-----------+----+---------+--------+------------------------+------------------+
    | Id   | User            | Host      | db | Command | Time   | State                  | Info             |
    +------+-----------------+-----------+----+---------+--------+------------------------+------------------+
    | 5    | event_scheduler | localhost |    | Daemon  | 161078 | Waiting on empty queue |                  |
    | 4547 | root            | localhost |    | Query   | 0      | init                   | show processlist |
    +------+-----------------+-----------+----+---------+--------+------------------------+------------------+
    Uptime: 161116  Threads: 2  Questions: 328817  Slow queries: 34  Opens: 16323  Flush tables: 3  Open tables: 389  Queries per second avg: 2.040

    0
  • Anoop Kumar

    # mysqladmin proc status
    +------+------------------+-----------+--------------------+---------+--------+------------------------+------------------------------------------------------------------------------------------------------+
    | Id   | User             | Host      | db                 | Command | Time   | State                  | Info                                                                                                 |
    +------+------------------+-----------+--------------------+---------+--------+------------------------+------------------------------------------------------------------------------------------------------+
    | 5    | event_scheduler  | localhost |                    | Daemon  | 161287 | Waiting on empty queue |                                                                                                      |
    | 4601 | cpses_map1jlsyj4 | localhost | martfero_hmtesting | Query   | 1      | creating table         | -- --------------------------------------------------------

    --
    -- Table structure for table `module |
    | 4602 | cpses_map1jlsyj4 | localhost |                    | Sleep   | 31     |                        |                                                                                                      |
    | 4606 | root             | localhost |                    | Query   | 0      | init                   | show processlist                                                                                     |
    +------+------------------+-----------+--------------------+---------+--------+------------------------+------------------------------------------------------------------------------------------------------+
    Uptime: 161325  Threads: 4  Questions: 331316  Slow queries: 34  Opens: 16492  Flush tables: 3  Open tables: 400  Queries per second avg: 2.053

    0
  • cPRex Jurassic Moderator

    That all looks great, and the server isn't busy at all.

    Did "top" show anything odd in the %wait column?

    0

Please sign in to leave a comment.