Parser or export for slow queries table (mysql.slow_log) on AWS RDS? Announcing the arrival of...

Simulating Exploding Dice

What is the electric potential inside a point charge?

How to pour concrete for curved walkway to prevent cracking?

Passing functions in C++

Why use gamma over alpha radiation?

Determine whether f is a function, an injection, a surjection

New Order #5: where Fibonacci and Beatty meet at Wythoff

Interesting examples of non-locally compact topological groups

Estimate capacitor parameters

How did the aliens keep their waters separated?

If I can make up priors, why can't I make up posteriors?

Writing Thesis: Copying from published papers

Need a suitable toxic chemical for a murder plot in my novel

What LEGO pieces have "real-world" functionality?

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Unable to start mainnet node docker container

What kind of display is this?

How to market an anarchic city as a tourism spot to people living in civilized areas?

Can't figure this one out.. What is the missing box?

Can smartphones with the same camera sensor have different image quality?

How can I protect witches in combat who wear limited clothing?

How to rotate it perfectly?

Are my PIs rude or am I just being too sensitive?

Who can trigger ship-wide alerts in Star Trek?



Parser or export for slow queries table (mysql.slow_log) on AWS RDS?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!MySQL : table organisation for very large sets with high update frequencyMysql InnoDB table size performanceAWS RDS MySQL / Slow Query LogAWS RDS MySQL remote connection extremely slowAWS RDS mysqldump hangingAWS RDS MySQL vs AuroraWhy is there a delay with executing queries on my RDS instanceAWS RDS connection limitsCan't connect Postfix to AWS MySQL RDS over SSL SSL_CTX_set_default_verify_pathsConnect an AWS Lambda function triggered by API Gateway to Aurora Serverless MySQL database





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















So I turned on slow query logging in my Amazon RDS instance (via the method here), and now I'm wondering how to parse the data collected in the slow queries table (mysql.slow_log). Can I use the mysqlslowdump command?



If not, are there ways of exporting the table to the slow log file format that mysqlslowdump creates?



What, if any, other parsers can I use to parse the data in the slow queries table?



EDIT: Found a python script that dumps the slow_log table to a format readable by mysqldumpslow command (thanks memonic). I modified it, which you can see here:
https://gist.github.com/1484489










share|improve this question
















bumped to the homepage by Community 15 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    So I turned on slow query logging in my Amazon RDS instance (via the method here), and now I'm wondering how to parse the data collected in the slow queries table (mysql.slow_log). Can I use the mysqlslowdump command?



    If not, are there ways of exporting the table to the slow log file format that mysqlslowdump creates?



    What, if any, other parsers can I use to parse the data in the slow queries table?



    EDIT: Found a python script that dumps the slow_log table to a format readable by mysqldumpslow command (thanks memonic). I modified it, which you can see here:
    https://gist.github.com/1484489










    share|improve this question
















    bumped to the homepage by Community 15 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0


      1






      So I turned on slow query logging in my Amazon RDS instance (via the method here), and now I'm wondering how to parse the data collected in the slow queries table (mysql.slow_log). Can I use the mysqlslowdump command?



      If not, are there ways of exporting the table to the slow log file format that mysqlslowdump creates?



      What, if any, other parsers can I use to parse the data in the slow queries table?



      EDIT: Found a python script that dumps the slow_log table to a format readable by mysqldumpslow command (thanks memonic). I modified it, which you can see here:
      https://gist.github.com/1484489










      share|improve this question
















      So I turned on slow query logging in my Amazon RDS instance (via the method here), and now I'm wondering how to parse the data collected in the slow queries table (mysql.slow_log). Can I use the mysqlslowdump command?



      If not, are there ways of exporting the table to the slow log file format that mysqlslowdump creates?



      What, if any, other parsers can I use to parse the data in the slow queries table?



      EDIT: Found a python script that dumps the slow_log table to a format readable by mysqldumpslow command (thanks memonic). I modified it, which you can see here:
      https://gist.github.com/1484489







      mysql amazon-rds






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 16 '11 at 5:08







      user749618

















      asked Dec 15 '11 at 16:12









      user749618user749618

      14814




      14814





      bumped to the homepage by Community 15 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 15 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I've tested Percona's tools and they are great



          this one pt-query-advisor Analyze queries and advise on possible problems, and this one pt-query-digest converts slow log into more readable format. :)






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "2"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f341264%2fparser-or-export-for-slow-queries-table-mysql-slow-log-on-aws-rds%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I've tested Percona's tools and they are great



            this one pt-query-advisor Analyze queries and advise on possible problems, and this one pt-query-digest converts slow log into more readable format. :)






            share|improve this answer




























              0














              I've tested Percona's tools and they are great



              this one pt-query-advisor Analyze queries and advise on possible problems, and this one pt-query-digest converts slow log into more readable format. :)






              share|improve this answer


























                0












                0








                0







                I've tested Percona's tools and they are great



                this one pt-query-advisor Analyze queries and advise on possible problems, and this one pt-query-digest converts slow log into more readable format. :)






                share|improve this answer













                I've tested Percona's tools and they are great



                this one pt-query-advisor Analyze queries and advise on possible problems, and this one pt-query-digest converts slow log into more readable format. :)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 15 '11 at 16:58









                MichaelMichael

                803




                803






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f341264%2fparser-or-export-for-slow-queries-table-mysql-slow-log-on-aws-rds%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

                    As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                    Маріан Котлеба Зміст Життєпис | Політичні погляди |...