Skip to content

Conn pool stats #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Jul 26, 2012
Merged

Conn pool stats #65

merged 24 commits into from
Jul 26, 2012

Conversation

a-leung
Copy link

@a-leung a-leung commented Jul 13, 2012

DOCS-158

Please review, update, and merge.

Thanks.

output of the command.

Detailed description of the output of
:dbcommand:`connPoolStats`. For each MongoDB host connected:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to tell people that the description is detailed.

"MongoDB host" is not a term that appears in the Manual. Use :program:mongod (I think) in these instances.

@tychoish
Copy link
Contributor

can you revise and update your branch. talk to me if you need help adding the directives.


This field indicates the number of the host that is the next
:term:`secondary` to read from instead of :term:`master` from
the ``hosts`` list.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you fix this and the previous entry.

.. stats:: hosts.[host].available

The cummulative number of connections in the connection pool
available for a host to connect to a :program:`mongos`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rewrite this and all following sections to be:

  1. Less tautological. The current forms are vague, and do not add value to the documentation.
  2. Less passive.
  3. Technically correct. The connection pool is something that the mongs has to connect to the members of the replica set. These don't have that factual point correct.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for example:

:stats:`hosts.[host].available` reports the total number of connections created by the :program:`mongos`, and used to connect to members of the replica set.

@tychoish
Copy link
Contributor

Please revise and resubmit.

.. note::

:dbcommand:`connPoolStats` only return meaningful results for
:program:`mongos` program.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is true. connPoolStats can be useful on a mongod as well.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you elaborate? on this. will try to touch base with you in person to resolve this.


:stats:`hosts.[host].available` reports the total number of
connections created by the :program:`mongos`, and used to
connect to members of the :term:`shard cluster`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The available and created counters are per host, so it's not the number of available conns for the whole shard cluster, it's the number available to connect to a specific shard.

@tychoish tychoish merged commit ff15ad1 into mongodb:master Jul 26, 2012
Yingminzhou pushed a commit to mongodb-china/docs that referenced this pull request Dec 10, 2016
mongo-cr-bot pushed a commit that referenced this pull request Dec 3, 2021
* DOCSP-19786 validate warning clarification

* Fix whitespace

* Update tip

* White space

* Review updates

* Remove tip

* External feedback

* Tweaks

* Move primary note to warning
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request May 22, 2025
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 2, 2025
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 6, 2025
* DOCSP-33454 Query Converter Content (#58)

* DOCSP-33454 Query Converter Content

* DOCSP-32086 Convert Stored Procedures Content (#64)

* DOCSP-32086 Convert Stored Procedures Content

* DOCSP-33246 Convert Views Content (#63)

* DOCSP-33246 Convert Views Content

* DOCSP-33003 Refresh Database Objects (#65)

* remove empty file
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 16, 2025
* Adds release notes for 1.1.6 and 1.1.7, updates source constant

* Sets submodule to atlascli/v1.1.7

* Includes change from Julia's copy review
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
* (DOCSP-11398): Update Telephone Numbers page

* copy review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants