MDDHosting Forums: [Completed] Hermes - MySQL Governor/Stats Installation - MDDHosting Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Completed] Hermes - MySQL Governor/Stats Installation Estimated MySQL Downtime is less than 5 minutes

#1 User is offline   MikeDVB 

  • Forum Administrator
  • PipPipPipPipPip
  • Group: Staff Administrator
  • Posts: 1,545
  • Joined: 27-September 08
  • Gender:Male
  • Location:Central Indiana, USA

Posted 23 September 2011 - 02:45 AM

We will be installing a MySQL Governor and Statistics system so that we can more easily track which MySQL databases are causing issues for the server for us to ensure overall stability and performance. This installation should be seamless with the only MySQL downtime being up to 5 minutes while the MySQL server is restarted. We will update this thread once the installation is completed or if any unexpected issues arise.
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all shared, semi-dedicated, and VPS services!
http://www.mddhosting.com/ - Follow us on Twitter!
0

#2 User is offline   MikeDVB 

  • Forum Administrator
  • PipPipPipPipPip
  • Group: Staff Administrator
  • Posts: 1,545
  • Joined: 27-September 08
  • Gender:Male
  • Location:Central Indiana, USA

Posted 23 September 2011 - 02:53 AM

The MySQL Stats and Governor has been installed and MySQL is back online without issue.
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all shared, semi-dedicated, and VPS services!
http://www.mddhosting.com/ - Follow us on Twitter!
0

#3 User is offline   Brad 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 11
  • Joined: 17-September 10

Posted 23 September 2011 - 05:14 PM

Very nice Mike. What sort of issues do client MySQL databases cause on a server and how will you use the tool to ensure stability? I always thought that databases were relatively static and that the applications that reference databases were culprits of instability. It's interesting to learn that db's themselves can be culprits too.
0

#4 User is offline   MikeDVB 

  • Forum Administrator
  • PipPipPipPipPip
  • Group: Staff Administrator
  • Posts: 1,545
  • Joined: 27-September 08
  • Gender:Male
  • Location:Central Indiana, USA

Posted 24 September 2011 - 12:45 AM

It allows us to watch statistics on which databases are accessed when, how much CPU is used in doing so, how many rows were requested, how many were updated, etc. It's quite in-depth.

At the end of the day - if MySQL is having issues it will allow us to more easily identify the source of the trouble so that we can ensure a higher level of service and reliability.
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all shared, semi-dedicated, and VPS services!
http://www.mddhosting.com/ - Follow us on Twitter!
0

#5 User is offline   MikeDVB 

  • Forum Administrator
  • PipPipPipPipPip
  • Group: Staff Administrator
  • Posts: 1,545
  • Joined: 27-September 08
  • Gender:Male
  • Location:Central Indiana, USA

Posted 25 September 2011 - 04:20 AM

For those who may be curious, it allows us to see statistics such as these:
Statistics for ONE MySQL User on a shared server over 15 minutes:
Table: wp_adrotate_tracker
>> Rows Read: 88,199,361 (97,999 rows per second)

Table: wp_adrotate_stats_tracker
>> Rows Read: 10,771,198 (11,968 rows per second)

Total: Rows Read: 98,970,559 (109,967 per second)

Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all shared, semi-dedicated, and VPS services!
http://www.mddhosting.com/ - Follow us on Twitter!
0

#6 User is offline   fshagan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 139
  • Joined: 10-January 11

Posted 25 September 2011 - 12:05 PM

Very nice; that will allow you to see what specific table is causing an issue.

Is there much overhead to running the stats program?
0

#7 User is offline   MikeDVB 

  • Forum Administrator
  • PipPipPipPipPip
  • Group: Staff Administrator
  • Posts: 1,545
  • Joined: 27-September 08
  • Gender:Male
  • Location:Central Indiana, USA

Posted 25 September 2011 - 07:07 PM

There is some overhead to it but it's not significant. We only have it enabled when running a report so it's not running all the time.
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all shared, semi-dedicated, and VPS services!
http://www.mddhosting.com/ - Follow us on Twitter!
0

#8 User is offline   Adam 

  • Member
  • PipPip
  • Group: Members
  • Posts: 60
  • Joined: 23-February 11
  • Gender:Male

Posted 26 September 2011 - 07:55 PM

Have you ever given thought to running the Percona release of MySQL? It's said to be significantly faster than the Oracle releases, and it's a drop-in replacement... kind of like Apache and LiteSpeed (except that Percona is free). I might have mentioned this to you, but I don't recall it.
Countdown to tomorrow: 1 day.

My blog -- rubiverse.net
0

#9 User is offline   MikeDVB 

  • Forum Administrator
  • PipPipPipPipPip
  • Group: Staff Administrator
  • Posts: 1,545
  • Joined: 27-September 08
  • Gender:Male
  • Location:Central Indiana, USA

Posted 06 October 2011 - 09:49 AM

We have considered it but see no way to switch to it that won't require a full rebuild of PHP (i.e. MySQL connectivity downtime for around 30 minutes).
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all shared, semi-dedicated, and VPS services!
http://www.mddhosting.com/ - Follow us on Twitter!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users