PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 22nd of July, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[08:00:22] <godtims> hey guys, can I get some help with this question or solution? How many machines should a mongodb cluster be deployed on? How to allocate them?
[13:42:56] <flecha> Hi! Is there a way to mongodump a sample of my database? I need it to create a dev local db.
[13:46:19] <flecha> It seems I can't use $sample in mongodump -q parameter... So I tried to do something similar querying all docs created in minutes 0 (that would give about 1/60 my db). But $expr also doesn't seem to work with mongodump -q...
[13:47:15] <flecha> -q '{$expr: {$eq: [ { $minute: $dateField }, 0 ]}}'
[13:47:37] <flecha> "Failed: error parsing query as json: invalid character '$' looking for beginning of value"
[15:18:59] <VectorX> anyone up for helping out with a schema
[15:20:17] <hjames> Can mongodb change streams be used along with filters using geospatial queries?
[16:20:51] <cferry> Hello, I'm trying to insert an user's geollocation using moongose, https://pastebin.com/PYhaJxW4
[16:21:03] <cferry> my question is: how can I utilize a determined database to store this data?
[17:00:40] <hjames> nm, got it working
[23:16:46] <VectorX> so i want to make a db where i store domain names and changes in the ip addresses or cnames, then went on to all dns entries, the idea is to be able to query a domain name and return all domain names that share the same IP or CNAME (one or the other) based on the latest entry by date, having some issues figuring out the best schema for this since i am new to mongodb