public String getTableName(Model model) {
        if (!model.isTimeSeries()) {
            return "management";
        }
        if (!logicSharding) {
            return model.isMetric() ? "metrics-all" :
                (model.isRecord() && !model.isSuperDataset() ? "records-all" : model.getName());
        }
        String aggFuncName = FunctionCategory.uniqueFunctionName(model.getStreamClass());
        return StringUtil.isNotBlank(aggFuncName) ? aggFuncName : model.getName();
    }
Init in StorageModuleElasticsearchProvider.prepare() and the value from the config.
oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/IndexController.java