Mongodb get Effective LockImproving concurrency in MongoDB via shardingWhat is lock pinger in mongodbMongodb...

Offered promotion but I'm leaving. Should I tell?

Placing subfig vertically

Are babies of evil humanoid species inherently evil?

Examples of a statistic that is not independent of sample's distribution?

How to create a hard link to an inode (ext4)?

Latest web browser compatible with Windows 98

Replacing Windows 7 security updates with anti-virus?

How do anti-virus programs start at Windows boot?

The bar has been raised

Could you please stop shuffling the deck and play already?

Make a transparent 448*448 image

How do I express some one as a black person?

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

How are such low op-amp input currents possible?

What is the meaning of triple curly braces {{{ }}} in phtml template files? When and how do we use them?

What is wrong with Escaped Shapeshifter's original wording?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

Word for a person who has no opinion about whether god exists

Space in array system equations

Why does the negative sign arise in this thermodynamic relation?

Should I tell my boss the work he did was worthless

Algorithm to convert a fixed-length string to the smallest possible collision-free representation?

Who deserves to be first and second author? PhD student who collected data, research associate who wrote the paper or supervisor?

What is the likely impact of grounding an entire aircraft series?



Mongodb get Effective Lock


Improving concurrency in MongoDB via shardingWhat is lock pinger in mongodbMongodb extremely slow with bulk inserts and showing erratic behaviorcreating replica set between three similar mongo databases on my localAll queries waiting for lock in mongodbWhy MongoDB is so slow on some queries while using IXSCAN as a winning plan?Reliability of mongodumpMongoDB write lock every n seconds during data importPartially rotating MongoDB collection efficiencyMongo queries are slow and yielding/waiting for locks thousand times













4















I´m trying to calculate the Effective Lock %, like MMS does. I think I could get it via MMS API, but most of our mongo instances currently are not monitored in MMS (and probably never will).



All I have is a very rudimentary globalLock calculation using the GlobalLock totalTime and lockTime, but these kind of metrics does not exist for the individual locks and Im not really sure how to interpret a calculation like that with the timeLockedMicros and timeAquiringMicros. Could you guys point me towards the light?










share|improve this question














bumped to the homepage by Community 3 mins ago


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




















    4















    I´m trying to calculate the Effective Lock %, like MMS does. I think I could get it via MMS API, but most of our mongo instances currently are not monitored in MMS (and probably never will).



    All I have is a very rudimentary globalLock calculation using the GlobalLock totalTime and lockTime, but these kind of metrics does not exist for the individual locks and Im not really sure how to interpret a calculation like that with the timeLockedMicros and timeAquiringMicros. Could you guys point me towards the light?










    share|improve this question














    bumped to the homepage by Community 3 mins ago


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


















      4












      4








      4








      I´m trying to calculate the Effective Lock %, like MMS does. I think I could get it via MMS API, but most of our mongo instances currently are not monitored in MMS (and probably never will).



      All I have is a very rudimentary globalLock calculation using the GlobalLock totalTime and lockTime, but these kind of metrics does not exist for the individual locks and Im not really sure how to interpret a calculation like that with the timeLockedMicros and timeAquiringMicros. Could you guys point me towards the light?










      share|improve this question














      I´m trying to calculate the Effective Lock %, like MMS does. I think I could get it via MMS API, but most of our mongo instances currently are not monitored in MMS (and probably never will).



      All I have is a very rudimentary globalLock calculation using the GlobalLock totalTime and lockTime, but these kind of metrics does not exist for the individual locks and Im not really sure how to interpret a calculation like that with the timeLockedMicros and timeAquiringMicros. Could you guys point me towards the light?







      mongodb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 11 '15 at 23:30









      Hito_kunHito_kun

      12027




      12027





      bumped to the homepage by Community 3 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 3 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 dont realy try it or sure that is true but i read same info on webs



          user_load+system_load+table as %    (how mush use) 
          ,CPU as % (how mush use)
          ,network_processor_load as % (how mush use)
          memory as % (how mush use)
          combine will give you the % that you wont...


          at lest im hope so XD...



          sorry... if it not ture ^o.0^ but still my brain was work hard for this...



          sooo easy on me...



          and dont - star pliz






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "182"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2fdba.stackexchange.com%2fquestions%2f123494%2fmongodb-get-effective-lock%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 dont realy try it or sure that is true but i read same info on webs



            user_load+system_load+table as %    (how mush use) 
            ,CPU as % (how mush use)
            ,network_processor_load as % (how mush use)
            memory as % (how mush use)
            combine will give you the % that you wont...


            at lest im hope so XD...



            sorry... if it not ture ^o.0^ but still my brain was work hard for this...



            sooo easy on me...



            and dont - star pliz






            share|improve this answer




























              0














              I dont realy try it or sure that is true but i read same info on webs



              user_load+system_load+table as %    (how mush use) 
              ,CPU as % (how mush use)
              ,network_processor_load as % (how mush use)
              memory as % (how mush use)
              combine will give you the % that you wont...


              at lest im hope so XD...



              sorry... if it not ture ^o.0^ but still my brain was work hard for this...



              sooo easy on me...



              and dont - star pliz






              share|improve this answer


























                0












                0








                0







                I dont realy try it or sure that is true but i read same info on webs



                user_load+system_load+table as %    (how mush use) 
                ,CPU as % (how mush use)
                ,network_processor_load as % (how mush use)
                memory as % (how mush use)
                combine will give you the % that you wont...


                at lest im hope so XD...



                sorry... if it not ture ^o.0^ but still my brain was work hard for this...



                sooo easy on me...



                and dont - star pliz






                share|improve this answer













                I dont realy try it or sure that is true but i read same info on webs



                user_load+system_load+table as %    (how mush use) 
                ,CPU as % (how mush use)
                ,network_processor_load as % (how mush use)
                memory as % (how mush use)
                combine will give you the % that you wont...


                at lest im hope so XD...



                sorry... if it not ture ^o.0^ but still my brain was work hard for this...



                sooo easy on me...



                and dont - star pliz







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 22 '15 at 18:39









                zivziv

                1319




                1319






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Database Administrators Stack Exchange!


                    • 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%2fdba.stackexchange.com%2fquestions%2f123494%2fmongodb-get-effective-lock%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

                    ORA-01691 (unable to extend lob segment) even though my tablespace has AUTOEXTEND onORA-01692: unable to...

                    Always On Availability groups resolving state after failover - Remote harden of transaction...

                    Circunscripción electoral de Guipúzcoa Referencias Menú de navegaciónLas claves del sistema electoral en...