disableActivePartition
Syntax
disableActivePartition(dbHandle)
Arguments
dbHandle is the handle of the historical database.
Details
Cancel the connection between the active database and the historical database.
Examples
histdb = database("C:\DolphinDBDemo\example\data\dbspace\historical-A\Trades2ndDomain")
activeNodeAlias = getNodeAlias()
activeDate = today()
enableActivePartition(histdb, activeDate, activeNodeAlias);
disableActivePartition(histdb);