Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Assessment
Workspace Domino
Categories Administration
Created by Guest
Created on Jan 16, 2019

"dbcache flush <databasename>"

Sometimes a database cannot be deleted while it is opened in the Domino database cache. An admin can issue a ""dbcache flush" for this case, but this clears the cache completely.

The enhancement would be an option to remove only specific databases from cache.

This would also enhance the on-line maintenance capabilities, where we also recommend to flush this cache before dbmt runs.

  • Attach files
  • Guest
    Feb 16, 2021

    The "drop dbnames.nsf" does not work for most cases. But maybe I do wrong.

    Clustered mail-db, on one server

    1 - mark replica as "out of service"

    2 - drop user

    3 - drop database

    Database cannot be deleted and is still cached (dbcache show)

  • Guest
    Feb 20, 2020

    Thanks Daniel, indeed I was not aware about the drop command.

  • Guest
    Feb 17, 2020

    Ooops without reading my own comment I wrote something similar again ..

    -- Daniel

  • Guest
    Feb 17, 2020

    you can use drop db.nsf

    this is what also DBMT does if a database is in use. You even see the command on the console when DBMT runs.

    On C-API I am using NSFDelete first and if that isn't successful I am taking the database offline.  This helps in most cases to delete the database.


    But if the database is in use by a user/server a "drop" and also taking the database off-line will not always work.


    You should try the "drop db.nsf"


    [ Daniel Nashed / HCL Grandmaster / ]

  • Guest
    Jan 20, 2019

    Daniel Nashed: You don't need to remove it from dbcache to do a copy-style compact.

    You need to close the database itself. This can be done via "drop db.nsf"
    The drop works for users and also for databases and is used by DBMT to get a database compacted.

    You can see the commands invoked on the console when DBMT detects that the DB is in use :-)

    There is a difference between open databases and databases in dbcache.

    Try the following to see the details:

    a.) dbcache show

    b.) show dbs

    And than try dbcache flush and drop db.nsf..

    Does this help? Do you still think we need dbcache flush work on single databases?

    -- Daniel

  • Guest
    Jan 17, 2019

    Torsten Link: fully agree with this request. Great Idea.