In MongoDB serverStatus(), what is the meaning of “connection data handles currently active”? ...

Time travel alters history but people keep saying nothing's changed

Is "plugging out" electronic devices an American expression?

Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?

Can someone be penalized for an "unlawful" act if no penalty is specified?

Shouldn't "much" here be used instead of "more"?

Why did Acorn's A3000 have red function keys?

Is a "Democratic" Oligarchy-Style System Possible?

Right tool to dig six foot holes?

Are there any other methods to apply to solving simultaneous equations?

Earliest use of the term "Galois extension"?

Why is the maximum length of OpenWrt’s root password 8 characters?

How technical should a Scrum Master be to effectively remove impediments?

Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?

How come people say “Would of”?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

Is bread bad for ducks?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

Did Section 31 appear in Star Trek: The Next Generation?

Geography at the pixel level

Delete all lines which don't have n characters before delimiter

Am I thawing this London Broil safely?

Can we generate random numbers using irrational numbers like π and e?

Have you ever entered Singapore using a different passport or name?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?



In MongoDB serverStatus(), what is the meaning of “connection data handles currently active”?



The 2019 Stack Overflow Developer Survey Results Are Insee currently running background indexing jobs (MongoDB)Read concern level of majority error while upgrading Sharded Cluster from 3.2 to 3.4Duplicate data inserted while failover MongoDBRecover MongoDB data without WiredTiger.wt fileMongoDB config replica failed connection after a few days runningMongoDB Replica Set & Data Sync behaviorHow to specify authentication database and target database separately on mongodb connection uri?MongoDB connection limitMongoDB multiple Cluster data syncMongoDb BI connection issue





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















When running db.serverStatus() in the MongoDB shell (3.4, WiredTiger), the results contain the following data:



{
"connection data handles currently active" : 94862,
"connection sweep candidate became referenced" : 0,
"connection sweep dhandles closed" : 91885,
"connection sweep dhandles removed from hash list" : 648514,
"connection sweep time-of-death sets" : 1514067,
"connection sweeps" : 40077,
"session dhandles swept" : 110175,
"session sweep attempts" : 710643
}


What is the meaning of "connection data handles currently active"? Does it have an impact on the instance's performance?










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.
















  • Good question... Checking wiredTiger source code from GitHub I could found only one hit /*! data-handle: connection data handles currently active */ #define WT_STAT_CONN_DH_CONN_HANDLE_COUNT 1131 no code lines what would explain how that value is count.

    – JJussi
    Sep 19 '17 at 11:09


















0















When running db.serverStatus() in the MongoDB shell (3.4, WiredTiger), the results contain the following data:



{
"connection data handles currently active" : 94862,
"connection sweep candidate became referenced" : 0,
"connection sweep dhandles closed" : 91885,
"connection sweep dhandles removed from hash list" : 648514,
"connection sweep time-of-death sets" : 1514067,
"connection sweeps" : 40077,
"session dhandles swept" : 110175,
"session sweep attempts" : 710643
}


What is the meaning of "connection data handles currently active"? Does it have an impact on the instance's performance?










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.
















  • Good question... Checking wiredTiger source code from GitHub I could found only one hit /*! data-handle: connection data handles currently active */ #define WT_STAT_CONN_DH_CONN_HANDLE_COUNT 1131 no code lines what would explain how that value is count.

    – JJussi
    Sep 19 '17 at 11:09














0












0








0








When running db.serverStatus() in the MongoDB shell (3.4, WiredTiger), the results contain the following data:



{
"connection data handles currently active" : 94862,
"connection sweep candidate became referenced" : 0,
"connection sweep dhandles closed" : 91885,
"connection sweep dhandles removed from hash list" : 648514,
"connection sweep time-of-death sets" : 1514067,
"connection sweeps" : 40077,
"session dhandles swept" : 110175,
"session sweep attempts" : 710643
}


What is the meaning of "connection data handles currently active"? Does it have an impact on the instance's performance?










share|improve this question














When running db.serverStatus() in the MongoDB shell (3.4, WiredTiger), the results contain the following data:



{
"connection data handles currently active" : 94862,
"connection sweep candidate became referenced" : 0,
"connection sweep dhandles closed" : 91885,
"connection sweep dhandles removed from hash list" : 648514,
"connection sweep time-of-death sets" : 1514067,
"connection sweeps" : 40077,
"session dhandles swept" : 110175,
"session sweep attempts" : 710643
}


What is the meaning of "connection data handles currently active"? Does it have an impact on the instance's performance?







mongodb mongodb-3.4 wiredtiger






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 19 '17 at 10:46









TzachTzach

1727




1727





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.















  • Good question... Checking wiredTiger source code from GitHub I could found only one hit /*! data-handle: connection data handles currently active */ #define WT_STAT_CONN_DH_CONN_HANDLE_COUNT 1131 no code lines what would explain how that value is count.

    – JJussi
    Sep 19 '17 at 11:09



















  • Good question... Checking wiredTiger source code from GitHub I could found only one hit /*! data-handle: connection data handles currently active */ #define WT_STAT_CONN_DH_CONN_HANDLE_COUNT 1131 no code lines what would explain how that value is count.

    – JJussi
    Sep 19 '17 at 11:09

















Good question... Checking wiredTiger source code from GitHub I could found only one hit /*! data-handle: connection data handles currently active */ #define WT_STAT_CONN_DH_CONN_HANDLE_COUNT 1131 no code lines what would explain how that value is count.

– JJussi
Sep 19 '17 at 11:09





Good question... Checking wiredTiger source code from GitHub I could found only one hit /*! data-handle: connection data handles currently active */ #define WT_STAT_CONN_DH_CONN_HANDLE_COUNT 1131 no code lines what would explain how that value is count.

– JJussi
Sep 19 '17 at 11:09










1 Answer
1






active

oldest

votes


















0














Although I can't find any evidence for that in the documentation, it is probably the open file-handles that Mongo holds against the file storage.



I did a test that supports this idea:




  1. Creating new mongodb instance, "connection data handles currently active" minimum value is 11 (sometimes it becomes 12,13 and then back to 11).

  2. db.coll.insert({"foo":"bar"}) - "connection data handles currently active" min value = 13.


I did the same with other operations that cause mongo to create new files on disk, such as index creation, and I have noticed the same behavior.
We can conclude that this value, "connection data handles currently active" is related to the number of file-handles that mongo holds.



As for the question if it has an impact on the instance's performance, in some cases it could be true according to the next discussion at Jira:
https://jira.mongodb.org/browse/SERVER-27700






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%2f186300%2fin-mongodb-serverstatus-what-is-the-meaning-of-connection-data-handles-curre%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














    Although I can't find any evidence for that in the documentation, it is probably the open file-handles that Mongo holds against the file storage.



    I did a test that supports this idea:




    1. Creating new mongodb instance, "connection data handles currently active" minimum value is 11 (sometimes it becomes 12,13 and then back to 11).

    2. db.coll.insert({"foo":"bar"}) - "connection data handles currently active" min value = 13.


    I did the same with other operations that cause mongo to create new files on disk, such as index creation, and I have noticed the same behavior.
    We can conclude that this value, "connection data handles currently active" is related to the number of file-handles that mongo holds.



    As for the question if it has an impact on the instance's performance, in some cases it could be true according to the next discussion at Jira:
    https://jira.mongodb.org/browse/SERVER-27700






    share|improve this answer






























      0














      Although I can't find any evidence for that in the documentation, it is probably the open file-handles that Mongo holds against the file storage.



      I did a test that supports this idea:




      1. Creating new mongodb instance, "connection data handles currently active" minimum value is 11 (sometimes it becomes 12,13 and then back to 11).

      2. db.coll.insert({"foo":"bar"}) - "connection data handles currently active" min value = 13.


      I did the same with other operations that cause mongo to create new files on disk, such as index creation, and I have noticed the same behavior.
      We can conclude that this value, "connection data handles currently active" is related to the number of file-handles that mongo holds.



      As for the question if it has an impact on the instance's performance, in some cases it could be true according to the next discussion at Jira:
      https://jira.mongodb.org/browse/SERVER-27700






      share|improve this answer




























        0












        0








        0







        Although I can't find any evidence for that in the documentation, it is probably the open file-handles that Mongo holds against the file storage.



        I did a test that supports this idea:




        1. Creating new mongodb instance, "connection data handles currently active" minimum value is 11 (sometimes it becomes 12,13 and then back to 11).

        2. db.coll.insert({"foo":"bar"}) - "connection data handles currently active" min value = 13.


        I did the same with other operations that cause mongo to create new files on disk, such as index creation, and I have noticed the same behavior.
        We can conclude that this value, "connection data handles currently active" is related to the number of file-handles that mongo holds.



        As for the question if it has an impact on the instance's performance, in some cases it could be true according to the next discussion at Jira:
        https://jira.mongodb.org/browse/SERVER-27700






        share|improve this answer















        Although I can't find any evidence for that in the documentation, it is probably the open file-handles that Mongo holds against the file storage.



        I did a test that supports this idea:




        1. Creating new mongodb instance, "connection data handles currently active" minimum value is 11 (sometimes it becomes 12,13 and then back to 11).

        2. db.coll.insert({"foo":"bar"}) - "connection data handles currently active" min value = 13.


        I did the same with other operations that cause mongo to create new files on disk, such as index creation, and I have noticed the same behavior.
        We can conclude that this value, "connection data handles currently active" is related to the number of file-handles that mongo holds.



        As for the question if it has an impact on the instance's performance, in some cases it could be true according to the next discussion at Jira:
        https://jira.mongodb.org/browse/SERVER-27700







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Sep 19 '17 at 17:11









        RDFozz

        9,89731531




        9,89731531










        answered Sep 19 '17 at 16:26









        Idan CohenIdan Cohen

        1




        1






























            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%2f186300%2fin-mongodb-serverstatus-what-is-the-meaning-of-connection-data-handles-curre%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...