Every time you ask a voice assistant a question, get a fraud alert from your bank, or receive a product recommendation while shopping online, you are seeing artificial intelligence quietly working with massive amounts of stored data. Behind much of this lies a partnership between two technologies that grew up separately but now work hand in hand: artificial intelligence and database management systems. For students of library and information science, understanding how AI reshapes the way databases store, retrieve, and reason about data is no longer optional. It is becoming central to how information is organised and used. This post breaks down what AI is, how expert systems capture human knowledge, and why their combination with databases is transforming data-driven decision-making.
Table of Contents
- What is artificial intelligence?
- How AI connects to databases
- What are expert systems?
- The core components of an expert system
- How the inference engine reasons
- A landmark example: MYCIN
- AI in database management
- From manual administration to self-managing systems
- Smarter data analytics and decision-making
- Where this matters for information work
- Bringing it together
What is artificial intelligence?
Artificial intelligence is a branch of computer science focused on building systems that can perform tasks normally requiring human intelligence. These tasks include reasoning, learning from experience, recognising patterns, understanding language, and making decisions. Rather than following only fixed instructions, AI systems can adapt their behaviour based on the data they process.
Within AI, there are several approaches. Machine learning lets systems improve automatically by learning from data instead of being explicitly programmed for every situation. Knowledge-based systems, on the other hand, rely on carefully encoded human expertise in the form of facts and rules. Both approaches matter for databases, but they work differently. Machine learning thrives on large datasets and statistical patterns, while knowledge-based systems depend on structured human knowledge. Expert systems, which we will discuss shortly, belong to this second family.
How AI connects to databases
Databases store huge volumes of information, but storage alone does not create insight. This is where AI enters. The integration of AI and database technologies has become a significant trend, with researchers noting that combining the two is crucial for the continued development of database management technology and for handling the growing scale of data. The motivation is simple: organisations need access to large amounts of shared data, efficient management of that data, and intelligent processing that produces useful conclusions.
Modern databases increasingly use AI to automate work that database administrators once did by hand. According to industry analysis, the primary role of AI in databases is to automate previously manual tasks such as indexing, query optimisation, and predictive analytics, which improves both efficiency and reliability. These AI-powered systems learn from past query executions and adjust their strategies over time, effectively becoming more efficient the more they are used.
What are expert systems?
An expert system is a type of AI program designed to simulate the decision-making ability of a human expert in a specific field. Instead of trying to be intelligent about everything, an expert system focuses narrowly on one domain, such as diagnosing infections or identifying mineral deposits, and applies stored human expertise to solve problems within that domain.
It is worth being precise about what these systems actually do. As one academic overview explains, expert systems do not replicate human thought processes; instead they deliver expert-level outcomes by applying stored knowledge to particular challenges in a defined domain. The expertise comes from human specialists, and the system simply applies it consistently and tirelessly.
The core components of an expert system
Most expert systems are built from a few key parts that work together.
Knowledge base: This is the heart of the system. It stores domain-specific facts and rules, usually represented as if-then statements. The knowledge base is created by human experts and contains both declarative knowledge (facts about the domain) and procedural knowledge (rules and heuristics for solving problems).
Inference engine: This is the reasoning component, often described as the brain of the system. The inference engine applies logical rules to the knowledge base to deduce new information, and this process repeats as each new fact can trigger further rules. It decides which rules and facts are relevant to the problem at hand.
User interface: This allows a non-expert user to interact with the system, ask questions, and receive answers in an understandable form.
Explanation module: A defining feature of expert systems is that they can justify their conclusions. This module explains how the system reached its decision, which builds user trust and helps with debugging.
Knowledge acquisition module: This component allows the system to gather new information from various sources and add it to the knowledge base, keeping the system current.
How the inference engine reasons
The inference engine uses two main reasoning strategies. In forward chaining, the system starts with known facts and applies rules to infer new facts until it reaches a goal. This is useful for situations where you have data and want to see what conclusions follow. In backward chaining, the system starts with a hypothesis or goal and works backwards to check whether the available facts support it. This suits diagnostic problems where you want to test a specific possibility. A useful design principle behind these systems is that the knowledge base is kept separate from the reasoning mechanism, which makes the system more modular and easier to reuse across different problems.
A landmark example: MYCIN
The most famous early expert system is MYCIN, developed at Stanford University in the 1970s. It was designed to diagnose bacterial infections of the blood and to recommend antibiotic treatment. MYCIN is significant for several reasons that still matter today. It used a rule-based architecture with roughly 500 if-then rules and applied backward-chaining reasoning to arrive at conclusions.
Crucially, doctors often have to act on incomplete information, since laboratory tests can take days. MYCIN handled this by incorporating a system of certainty factors to represent uncertainty, and in testing it performed as well as some specialists and considerably better than junior doctors. During its development, researchers recognised the importance of separating the knowledge base from the inference engine. This insight led to EMYCIN, a domain-independent version that became the forerunner of expert system shells, which are reusable frameworks for building new expert systems without starting from scratch. Other notable systems followed, including PROSPECTOR for mineral exploration and CADUCEUS for medical diagnosis covering hundreds of diseases.
AI in database management
Now we can connect the threads. Databases are essentially structured collections of facts, while expert systems and AI are about reasoning over facts to reach conclusions. When these come together, databases stop being passive stores of information and become active partners in decision-making.
From manual administration to self-managing systems
Traditionally, database administrators spent enormous effort tuning performance, building indexes, and detecting problems. AI is changing this. Modern databases are evolving into systems that can automatically tune their own performance and detect issues, freeing administrators to focus on higher-value work. Some systems even apply expert-system thinking directly. Research describes database management systems with virtual administration where an AI component draws on a knowledge base to identify candidate resolutions to a problem, selects the one with the highest confidence of success, and updates the knowledge base afterwards. This is the expert-system pattern applied to database health: detect, reason, recommend, and learn.
Smarter data analytics and decision-making
The combination of AI and databases is most powerful in analytics. Instead of users writing complex queries and interpreting raw results themselves, AI-enhanced databases can recognise patterns, make predictions, and surface insights. Academic work on autonomous databases notes that AI both augments database functionality to support in-database analytics, such as predictions and recommendations, and empowers the database to optimise itself with minimal human intervention. For an information professional, this means a library catalogue or research repository could suggest relevant resources, predict demand for materials, or flag data quality issues automatically.
Expert-system principles also improve how users interact with data. Some AI-driven database designs maintain a record of a user’s past instructions and store this as knowledge in a knowledgebase to anticipate the user’s future intentions and even assemble SQL statements automatically. In effect, the system learns each user’s habits and helps them retrieve what they need faster.
Where this matters for information work
For those managing information services, these developments have practical consequences. Decision support becomes more accessible, since AI can analyse usage data and recommend collection development choices. Retrieval becomes more intelligent, as systems learn from query patterns. Routine maintenance shrinks, because self-tuning databases handle optimisation on their own. At the same time, the expert-system tradition reminds us of an enduring strength: the ability to explain decisions. As databases grow more autonomous, the demand for transparency and accountability in how conclusions are reached will only increase.
It is also worth keeping limitations in mind. Expert systems require careful, time-intensive knowledge acquisition from human specialists, and their knowledge bases must be continuously updated to stay accurate. MYCIN itself was never put into routine clinical use, partly because of the difficulty of keeping its knowledge current with new diseases and treatments. The lesson holds for any AI-and-database system: the technology is only as good as the knowledge and data feeding it.
Bringing it together
Artificial intelligence gives databases the ability to reason, learn, and adapt. Expert systems show how human knowledge can be captured in a structured, explainable form using a knowledge base and an inference engine. When these ideas are applied to database management, the result is systems that not only store data but actively help us understand it, optimise themselves, and support better decisions. For information professionals, this shift represents both an opportunity and a responsibility to manage these intelligent systems wisely.
What do you think? If an AI-powered database can automatically tune itself and recommend decisions, how should information professionals balance trusting the system with maintaining human oversight? And in your view, is the explainability of older expert systems something modern AI databases should preserve, even at the cost of some automation?
References
- https://ideas.repec.org/a/sko/yrbook/v18y2020i1p303-326.html
- https://www.pingcap.com/article/understanding-ai-in-database-management-transforming-dbms/
- https://www.ebsco.com/research-starters/computer-science/artificial-intelligence-expert-systems
- https://en.wikipedia.org/wiki/Inference_engine
- https://www.engineeringenotes.com/artificial-intelligence-2/expert-systems/examples-of-expert-systems-artificial-intelligence/35518
- https://www.sciencedirect.com/topics/computer-science/medical-expert-system
- https://www.techtimes.com/articles/309736/20250321/ai-machine-learning-database-management-studying-trends-applications-nithin-gadicharla.htm
- https://image-ppubs.uspto.gov/dirsearch-public/print/downloadPdf/11727288
- https://arxiv.org/pdf/2408.03013
- https://image-ppubs.uspto.gov/dirsearch-public/print/downloadPdf/12038931

Leave a Reply