PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 20th of July, 2014

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:21:26] <bcheng> Hi, could someone give me a (hopefully quick) bit of guidance about some MongoDB design considerations?
[05:35:09] <cathode> hi there, anyone around?
[05:35:46] <cathode> i asked a question a number of hours ago but then my client failed to rejoin... basically i'm looking for a datastore for real-time game world data for a block-based sandbox game
[05:36:00] <cathode> and i'm trying to determine if mongodb would be a good choice for that type of use case
[08:08:45] <bluesm> Is there any light version of "ObjectId" ? Not implements as string but just number
[08:09:19] <bluesm> I need it for just joining collections. Not to expose to the API
[08:38:09] <bluesm> Or just I should implement it as a number ?
[09:17:47] <kali> bluesm: objectId is a 128-bit number
[09:29:20] <bluesm> kali: what is the this alphanumeric representation then ?
[09:35:58] <bluesm> kali: is it hash of it ?
[10:06:10] <bluesm> Should I put null values or not put any Field instead ?
[10:06:15] <bluesm> And check if exists
[10:06:24] <bluesm> (In queries)
[10:22:18] <kali> bluesm: it's a base64 of it
[10:23:01] <kali> bluesm: hmmm... sorry regular hex, not base64
[12:33:44] <maxmanders> I understand that on the primary rs.printSlaveReplicationInfo will show any secondaries which are lagging; but at what point (how do you tell) that a secondary needs a clean resync?
[12:46:02] <backSlasher> Anyone knows how to tell that a DB need defragmentation?
[12:46:45] <backSlasher> I used `compact` on some db and performance improved, but I wonder if there is some way to tell that a collection needs it
[12:52:32] <wdd> What's the equivalent of userSource: '$external' field in db.createUser() ?
[13:13:49] <backSlasher> Hi, any
[13:13:59] <backSlasher> Anyone knows about a way to measure DB fragmentation?
[13:27:29] <bluesm> kali: Why is it so long ?
[13:40:12] <kali> bluesm: 128 bits in hex make 32 characters...
[13:43:25] <bluesm> kali: Ok. But does it make sense to have such huge ID ? I mean this makes 2^128 unique values which rather don't occur in most cases.
[13:48:00] <kali> bluesm: it makes sense in that it allows to generate unique ids without complex synchronisation
[13:50:43] <bluesm> kali: you mean that the generating new unique ID is simplicated because of this? Could you link to the story behind it ?
[13:51:22] <bluesm> kali: I just want to provide API for the mobile app where I use sqlite, and I wonder if I will have problems since sqlite probably support max 64 bit numbers.
[13:51:24] <bluesm> (integers)
[13:58:02] <kali> bluesm: well, a driver can generate a unique objectid without even having to talk to the server
[13:58:18] <kali> bluesm: compared to an autoincrement, that is a huge simplification
[13:58:31] <bluesm> kali: How? If it have to check for uniqness ?
[13:58:45] <kali> http://stackoverflow.com/questions/4677237/possibility-of-duplicate-mongo-objectids-being-generated-in-two-different-colle
[15:09:44] <ejb> Hi, I'm looking for advice on how to store "hours of operation" for a business. I need to be able to query "business that are open now". Any help would be much appreciated.
[17:37:18] <mango_> hi, what is the difference between db.products.findOne() and db.products.find( { } )
[17:38:08] <kali> findOne = find.limit(1).pretty()
[17:38:31] <mango_> ok
[18:49:20] <WhatHells> Hello
[18:55:39] <WhatHells> I don't fully understand what document oriented DB means in MangoDB descritpion, could someone explains it to me please?
[19:25:08] <brammat1r> could I have find() results not in form "{field: value}, ...", but like "value, value, ..." ?
[23:40:26] <StarfireRomeo> I have an issue with the mms agent 2.3.1 it will not connect to a mongod process. but when I curl the address and port I do get the standard reply You are trying to access MongoDB on the native driver port
[23:41:16] <StarfireRomeo> the agent log shows against DB admin. Err: `no reachable servers`