knowledge base scaling