Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion serverStatus() output in version 2.1+ contains a field called "."
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eliot Horowitz  
View profile  
 More options May 10 2012, 2:39 pm
From: Eliot Horowitz <el...@10gen.com>
Date: Thu, 10 May 2012 14:39:55 -0400
Local: Thurs, May 10 2012 2:39 pm
Subject: Re: [mongodb-user] serverStatus() output in version 2.1+ contains a field called "."
Yes - this will be changing in 2.2
(might already be in master)

What it is is for some server locks.
The whole stats structure is going to be changing in 2.1.2 to make it clearer.

On Thu, May 10, 2012 at 2:38 PM, Robert <rob...@objectlabs.com> wrote:
> I have a 2.1.1 mongod server and I've noticed that when I run
> serverStatus() there's a new field in the output called "locks".  The
> keys in the value of this field appear to be database names, but
> there's one key that's just ".".  First of all, what is this?  "show
> dbs" does not show a db called ".".  Secondly, if it's a sentinel
> value of some kind, would it be possible to use something other than
> "."?  We'd like to save away the output of serverStatus() as a
> document in mongo, but we can't if it has any fields containing "."

>> db.serverStatus()
> {
>        ...

>        "locks" : {
>                "." : {
>                        "timeLocked" : {
>                                "R" : NumberLong(0),
>                                "W" : NumberLong(59537457)
>                        },
>                        "timeAcquiring" : {
>                                "R" : NumberLong(29066607),
>                                "W" : NumberLong(17135484),
>                                "r" : NumberLong(269181),
>                                "w" : NumberLong(1779422)
>                        }
>                },
>                "admin" : {
>                        "timeLocked" : {
>                                "R" : NumberLong(0),
>                                "W" : NumberLong(1620572)
>                        },
>                        "timeAcquiring" : {
>                                "R" : NumberLong(522),
>                                "W" : NumberLong(64179)
>                        }
>                },
>                "local" : {
>                        "timeLocked" : {
>                                "R" : NumberLong(0),
>                                "W" : NumberLong(1620572)
>                        },
>                        "timeAcquiring" : {
>                                "R" : NumberLong(522),
>                                "W" : NumberLong(64179)
>                        }
>                },
>        ...
> }

> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.