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

Database Name size in Atlas - Free tier

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Atlas

    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

            Unassigned Unassigned
            vigyan.jain@mongodb.com Vigyan Jain (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 28 weeks ago