Menu

#4391 (ok 4.3) Upgraded to 4.2.0, insanely slow now

4.2.0
fixed
None
1
2015-02-12
2014-05-09
Justin
No

Just upgraded to 4.2.0 from 4.1.13 and the speed is insanely slow. To render the main page (after you log in) taking greater than 15 seconds.

Is this a know bug?

Discussion

1 2 3 > >> (Page 1 of 3)
  • Justin

    Justin - 2014-05-09

    Also, confirm its using near 100% cpu in the php-fpm worker during this time.

     
  • Marc Delisle

    Marc Delisle - 2014-05-10

    Hi,
    I cannot reproduce this problem. Please describe your server environment (MySQL server version, PHP version).

    Also, please try on http://demo.phpmyadmin.net (stable version) as this server is also using FPM.

     

    Last edit: Marc Delisle 2014-05-10
  • Marc Delisle

    Marc Delisle - 2014-05-10
    • status: open --> pending
     
  • Justin

    Justin - 2014-05-11

    I tried using strace, but there is just too much output:

    strace $(pidof "php-fpm" | sed 's/([0-9]*)/-p \1/g')

    Running phpMyAdmin 4.2.0 with libmysql - mysqlnd 5.0.10 and MySQL 5.6.17. PHP version 5.4.28 using nginx. Loading the dashboard page takes literally takes over 20 seconds. Even refreshing it. All the rest of the pages inside of phpMyAdmin are fine though.

     
  • Justin

    Justin - 2014-05-11

    Actually managed to see, a ton of the following:

    sendto(12, "|\0\0\0\3SELECT COUNT() FROM `phpmy"..., 128, MSG_DONTWAIT, NULL, 0) = 128
    poll([{fd=12, events=POLLIN|POLLERR|POLLHUP}], 1, 1471228928) = 1 ([{fd=12, revents=POLLIN}])
    recvfrom(12, "\1\0\0\1\1\36\0\0\2\3def\0\0\0\10COUNT(
    )\0\f?\0\25\0\0"..., 64, MSG_DONTWAIT, NULL, NULL) = 63

    Looks like selecting from the phpMyAdmin database, a lot of times. Thousands.

     
  • Michael

    Michael - 2014-05-17

    Making a copy of a simple EZPublish database in version 4.1.14 less than 30 seconds.
    In version 4.2.1 nearly 5 minutes. I had to increase the maximum execution time for php scripts.

     
  • Marc Delisle

    Marc Delisle - 2014-05-17
    • status: pending --> open
     
  • Justin

    Justin - 2014-05-18

    We have lots of databases in our DB instance > 3000. Perhaps phpMyAdmin changed some of the logic in the dashboard (after login) to pull information from each database, causing the slowdown?

     
  • freeman

    freeman - 2014-05-22

    Yes
    it's really slow for me too. I have also 5000 databases

     
  • freeman

    freeman - 2014-06-13

    i notices it uses information schema even if expanding one database?? why not use show tables that is 100x faster? it scans through all databases every time
    also can i turn off routines in database free? it slows down too. it ok to have routines only in right page

     
  • freeman

    freeman - 2014-06-25

    any response? this is serious bug

     
  • Michael

    Michael - 2014-06-25

    At the moment we also do not upgrade to 4.2.x because of that bug.

     
  • Marc Delisle

    Marc Delisle - 2014-06-25

    We are in the process of installing a test server to be able to reproduce this problem and prepare the correct fix.

     
  • Justin

    Justin - 2014-07-22

    Any update of fix for this? Running the latest version 4.2.6 but loading after logging in takes around 30 seconds. We are approaching 4,000 databases now.

     
  • Marc Delisle

    Marc Delisle - 2014-07-23

    Sorry, still waiting for the person in charge of setting up a test server.

     
    • freeman

      freeman - 2014-08-06

      you can write a script to generate databases in 15 minutes. can you test it on your notebook? thanks

       
  • freeman

    freeman - 2014-07-24

    also navigation frame reloads sometimes for no reason
    it happened now when i clicked edit rows button

    it reloads navigation frame when deleting triggers and trigger node is NOT expanded, so it's not needed

     

    Last edit: freeman 2014-07-24
  • Justin

    Justin - 2014-08-05

    Any update on this? phpMyAdmin is almost unusable with a lot of databases.

     
  • Marc Delisle

    Marc Delisle - 2014-08-06

    @freeman, I already have a script to generate databases and tables; what I would like is a script to generate grants (privileges) that are representative of your situation.

     
  • Justin

    Justin - 2014-08-07

    Marc,

    Our setup is mainly 1 user per database, so simply could do something like:

    http://public.recipes/z5D1CQ

    Note, I did not test this, but the idea should be right.

     
  • Marc Delisle

    Marc Delisle - 2014-08-08

    To all,
    does the slow behavior happen for every user, or just for a user having access to all of these databases?

     
    • freeman

      freeman - 2014-08-08

      I guess it just is connected to number of db. I usually use root user, I need to see all databases (about 5000). On notebook with few databases it's fine (even with unnecesary db tree refreshes as I said earlier)

       
      • Marc Delisle

        Marc Delisle - 2014-08-08

        Please tell me what happens in terms of delays, for a non-root user connecting to the server with about 5000 databases.

         
  • Justin

    Justin - 2014-08-08

    We also only use root which has access to all databases (secured with iptables). After log-in form, takes like 20-30 seconds to load the index (dashboard). The load on php-fpm during this time is nearly 100%.

     
    • Marc Delisle

      Marc Delisle - 2014-08-08

      Justin, how does it perform for a non-root user?

       
1 2 3 > >> (Page 1 of 3)
MongoDB Logo MongoDB