[SERVER-2623] diffrentiate between special dbs (admin, local) and normal dbs Created: 24/Feb/11  Updated: 10/May/22

Status: Backlog
Project: Core Server
Component/s: Shell
Affects Version/s: 1.6.5
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: pablo platt Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Unresolved Votes: 1
Labels: move-sa, neweng, platforms-re-triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

The 'local' and 'admin' dbs are different than user created dbs but it is not clear in the shell.
For beginners it is confusing.
I wanted to delete all dbs but didn't remember what dbs where created by mongodb and what will happen if I'll delete them.

Is it possible to separate between them in the shell?
Options:

1. Add an asterisk near the name of a special db

  • admin
  • local
    mydb1
    mydb2

2. print a title for the special dbs and user created dbs:
system dbs
----------------
admin
local

normal dbs
---------------
mydb1
mydb2

3. show dbs will show user created dbs and show sysdbs will show the special dbs..



 Comments   
Comment by Steven Vannelli [ 10/May/22 ]

Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions.

Generated at Thu Feb 08 03:00:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.