refactor DbShardInterceptor