Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10617

Database Name size in Atlas - Free tier

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Atlas
    • Labels:
    • Last comment by Customer:
      true

      Description

      As per the documentation, the free tier limits the name of the database to 63 bytes.
      https://docs.atlas.mongodb.com/create-new-cluster/#atlas-free-tier

      When I try this on Atlas free tier the error says Max database name length is 38 bytes.

      Cluster0-shard-0:PRIMARY> use TEST_18c03cb3-8e88-48a3-904b-e2672659532e
      switched to db TEST_18c03cb3-8e88-48a3-904b-e2672659532e
      > db.coll.insert({a:1})
      WriteResult({
      	"writeError" : {
      		"code" : 8000,
      		"errmsg" : "Database name TEST_18c03cb3-8e88-48a3-904b-e2672659532e is too long.  Max database name length is 38 bytes."
      	}
      })
      > 
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vigyan.jain Vigyan Jain (Inactive)
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              3 years, 51 weeks, 6 days ago
              Date of 1st Reply: