Re: [mongodb-user] Abridged summary of mongodb-user@googlegroups.com - 66 Messages in 27 Topics

24 views
Skip to first unread message

nick.g...@gmail.com

unread,
Feb 12, 2012, 10:35:03 AM2/12/12
to mongod...@googlegroups.com
Unsubscribe
Sent from my phone

Date: Sun, 12 Feb 2012 15:33:39 +0000
To: Abridged Recipients<mongod...@googlegroups.com>
Subject: [mongodb-user] Abridged summary of mongod...@googlegroups.com - 66 Messages in 27 Topics

Group: http://groups.google.com/group/mongodb-user/topics

    Sam Martin <sambo...@gmail.com> Feb 12 06:28AM -0800  

    Hi all,
     
    This must be something I'm doing wrong as I can't find any other examples of the error.
     
    When creating a server object using a URI containing a username, password and database, e.g. ...more
    Robert Stam <rob...@10gen.com> Feb 12 09:45AM -0500  

    Can you show a bit more of your code?
     
    Are you using RequestStart?
     
    What version of the C# driver are you using?
     
    Can you provide a full stack trace? (You can remove the part of the stack ...more
    Robert Stam <rob...@10gen.com> Feb 12 10:00AM -0500  

    I can reproduce this on my machine using version 2.0.2 of the server. The
    problem is that the GetLastError command is sent to the admin database, but
    in this scenario the provided credentials are ...more
    Robert Stam <rob...@10gen.com> Feb 12 10:16AM -0500  

    Stepping through the code it's starting to look like this is an issue in
    the driver, not the server. But it's going to take me awhile to figure out
    what to do about it, so in the meantime your best ...more
    Sam Martin <sambo...@gmail.com> Feb 12 07:17AM -0800  

    hi robert,
     
    here sample, by the looks of it too late
     
    Server= MongoServer.Create("mongodb://
    u:p...@accno.mongolab.com:accno/dbname");
                Db= ...more
    Sam Martin <sambo...@gmail.com> Feb 12 07:22AM -0800  

    Hi Robert,
     
    Yes, update with SafeMode.True worked as expected.
     
    Leave it with you on the GetLastError() problem, but I'm good for now.
     
    Thanks for your help.
     
    Sam
     
    ...more
    Gino <emit...@gmail.com> Feb 12 02:11AM -0800  

    Hi,
     
    it seems to me that the c# driver is throwing exceptions around
    internally when auth is enabled. When i turn on breaking on all thrown
    CLR exceptions in VS. I keep getting the following:
    ...more
    Robert Stam <rob...@10gen.com> Feb 12 09:37AM -0500  

    You are right, this is very annoying.
     
    The history behind this is that the server didn't used to require
    authentication for the buildInfo command. At one point the server was
    changed to require ...more
    songhe yang <songh...@gmail.com> Feb 12 04:43AM -0800  

    I have a collection, detail as follows:
     
    e.g: userlog document:
     
    { "uselog_id" : 53994879, "user_id" : 277797, "visit_time" :
    ISODate("2012-02-10T16:00:03Z"), "_id" : ...more
    Scott Hernandez <scotthe...@gmail.com> Feb 12 09:24AM -0500  

    The field name is mispelled. Should be visit_time not visit_date.
    ...more
    Skall <skall...@gmail.com> Feb 12 02:09AM -0800  

    You can use MongoLantern 0.7 for mongodb fulltext search. It's having
    all basic features which might be required for fulltext search engine.
    Please let me know whether it serves your purpose.
     
    ...more
    Andreas Jung <li...@zopyx.com> Feb 12 11:13AM +0100  

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
     
    Why would one want to use MongoLatern compared to existing
    enterprise-level open-source widely-used and community-supported
    solutions like Solr, ...more
    "Sougata Pal." <skall...@gmail.com> Feb 12 04:00PM +0530  

    The only reason MongoLantern is entire depends upon MongoDB so it can use
    all best practices from MongoDB. As well as one don't have to read or
    maintain differentiated architecture for search ...more
    Andreas Jung <li...@zopyx.com> Feb 12 11:37AM +0100  

    I don't want to be offending but reading through the MongoLatern code: your solution
    is far away from one would call a reasonable and powerfull fulltext indexing solution.
    The mentioned existing ...more
    "Sougata Pal." <skall...@gmail.com> Feb 12 04:11PM +0530  

    Yes. You are right. The initiative is only 1 months old. So we need to
    test it with different use cases to achieve fully featured fulltext search
    engine. Can you please suggest something if ...more
    Andreas Jung <li...@zopyx.com> Feb 12 11:48AM +0100  

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
     
     
     
    Sougata Pal. wrote:
    > to test it with different use cases to achieve fully featured
    > fulltext search engine. Can you please suggest something ...more
    "Sougata Pal." <skall...@gmail.com> Feb 12 04:32PM +0530  

    Ok.
     
    I just looked at Zope. Your evaluations having potentials values to me. But
    I still will love to continue with this trial, and wait to achieve best
    results as of standards.
    * ...more
    Sam Millman <sam.m...@gmail.com> Feb 12 11:23AM  

    Mongolatern does look good and all but it does lack a lot of things:
     
    - Index barrels
    - A scalable querying strategy (it currently uses regexs to form a huge
    query, by the looks of the surce code) ...more
    "Sougata Pal." <skall...@gmail.com> Feb 12 05:03PM +0530  

    Hi Sam,
     
    You are right. Currently I am trying to achive the best search result
    using regex and all, which is not expected at all.
     
    The classes are very similar to Zend Lucene to help developer ...more
    Sam Millman <sam.m...@gmail.com> Feb 12 12:48PM  

    Sounds good except:
     
    "Currenly we are targeting to achieve search results & features very
    similar to MySQL."
     
    Many SQL experts (if not all, including myself, ironically I am a RDBA by ...more
    "Sougata Pal." <skall...@gmail.com> Feb 12 07:24PM +0530  

    Yes. True. Current version results are quite good in terms of quality, but
    not having vast options yet as software is quite young. We are targeting
    something which could use mongodb api for scaling ...more
    Andreas Jung <li...@zopyx.com> Feb 12 03:01PM +0100  

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
     
     
     
    Sam Millman wrote:
    > Mongolatern does look good and all but it does lack a lot of things:
     
    > - Index barrels
     
    What are index barells?
    ...more
    Eliot Horowitz <el...@10gen.com> Feb 12 01:31AM -0500  

    Seems to be a problem with stored js.
    Can you send db.system.js.find() ?
     
    ...more
    Travis Smith <tra...@legomaster.net> Feb 12 08:41AM -0500  

    At first, I was trying to use stored js for the MapReduce. I figured
    using MongoMigrations would make that easy, but I could never figure
    out how to get the map reduce function see the stored js ...more
    Eliot Horowitz <el...@10gen.com> Feb 12 08:57AM -0500  

    The problem is that "odd" doesn't have a "value" field.
    You can either drop it or add a value.
     
    ...more
    Chris Clarke <c...@talis.com> Feb 12 02:00AM -0800  

    Hi Antoine,
     
    I think our first route will be to ensure we're using a more suitably
    sized server to run this job (this is just a test instance on EC2) and
    see if the lock yield situation improves. ...more
    Eliot Horowitz <el...@10gen.com> Feb 12 01:26AM -0500  

    Do you know which part is slow?
    How many different browsers are there?
     
    ...more
    Raxit Sheth <raxitsh...@gmail.com> Feb 12 12:29PM +0530  

    What you are trying to do is, trying to analyze some property/value into
    existing data set. <and not modify it !>
     
    You want it for real-time processing or batch processing ?
    What is acceptable ...more
    Eliot Horowitz <el...@10gen.com> Feb 12 01:30AM -0500  

    The user doesn't have to be the same.
    --keyfile is for all mongos/mongod, not app servers.
     
    ...more
    Eliot Horowitz <el...@10gen.com> Feb 12 01:28AM -0500  

    Its probably safe to keep it ~ 1 sec.
     
    On Thu, Feb 9, 2012 at 9:53 AM, Emanuele Bragagnolo
    ...more
    Eliot Horowitz <el...@10gen.com> Feb 12 01:27AM -0500  

    Is this in a replica set?
    If so, are the secondaries ok?
    Can you start the server with --objcheck?
     
    If not a replica set - I would highly recommend for both durability
    and to help diagnose.
     
    ...more
    Eliot Horowitz <el...@10gen.com> Feb 12 01:24AM -0500  

    Can you send the map/reduce code from this?
     
    On Thu, Feb 9, 2012 at 3:00 PM, George Macon
    ...more
    John Arrowwood <Jo...@Irie-Inc.com> Feb 11 04:48PM -0500  

    insert query update delete getmore command flushes mapped vsize res
    faults locked % idx miss % qr|qw ar|aw netIn netOut conn time
    576 0 0 0 0 1 ...more
    Scott Hernandez <scotthe...@gmail.com> Feb 11 06:56PM -0500  

    I'd say you need disks with better throughput and which support more
    IO operations.
     
    Can you run mongostat and iostat -xm 2 for a few minutes and post to
    gist/pastie/pastebin?
    ...more
    Scott Hernandez <scotthe...@gmail.com> Feb 12 01:06AM -0500  

    It is hard to say what is going on. It seems like the iostat data is small
    subset of time in the mongostat data. Not sure where to line it up for
    comparison.
     
    Are these inserts on a new ...more
    Scott Hernandez <scotthe...@gmail.com> Feb 11 09:25AM -0500  

    You use $group. Are you just trying to get the number or the list of
    distinct values?
     
    ...more
    Scott Hernandez <scotthe...@gmail.com> Feb 11 09:30AM -0500  

    You use $group. Are you just trying to get the number or the list of
    distinct values?
     
    ...more
    songhe yang <songh...@gmail.com> Feb 11 09:48PM -0800  

    I want to get the list of distinct values.
     
    One more question:
     
    Why not provide the distinct operator in pipeline operator?
     
    ...more
    Scott Hernandez <scotthe...@gmail.com> Feb 12 12:58AM -0500  

    It is easy to do like so:
     
    db.runCommand({
    "aggregate" : "people",
    "pipeline" : [
    {
    "$group" : {
    "_id" : "$name"
    }
    }]})
     
    This creates a unique list of the name field.
    ...more
    songhe yang <songh...@gmail.com> Feb 11 09:46PM -0800  

    I use the pipeline $out operator, got the following error message.
     
    { ok: 0,
    errmsg: 'Pipeline::run(): unrecognized pipeline op "$out' }
     
     
    Any problem about my use method ?
    ...more
    Eliot Horowitz <el...@10gen.com> Feb 12 12:39AM -0500  

    what is b?
    are those 3 independent mongod nodes or is it a replica set?
     
    ...more
    Eliot Horowitz <el...@10gen.com> Feb 11 10:29PM -0500  

    This has ok and valid as true.
    Seems ok?
     
    ...more
    Eliot Horowitz <el...@10gen.com> Feb 11 10:27PM -0500  

    Can you check the indexes on all shards?
     
    ...more
    Scott Hernandez <scotthe...@gmail.com> Feb 11 09:32AM -0500  

    As others have said it depends on the language and parser/decoder
    implementations used. It also depends what you are encoding/decoding
    to and from -- some languages are much heavier than others when ...more
    Marvin K <marvi...@gmail.com> Feb 11 01:00PM -0800  

    Scott, yes, I was considering using BSON independent of the database.
     
    I am going to be logging some stuff and thought about logging them as:
     
    1) JSON objects appended to a text file, one per line ...more
    Eliot Horowitz <el...@10gen.com> Feb 11 10:17PM -0500  

    mongodump/restore just store raw bson in files.
    one document after another.
    since a document tells you how large it is, easy to read a file iteratively.
     
    ...more
    Wes Freeman <freem...@gmail.com> Feb 11 09:04PM -0500  

    I tested this myself, and was able to create a 17GB index (from a 300M
    record collection) with 4GB of RAM available in about 30 minutes. It
    does open a lot of files--mongo crashed the first try ...more
    Eliot Horowitz <el...@10gen.com> Feb 11 10:13PM -0500  

    Sharding shouldn't bean issue at all.
    There were issues with older versions of mongod using more ram than it
    should for creating indexes, but in 2.0 should be good.
     
     
     
    ...more
    Eliot Horowitz <el...@10gen.com> Feb 11 10:12PM -0500  

    If you replicate indexes would have to be done again.
     
    Can this be done semi offline?
     
    If so, you can build each one on a different machine in a different db name.
     
    Then shut all mongod down, ...more
    Eliot Horowitz <el...@10gen.com> Feb 11 09:11PM -0500  

    Regular server logs are also very helpful in these situations.
    Are there any slow operations?
    You might want to enable profiling for a bit as well.
     
    ...more
    Steven Eksteen <ste...@secondimpression.net> Feb 12 12:19AM +0200  

    Ahh…. I just figured out now why that method didn't work for me last time
     
    Using this example:
     
    If a new session is started this would come in:
     
    { _id: "1", user_id: "xxx", session_id: "1234", ...more
    Barrie <bar...@10gen.com> Feb 11 03:46PM -0800  

    I definitely see how that won't work past the first three records in
    your collection. To correct for that, you can add another field to
    each record, let's call it session_total, and let that value ...more
    Randy Merrill <zora...@gmail.com> Feb 11 08:10AM -0800  

    I ran the query on a collection with 48698 documents and it took 355 ms.
    ...more
    Sam Millman <sam.m...@gmail.com> Feb 11 04:15PM  

    That is considerably slow but as Scott says the aggregation framework still
    has a lot needing doing in terms of performance and whats out atm is really
    designed to be a taster.
     
    ...more
    Randy Merrill <zora...@gmail.com> Feb 11 08:32AM -0800  

    It is slower than 'desired', but for my use case right now it works great.
    Until it is actually released I am not going to worry too much about the
    performance testing.
     
    I am sure it will get ...more
    Nicolas Grilly <nic...@gardentechno.com> Feb 11 05:13PM +0100  

    Thanks for your answer Scott. I'll redo my tests in a few weeks with the
    next release.
     
    ...more
    Scott Hernandez <scotthe...@gmail.com> Feb 11 11:25AM -0500  

    The first official release will be the 2.2.0 (stable) release.
    Currently this is a developer preview or unstable development release
    depending on who you.
     
    Here is a little background on ...more
    Robert Stam <rob...@10gen.com> Feb 11 10:41AM -0500  

    A field can be set to any value you want, so an array is just a value like
    any other. If you have a tags variable of type BsonArray you can replace
    the entire tags array like this:
    ...more

You received this message because you are subscribed to the Google Group mongodb-user.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

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

Scott Hernandez

unread,
Feb 12, 2012, 10:50:00 AM2/12/12
to mongod...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages