Anyone recommend a Mysql guru?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CS-Jay
    Confirmed User
    • Oct 2003
    • 1794

    #1

    Anyone recommend a Mysql guru?

    I am in need of a highly recommended mysql guru, if you know anyone hook a brotha up!

    thanks,
    J
    I do stuff - aIm CS_Jay_D
  • CS-Jay
    Confirmed User
    • Oct 2003
    • 1794

    #2
    bump-skis
    I do stuff - aIm CS_Jay_D

    Comment

    • E Guru
      Confirmed User
      • Jul 2005
      • 658

      #3
      dang, im an e guru. sorry

      bump for ya
      Guru

      Comment

      • Brujah
        Beer Money Baron
        • Jan 2001
        • 22157

        #4
        What do you need help with? configuration, or usage?

        Comment

        • BlueWire
          Confirmed User
          • Nov 2004
          • 4628

          #5


          www.bluewirestudio.com

          Comment

          • CS-Jay
            Confirmed User
            • Oct 2003
            • 1794

            #6
            Originally posted by Brujah
            What do you need help with? configuration, or usage?
            I have all persistent connections off, I mean, at the php file level the php.ini level and yet I am getting like 120-200 sleeping processes.

            And my over head is just huge, here's a sample:
            Code:
            last pid: 43788;  load averages: 22.36, 25.12, 28.76                                                        up 0+04:11:13  21:52:15
            235 processes: 26 running, 208 sleeping, 1 zombie
            CPU states:  0.0% user, 61.7% nice, 37.1% system,  1.2% interrupt,  0.0% idle
            Mem: 93M Active, 37M Inact, 128M Wired, 112M Buf, 3379M Free
            Swap: 4069M Total, 4069M Free
            I am just not sure where it the super huge load is coming from. I don't have slow logs on yet. But the error logs says nothing. And I have caching on.
            I do stuff - aIm CS_Jay_D

            Comment

            • Babaganoosh
              ♥♥♥ Likes Hugs ♥♥♥
              • Nov 2001
              • 15841

              #7
              How do you know the load is from MySQL?
              I like pie.

              Comment

              • CS-Jay
                Confirmed User
                • Oct 2003
                • 1794

                #8
                mysql is the only thing running on this box.
                I do stuff - aIm CS_Jay_D

                Comment

                • Babaganoosh
                  ♥♥♥ Likes Hugs ♥♥♥
                  • Nov 2001
                  • 15841

                  #9
                  Originally posted by CS-Jay
                  mysql is the only thing running on this box.
                  Ahh, that's a pretty good clue.
                  I like pie.

                  Comment

                  • CS-Jay
                    Confirmed User
                    • Oct 2003
                    • 1794

                    #10
                    Originally posted by Babaganoosh
                    Ahh, that's a pretty good clue.

                    ohh man, that was a good one. I wish it was something else
                    I do stuff - aIm CS_Jay_D

                    Comment

                    • RawAlex
                      So Fucking Banned
                      • Oct 2003
                      • 9465

                      #11
                      Are the connection coming internally frm this box, or from a seperate box?

                      Alex

                      Comment

                      • Babaganoosh
                        ♥♥♥ Likes Hugs ♥♥♥
                        • Nov 2001
                        • 15841

                        #12
                        You can try

                        SHOW PROCESSLIST;

                        to see if there are any queries taking an unreasonably long time to execute. That's a decent place to start.
                        I like pie.

                        Comment

                        • CS-Jay
                          Confirmed User
                          • Oct 2003
                          • 1794

                          #13
                          Originally posted by RawAlex
                          Are the connection coming internally frm this box, or from a seperate box?

                          Alex
                          from an outside webserver.
                          I do stuff - aIm CS_Jay_D

                          Comment

                          • CS-Jay
                            Confirmed User
                            • Oct 2003
                            • 1794

                            #14
                            Originally posted by Babaganoosh
                            You can try

                            SHOW PROCESSLIST;

                            to see if there are any queries taking an unreasonably long time to execute. That's a decent place to start.
                            I am actually running mytop and I see some that are taking awhile. Put I'd really like to kill those sleeping processes.
                            I do stuff - aIm CS_Jay_D

                            Comment

                            • Brujah
                              Beer Money Baron
                              • Jan 2001
                              • 22157

                              #15
                              maybe lower the connection time to wait, damn.. what's that setting..

                              Comment

                              • CS-Jay
                                Confirmed User
                                • Oct 2003
                                • 1794

                                #16
                                and as I'm looking at mytop, I'm seeing the sleep threads ares sitting around for a long time.
                                I do stuff - aIm CS_Jay_D

                                Comment

                                • Brujah
                                  Beer Money Baron
                                  • Jan 2001
                                  • 22157

                                  #17
                                  Here's a link.. this is what I'm talking about.
                                  http://mysqldatabaseadministration.b...ing-guide.html

                                  Decrease the value of connect_timeout: By default, the wait_timeout value is 28800. Unless you want MySQL to keep waiting for 28800 seconds (480 minutes or 8 hours), please decrease its value according to your application needs.

                                  Comment

                                  • CS-Jay
                                    Confirmed User
                                    • Oct 2003
                                    • 1794

                                    #18
                                    Originally posted by Brujah
                                    Here's a link.. this is what I'm talking about.
                                    http://mysqldatabaseadministration.b...ing-guide.html

                                    Decrease the value of connect_timeout: By default, the wait_timeout value is 28800. Unless you want MySQL to keep waiting for 28800 seconds (480 minutes or 8 hours), please decrease its value according to your application needs.
                                    shit, running 4.2! I don't have some of those in my.cnf
                                    I do stuff - aIm CS_Jay_D

                                    Comment

                                    • CS-Jay
                                      Confirmed User
                                      • Oct 2003
                                      • 1794

                                      #19
                                      nevermind, I believe this will work on 4.1x
                                      I do stuff - aIm CS_Jay_D

                                      Comment

                                      • Brujah
                                        Beer Money Baron
                                        • Jan 2001
                                        • 22157

                                        #20
                                        Originally posted by CS-Jay
                                        shit, running 4.2! I don't have some of those in my.cnf
                                        Same theory, just need to find the 4.x settings that apply.. you may need to ADD them, to change the default settings.

                                        Like.. find your my.cnf file and add these in the [mysqld] section.

                                        set-variable = wait_timeout=60
                                        set-variable = connect_timeout=10

                                        Then restart mysql and see.

                                        Comment

                                        • CS-Jay
                                          Confirmed User
                                          • Oct 2003
                                          • 1794

                                          #21
                                          Brujah, you da man! I dropped the wait timeout to 15, wait_timeout=15 and I dropped from 3xx processors to 80! And the load is dropping too.
                                          I do stuff - aIm CS_Jay_D

                                          Comment

                                          Working...