scieee AI-readable full text Open interactive document viewer

Trust-Aware Database Intelligence (TADI): Embedding Explainable AI into DB Management Decisions with Resilient Dataflow Intelligence

Ekechi, Chijioke Cyriacus; Popoola, Emmanuel T; Ademoye, Abdullateef Akorede; Idowu, Moyinoluwa Emmanuel; Saliu, Ayodeji S; Osayuki, Lucky Anthony; Abbah, Pearl Ibom

Abstract

Modern database management systems increasingly rely on artificial intelligence to carry out automated processing within query optimisation and resource allocation, as well as system tuning. However, the obscurity of such AI-based choices artificially also entails significant resistance to trust among database administrators, creating a pane in the wall to system trust and reliability. This paper suggests introducing a new framework called Trust-Aware Database Intelligence (TADI), which combines explainable AI (XAI) and robust data-flow administration, enabling transparent, reliable, and fault-tolerant database processes. We explore the intersection of XAI methods, learned components of a database, and failure-transparent streaming systems, thus coming up with an all-inclusive approach to building both intelligible and resilient database systems. The framework deals with the major issues in automated database tuning, query optimisation, and stateful information-flow recovery without eliminating human control by understandable decision processes. We define architectural patterns, metrics of trust, quantification of metrics, and pragmatic implementation plans, and show how TADI can enhance operational trust and system resilience in production database settings.

Full text

 Corresponding author: Chijioke Cyriacus Ekechi. Copyright © 2025 Author(s) retain the copyright of this article. This article is published under the terms of the Creative Commons Attribution License 4.0. Trust-Aware Database Intelligence (TADI): Embedding Explainable AI into DB Management Decisions with Resilient Dataflow Intelligence Chijioke Cyriacus Ekechi 1, *, Emmanuel T. Popoola 2, Abdullateef Akorede Ademoye 3, Moyinoluwa Emmanuel Idowu 4, Ayodeji S. Saliu 5, Lucky Anthony Osayuki 6 and Pearl Ibom Abbah 7 1 Department: Electrical and Computer Engineering, Tennessee Technological University. 2 Department of Computer Science; Faculty of Engineering and Technology, Ladoke Akintola University of Technology. 3 Department of Computer Science Faculty: Faculty of Science University: University of Lagos. 4 Department of Computer Science Faculty of Engineering and Technology; Ladoke Akintola University of Technology 5 Department of Computer Science, Faculty of Science, Adekunle Ajasin University, Akungba Akoko, Ondo state. 6 Department of Economics and Finance, Faculty of mgt, law and social sciences, University of Bradford. 7 Department of Computer Science, Faculty of School of Science, Engineering and Technology University; Saint Monica University, Buea. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 Publication history: Received on 17 September 2025; revised on 25 October 2025; accepted on 27 October 2025 Article DOI: https://doi.org/10.30574/gjeta.2025.25.1.0312 Abstract Modern database management systems increasingly rely on artificial intelligence to carry out automated processing within query optimisation and resource allocation, as well as system tuning. However, the obscurity of such AI-based choices artificially also entails significant resistance to trust among database administrators, creating a pane in the wall to system trust and reliability. This paper suggests introducing a new framework called Trust-Aware Database Intelligence (TADI), which combines explainable AI (XAI) and robust data-flow administration, enabling transparent, reliable, and fault-tolerant database processes. We explore the intersection of XAI methods, learned components of a database, and failure-transparent streaming systems, thus coming up with an all-inclusive approach to building both intelligible and resilient database systems. The framework deals with the major issues in automated database tuning, query optimisation, and stateful information-flow recovery without eliminating human control by understandable decision processes. We define architectural patterns, metrics of trust, quantification of metrics, and pragmatic implementation plans, and show how TADI can enhance operational trust and system resilience in production database settings. Keywords: Explainable AI; Database Management Systems; Trust Metrics; Dataflow Resilience; Automated Tuning; Query Optimisation; Checkpoint Protocols; Self-Tuning Databases 1. Introduction Introducing machine learning methods to database management systems has radically changed the way in which the databases are self-negotiating and adjusting to current trends in workload [1]. Modern database systems are gradually using artificial intelligence to make critical operational decisions, including query optimisation, index choice, resource distribution, and performance tuning [2]. This paradigm shift has hence given rise to learned database elements that are a semblance of the traditional rule-based algorithmic, and in their place are data-governed forms to absorb workload patronising patterns [3]. Among them are studied index structures which swap the orthodox B-trees with neuralnetwork approximations and reinforcement-learning agents that auto-optimise configuration parameters; database intelligence based on artificial intelligence provides unprecedented automation and performance optimisation [4]. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 248 However, this change also creates an important paradox: databases get improved by becoming increasingly intelligent as they integrate machine-learning algorithms, which is why, at the same time, they are becoming less visible to the human professionals tasked with their management, maintenance, and availability [3]. The privacy of such decisions made through AI creates a wall of trust among administrators of any database and therefore compromises the reliability of systems in any production setting [5]. An example is that, when a learnt query optimiser chooses an execution plan that uses neural cost estimation, or when an autotuning system is adjusting important buffer pool sizes, the lack of explainability creates significant operational risk and thus causes many organisations not to go all the way with AI-controlled database automation despite the established performance benefits [6]. The explanation tends to be interpretable since users of the automated decision systems need to align algorithmic results with their domain expertise and predefined limits, but at the same time, present-day data-sensitive database functionalities seldom provide information on why particular Automated decisions have been made [7]. This lack of transparency worsens the urgent need for robustness in modern distributed databases and streaming data flow systems that support real-time analytics and mission-critical operations [5]. As businesses develop into cloud-native architectures with temporal infrastructure and deploy real-time analytics based on distributed streaming systems (e.g., Apache Flink), the interdependence between AI-driven optimisation and fault tolerance becomes increasingly complex [8]. Recent advances, such as Resilient Dataflow Intelligence (RDI) demonstrate how proactive anomaly anticipation can reinforce the robustness of database dataflow operations under uncertain workloads [26]. Stateful streaming engines must maintain exactly-once processing and ensure data integrity in the event of node failures, network partitioning, or exhausted resources, which necessitate sophisticated checkpoint coordination and state recovery policies [5]. However, their opaqueness ensures that the policies that dictate the frequency of checkpoints, the location plans of states and how to orchestrate failures are normally controlled through obscure algorithms that do not provide much insight into their trade-off calculation of recovery time goals along with checkpoint overhead [9]. Recent advances in explainable database management have started addressing specific aspects of this dilemma using interventions that are specific to query optimisation and configuration tuning [3]. The robust and interpretable query optimisation studies by Chang create uncertainty quantification and feature attribution in the learned cost models, which allows operators to identify the biggest impact of the data attribute on the plan selection [4]. The PromiseTune system utilises causal discovery to single out true causal associations between configuration parameters and efficiency measurements, to sieve out counterfeit relations and provide a serviceable understanding of which parameters to rescue [6]. Similarly, the explainability in the noisy cloud setting is also discussed by the TUNA system, which provides powerful statistical methodologies and explainability of configuration recommendations in the presence of measurement uncertainty [7]. The GEX frameworks explain explainable AI to be a secondary aspect of the framework of experts, DBAs, which produces readable presumptions of opportunities for tuning of knowledge, which can be confirmed and currently enhanced by experts [8]. However, these solutions that are domain-specific target only isolated parts, and they do not suffice to provide an overall framework for an intelligent, trustworthy database across all the areas of operations [10]. Explainable artificial intelligence is necessary to apply database management purposes beyond operational transparency to the requirements of trust, accountability, and human control over automated decision-making systems [11]. Recent questionnaires on explainable artificial intelligence highlight the point that interpretability is not merely a preferable feature but an absolute necessity to apply machine learning models in high-stakes situations in which the implications of the final decisions are high [1]. In database settings, these consequences become manifest as loss of data, failure of services, vulnerability to infections and non-compliance with regulations. Human understanding of automated decisions should be understood and approved by humans before adoption [12]. This explainable AI research community has driven together an entire toolkit of interpretability techniques, such as feature-attribution techniques, counterfactual explanations, attention mechanisms, and causal inference techniques [13]. The researchers, however, are yet to resolve the issue of adapting these general-purpose XAI methods to address the specific problems of database management: discrete optimisation decision-making, continuous responses, temporal relationships and multi-objective trade-offs [14]. The database domain has unusual explanatory needs which are not similar to those that have been experienced in other applications of machine-learning, including image recognition or natural-language processing, resulting in specialised strategies to interpretability customised to the needs of what database processes do [10]. Reliance on the automated Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 249 database systems is based on a process of elasticity of other factors such as reliability, openness of choices, manageability by the humans and where it meets the organisational values and mission of that organisation [15]. To the database administrator, the cultivation of trust in the system is reached via expected system performance, decisions that can be explained by suggesting reasons that knowledgeable intuition can focus on, and checks that AI suggestions will maximise the desired measurements without raising unwanted side effects [16]. Nevertheless, modernday database systems do not offer formal tooling for measurement, monitoring, and regulating trust across time frames; operators are therefore unaware of formalised trust measures that are based on metrics of measurement of decisions, usefulness of a given explanation and performance of a given operation [15]. The resilience aspect of modern-day database systems adds further weight to the investigation of the explainability challenge, where choices made on fault resilience have to meet conflicting goals in uncertain environments while maintaining the transparency of the system [5]. Frameworks of resilience in artificial intelligence systems highlight contingency plans for graceful degradability, adaptable recuperative methods, and what is also called fault transparency, which is the aptitude of a framework to explain the type of failure, its causative factors, and its recovery course [11]. In distributed stateful data-flow architectures, these concepts are represented as definable optimisations of checkpoints, in which the trade-off between snapshot overhead and recovery latency is clearly distinguished [9]. The checkpoint interval optimisation model provides quantitative behaviours upon which resilience parameters are calibrated, but does not offer explanatory processes that justify why certain interval lengths should be optimal for a given workload behaviour [14]. Comparative analyses of checkpoint procedures outline the trade-offs between various methods of recovery but fail to make the actual decision-making process understandable to operators [17]. Recent advances in disaggregated state control of Apache Flink 2.0 show how the computational (or online) separation of state storage may promote resilience and scalability; however, such advanced designs face new orchestration decisions regarding the location of state, its replication, as well as access actions that demand explicable automation [18]. When problems occur in production streaming pipelines that handle millions of events each second, operators need to be able to immediately understand the rationale behind the chosen recovery strategy, the state maintained, and the consistency guaranteed [19]. The universe of AI-inspired optimisation and cheat-spread diets poses a decisive challenge to building database systems that are intelligent, hardy, and interpretable simultaneously [20]. The Trust-Aware Database Intelligence (TADI) approach addresses these multimodal issues by thoroughly integrating explainability into every layer of AI-based database decision-making and promoting data-flow functionality with an understandable fault-management scheme [1]. Building upon foundational work in explainable artificial intelligence [13] and recent advancements in explainable database management, TADI introduces an end-to-end architectural blueprint composed of four coupled layers: • An explainable decision layer that adapts XAI methods to database-specific optimisation tasks, e.g., query-plan elucidation, configuration tuning, and resource allocation [4] • A trust quantification layer that formally models and monitors confidence in AI components, addressing the principles of uncertainty and digital trust through defined metrics. By integrating these components in a compatible and cohesive manner, TADI enables database systems to achieve both the performance enhancements of AI-driven automation and the benefits of transparency, controllability, and human oversight, qualities that remain essential when deploying systems in high-stakes environments. The rest of this paper systematically formulates the TADI framework, proposes formal trust-quantification mechanisms and domain-specific explainability techniques, discusses pragmatic implementation concerns, evaluates resilient data-flow intelligence under operational failures, and outlines evaluation methodologies for identifying reliable database intelligence systems. 2. Related work 2.1. Explainable AI Foundations The explainable artificial intelligence field of study has emerged as a fundamental retaliation to the black box aspect of modern machine learning systems [1]. The article by Samek et al. provides an extensive overview of methods of XAI, which includes layer-wise relevance propagation, attention mechanisms, and counterfactual explanations [17]. Such basic methods provide principles of interpretability beyond those of image classification and natural language processing, into formal decision-making fields of analysis, like database management. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 250 Recent systematic reviews describe XAI techniques in a variety of aspects: local or global, model-agnostic, or modelspecific, and post-hoc or intrinsically interpretable methodologies [18], [19]. However, in the database application setting, this was mostly a problem in refining these techniques to explain discrete optimisation choices, such as query plans and index selections, but also continuous parameter choices, such as buffer sizes and checkpoint intervals, at the same time remaining efficient to compute in production systems [10]. 2.2. Learned Database Components The ground-breaking study by Kraska et al on learned index structures has demonstrated that machine-learning models can replace standard database components with data-dependent alternatives, with a dependency on patterns of distribution [2]. This paradigm shift has now been the query optimisation, where learned cost models can replace handwritten selectivity estimators and cardinality predictors [4]. However, these learned components lead to issues of explainability: when a learnt index makes a bad prediction, or when a neural cost model is attracted to a suboptimal plan, operators need diagnostic instruments to determine how the failure has occurred. The limitations of this weakness are alleviated by the research by Chang on robust explainable query optimisation cost models because the models incorporate uncertainty quantification and feature attribution as part of the learnt optimisers [4]. The model also provides measures of confidence alongside cost estimates and defines the statistical characteristics of data that have the greatest effect on the choice of the plan, hence enabling the DBAs to signal when the model is disregarding its training distribution. 2.3. An explainable Database Tuning. Recent research focused on explainability in database configuration tuning [3], [8]. The promiseTune scheme uses causal discovery to establish which configuration parameters contribute to performance measures in a real sense, and as such capable of doing away with spurious correlations that plague traditional autotuning models [6]. PromiseTune provides DBAs with guidance that is interpretable, telling them what knobs to adjust and why they tend to affect the behaviour of a system as they do, caused by graffiti. TUNA is faced with the issue of noisy and unpredictable cloud environments where performance readings are highly volatile [7]. The system relies on powerful statistical methods and provides reasons why certain settings are suggested, in the face of measurement error, thus improving the confidence of operators to tune the recommendations to particular settings with responsible emotion in unstable deployment environments. The GEX frameworks consider explainable AI as an assistant to skilled DBAS, and not a replacement and yield explainable conjectures about the possibilities of tuning that well-seasoned dear ones may, in their turn, justify and finetune [8]. Such a human-in-the-loop approach matches the goals of trust building since it upholds the status of an expert agency and improves its capacities. 2.4. Initial Systems Veresov et al. provide an analysis of failure transparency in stateful dataflow systems like Apache Flink that discusses formally the conditions that allow it to restore failure without violating exactly-once processing guarantees [5]. Their works can be seen as laying theoretical frameworks to understand the trade-offs between checkpoint overhead and recovery time; however, without clauses to make their trade-off decisions explainable to the people operating. Along the continuum of disaggregated state management of Flink 2.0, more recent developments have revealed an architectural change to more resilient and scalable streaming platforms [16]. These systems make the state storage decoupled, allowing faster failover and more flexible resource allocation, but add more complexity to managing distributed state that requires explainable orchestration strategies. The quantitative framework of tuning of the resilience parameters provided by Jayasekara in his model of checkpointinterval optimisation [14] and comparative evaluations of the checkpoint protocols [15] are still inadequate in providing insight about why a specific selection of intervals needs to be optimal to the specific workload nature. 2.5. Trust in AI Systems The theoretical background of digital trust [21] and the empirical studies about trust in AI decision-making [22] provide the dimensions of trust-quantification of TADI. There are several factors which give rise to trust, such as reliability, transparency, controllability, and pythagree with human values [20]. Trust in the context of database systems is Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 251 expressed through the form of consistent performance, (explainable) decisions, predictability in failure treatment, as well as the ability to verify that the AI suggestions do not contradict the operational aims. Taxonomies of failure modes and recovery strategies presented in resilience systems of AI systems [11] and smart services [23] provide inputs to the resilient action dataflow components of TADI. Requested a discrete generative AI. The step towards the application of explainable resilience in critical dataflow infrastructure is the integration of generative AI with digital-twin technologies to disaster management [24]. 3. Tadi architectural framework The Trust-Aware Database Intelligence framework comprises four integrated layers that collectively enable explainable and resilient database operations (Fig. 1). Each layer builds upon established XAI principles while addressing domainspecific requirements of database management systems. Figure 1 Trust-Aware Database Intelligence (TADI) Framework “A clean, professional schematic diagram of a multi-layer architecture labelled ‘Trust-Aware Database Intelligence (TADI) Framework’. Four stacked layers: Decision Layer (query plan explainer, tuning advisor, resource allocator), Trust Layer (confidence estimator, trust tracker, human override), Resilience Layer (checkpoint optimiser, failure predictor, recovery planner), and Validation Layer (decision auditor, trust calibrator, explanation quality assessor). Use modern flat design, blue and white theme, tech icons for each component, and connecting arrows showing data and explanation flow.” 3.1. Architecture Overview Table 1 summarises the core components of the TADI architecture and their primary functions. The framework adopts a modular design that allows selective deployment of components based on operational requirements and system characteristics. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 252 Table 1 Tadi architectural components Layer Component Primary Function XAI Technique Decision Layer Query Plan Explainer Interpret optimiser choices Feature attribution, counterfactuals Decision Layer Tuning Advisor Configuration recommendations Causal inference, what-if analysis Decision Layer Resource Allocator Memory/CPU distribution Decision trees, rule extraction Trust Layer Confidence Estimator Decision certainty quantification Uncertainty quantification, ensemble variance Trust Layer Trust Tracker Historical reliability monitoring Temporal trust models, drift detection Trust Layer Human Override Controller Expert intervention handling Interactive ML, active learning Resilience Layer Checkpoint Optimizer Adaptive checkpoint intervals Explainable RL, reward decomposition Resilience Layer Failure Predictor Proactive failure detection Attention mechanisms, anomaly attribution Resilience Layer Recovery Planner Failover strategy selection Strategy explanation, cost-benefit trees Validation Layer Decision Auditor Post-decision analysis Counterfactual outcome evaluation Validation Layer Trust Calibrator Trust metric adjustment Trust-performance correlation Validation Layer Explanation Quality Assessor XAI output validation Human evaluation protocols 3.2. Explainable DB Intelligence Variations of core database intelligence elements that are enhanced with explainable artificial intelligence (XAI) are integrated into the decision layer. In contrast to the traditional learned database systems that strive to achieve the best views of the prediction in isolation, the TADI components are tightly coupled to achieve the best system performance and explanatory fidelity. 3.2.1. Query Plan Explainer A query optimiser generates an execution plan; the complementary explanation component provided by the explainer reports a range of complementary explanations [4]: 3.2.2. Feature Attribution Determines which statistics in a table, the values of all join cardinalities, and selectivity estimates have the biggest impact on the choice of plan. 3.2.3. Counterfactual Analysis Presents alternate courses of action that a counterfactual agent would have chosen, witnessing minuscule altered depictions (e.g.). Like the FFE, the cost decomposition method targets the optimisation bottleneck by disaggregating the overall cost estimation into understandable sub-parts of the cost, like I/O cost, CPU cost, and network cost. Recent studies such as ChatGPT and the Future of Generative AI [28] detail how transformer-based architectures and attention mechanisms enable contextual reasoning and counterfactual explanations, which inform the generative explainability capabilities within TADI’s decision layer.” Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 253 3.2.4. Tuning advisor This builds on other autotuning systems by adding the property of causal explainability [6]. The advisor, rather than just telling you to change the values of different parameters, builds causal graphs indicating how different parameters depend on each other, and explaining what he is doing and why: 3.2.5. Causal Pathways Visualises the effects of changing the values of shared buffers on the cache hit ratio, which then affects the latency of querying. 3.2.6. Promising Regions Filters configuration space through double crisis DoOud validated succinctly promising regions that deliver cause-andeffect validated patterns of performance enhancement. 3.2.7. Confidence Intervals This provides prediction limits on the anticipated performance variations to provide achievable expectations. Resource Allocator: Manages resources in data parts, which include memory, CPU and network by utilising readable decision-making procedures. The allocator uses decision trees or rule-based, which may be directly inspected and verified by the operators [10]. 3.3. Trust Layer: Measuring and monitoring Confidence. The layer of trust realises the formal measures of trust and supervising strategies that determine operator trust in the AI decision-making process. Based on digital trust schemes [21], trust is a complex measure, a construct of reliability, explainability quality and human alignment. This aligns with the collaborative and privacy-preserving multi-agent frameworks introduced in Collaborative Intelligence Databases (CID) [27], which highlight the value of shared intelligence and coordinated trust across distributed database ecosystems. 3.3.1. Confidence Estimator Calculates decision-specific confidence scores using ensemble variance, prediction intervals and out-of-distribution diagnosis. Any given automated decision that the estimator provides: 3.3.2. Epistemic Uncertainty This is the uncertainty of models due to the exploration of training data that is not exhaustive. 3.3.3. Characteristic of random perturbations Uncertainty Represents stochasticity in model behaviour. 3.3.4. Distribution Distance Characterises variations on the current conditions versus training situations. 3.3.5. Trust Tracker Manages time-dependent trust profiles of every AI component by tracking past accuracy, quality of explanation, or operator content [22]. The tracker adopts decay functions to debase trust in cases where predictions prove to be erroneous and enhance trust when an explanation is consistent with professional rudimentum. 3.3.6. Human Override Controller Applies interactive machine-learning patterns enabling DBA to adjust AI decision vaccinations to retain acquired knowledge. Upon operators directing the automated decisions, the controller records the reasons as well as retraining models to reflect human desires [8]. 3.4. Resilience Layer: Failure Isaac Dataflow Intelligence. The resilience layer targets stateful streaming systems, where a recovery aim needs to be compromised with a checkpoint overhead to maintainability [5], [16]. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 254 3.4.1. Checkpoint Optimiser Dynamically changes checkpoint periods irrespective of the workload properties and predictive failure [14]. The optimiser uses explainable reinforcement learning, which breaks down reward functions into understandable parts: 3.4.2. Impact of State Size Shows the scale of overhead of checkpoints with the volume of states they will operate within. 3.4.3. Failure risk assessment Discusses the benefits of shortening periods of instability which is detected. 3.4.4. The recovery time Projection Estimates the time required to recover the different checkpoint strategies. 3.4.5. Failure Predictor Past failures are predicted based on attention-based approaches that identify metrics that get priority based on the increased risk of failure [11]. Causes of high risk are revealed in terms of saying whether high risk results from resource depletion, excessive workloads, or infrastructural degradation. 3.4.6. Recovery Planner Chooses the strategies of failing over based on failure-mode categorisation and provides cost-benefit justification of the choice of recovery actions [25]. The planner will differentiate between fast failover with possible reprocess of the data and slower data recovery to ensure consistency. 3.5. Validation Layer: Trustworthy Operation. The validation layer offers feedback mechanisms to the incorporators to evaluate how XAI techniques can generate truly useful explanations, whether the metrics of trust are under reasonable assumptions as to system reliability. 3.5.1. Decision auditor The post-hoc analysis of the automated decisions is performed by comparing the predictive results against the observed outcome and making counterfactual assessments of non-optimal decisions [3]. 3.5.2. Trust Calibrator Lays trust scores to actual decision quality to promote constant calibration of trust measures. In cases where the trust scores predict reliability systematically and in featuring prickly situations, the calibrator modulates the underlying trust models. 3.5.3. Explanation Quality Assessor Rates XAI-generated explanation on human-evaluation activities and automeasures like explanation stability, consistency, and compliance with expert mental models [18]. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 255 4. Trust quantification and explainability mechanisms 4.1. Multi-Dimensional Trust Model Figure 2 A futuristic dashboard interface for trust quantification in an AI-driven database “A futuristic dashboard interface for trust quantification in an AI-driven database. Include circular meters or a radar chart for four trust dimensions: Reliability, Explainability, Controllability, and Alignment. Show numerical trust score (e.g., 0.87). Use soft blue and white tones, digital display elements, and clear labels like ‘Trust Tracker – Confidence Over Time’. Professional UI/UX visualisation style.” TADI employs a multi-dimensional trust model adapted from digital trust frameworks [21] and AI trustworthiness research [22]. We define trust as a weighted composite of four dimensions: where: • Reliability (historical accuracy of predictions and decisions) • Explainability (quality and usefulness of explanations provided) • Controllability (responsiveness to human oversight and corrections) • Alignment (consistency with expert judgment and organisational policies) are operator-specified weights that reflect organisational priorities Each dimension is quantified through measurable sub-metrics detailed in Table 2. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 262 • Frequency of catastrophic misconfigurations • DBA time spent investigating automated decisions • Overall system availability and performance 7.2. Explanation Quality Assessment Following established XAI evaluation frameworks [18], we assess explanation quality through multiple lenses Table 7 Explanation quality metrics Quality Dimension Metric Measurement Method Target Threshold Fidelity Agreement with the model Explanation-model decision alignment > 95% agreement Consistency Cross-method agreement Correlation between explanation types > 0.80 correlation Stability Robustness to perturbation Explanation change under 5% input variation < 15% change Completeness Coverage of factors Proportion of decision factors addressed > 90% coverage Comprehensibility Human understanding Expert rating (1-5 scale) Mean > 3.5/5.0 Actionability Decision support utility Frequency of explanation-guided actions > 60% utilisation Correctness Accuracy of causation Validation through controlled experiments > 85% causal accuracy Efficiency Generation latency Time to produce an explanation < 100ms for Level 12 7.2.1. Human Evaluation Protocol Recruit expert DBAs to evaluate explanation quality through structured tasks: • Present 50 automated decisions with TADI explanations • Ask experts to predict decision outcomes based on explanations • Compare expert predictions to actual outcomes (measures comprehensibility and correctness) • Collect ratings on explanation usefulness (measures actionability) 7.3. Time experts’ decision validation tasks (measures efficiency) 7.3.1. Resilience Improvement Measurement For the resilient dataflow components, we measure concrete improvements in system reliability: 7.3.2. Recovery Time Metrics • Mean Time to Recovery (MTTR): Target 30-50% reduction compared to baseline fixed-interval checkpointing • Recovery Success Rate: Target > 99.5% successful recovery without data loss • False Positive Rate: Failure predictions that do not materialise (target < 10%) 7.3.3. Overhead Metrics • Checkpoint CPU Overhead: Target < 5% average CPU utilisation • Storage I/O Impact: Target < 15% storage bandwidth consumption • Network Traffic: Checkpoint-related traffic (target < 8% total bandwidth) 7.3.4. Availability Metrics • System Uptime: Target 99.95%+ (four nines availability) • Data Freshness During Recovery: Lag between failure and restored state (target < 90s at P95) • Consistency Violation Rate: Incorrect results due to recovery issues (target: 0 per million records) Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 263 7.3.5. Operational Efficiency • Incident Investigation Time: DBA hours spent diagnosing failures (target: 40-60% reduction) • Configuration Change Confidence: Operator-reported confidence before implementing checkpoint changes (target: mean > 4.0/5.0) • Preventable Failures: Failures that could have been avoided with a better checkpoint strategy (target: 70%+ reduction) 7.4. Case Study: Production Deployment Scenarios We outline three representative deployment scenarios to demonstrate TADI’s applicability across different database contexts: 7.4.1. Scenario 1: E-commerce Transaction Database • Platform: PostgreSQL cluster with 12 nodes • Workload: 50K transactions/second, peak 120K/second during sales events • TADI Components Deployed: Query explainer, tuning advisor, trust tracker • Key Challenges: Flash crowd handling, configuration stability during load spikes 7.4.2. Expected Outcomes • 35% reduction in DBA time spent investigating slow queries through query plan explanations • 20% improvement in P99 latency through explainable auto-tuning that DBAs trust to deploy • Zero catastrophic misconfigurations (baseline: 2-3 per quarter) through trust-gated recommendations 7.4.3. Scenario 2: Real-Time Analytics Stream Processing • Platform: Apache Flink on Kubernetes, 40 task managers • Workload: 2M events/second, 85GB total state, 200+ stateful operators • TADI Components Deployed: Full resilience layer (checkpoint optimiser, failure predictor, recovery planner) • Key Challenges: Minimising checkpoint overhead while maintaining sub-2-minute recovery SLA 7.4.4. Expected Outcomes: • 45% reduction in MTTR through adaptive checkpointing (from 180s baseline to <100s) • 30% reduction in checkpoint overhead through workload-aware interval optimisation • 80% reduction in false-positive failure alerts through explainable anomaly detection 7.4.5. Scenario 3: Multi-Tenant SaaS Database • Platform: MongoDB sharded cluster, 200+ databases, 1500+ collections • Workload: Heterogeneous tenant workloads, 10K-100K operations/second per tenant • TADI Components Deployed: Resource allocator, trust tracker, tuning advisor, decision auditor • Key Challenges: Fair resource allocation, tenant isolation, automated optimisation without negative crosstenant impact 7.4.6. Expected Outcomes • 50% reduction in noisy-neighbour incidents through explainable resource allocation • 25% improvement in resource utilisation through trust-calibrated auto-scaling • 90% reduction in tenant complaints about unexplained performance changes through proactive explanation delivery Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 264 8. Challenges and future directions 8.1. Open Research Challenges Despite the comprehensive framework presented, several challenges require ongoing research: • Explainability-Performance Trade-offs: Current XAI techniques impose non-trivial computational overhead (Table VI). Future work must develop more efficient explanation algorithms, specifically optimised for database workloads. Promising directions include: • Incremental Explanation: Generate explanations progressively as models process queries, amortising overhead across normal execution • Explanation Compression: Develop compact explanation representations that preserve interpretability while reducing computation • Hardware Acceleration: Leverage GPU/TPU acceleration for parallel explanation generation • Causal Discovery at Scale: Constructing causal graphs for configuration tuning [6] becomes computationally prohibitive for systems with hundreds of tunable parameters. Research opportunities include: • Hierarchical Causal Models: Multi-level abstraction that focuses causal discovery on the most impactful parameter subsets • Transfer Learning for Causality: Leverage causal knowledge from similar workloads to accelerate discovery • Online Causal Learning: Continuously refine causal models during operation, rather than expensive offline reconstruction • Adversarial Robustness: Learned database components may be vulnerable to adversarial inputs that trigger poor decisions. Trust-aware systems must detect and explain such scenarios: • Explanation-Based Anomaly Detection: Identify when explanation patterns deviate from expected norms • Adversarial Training: Harden models against worst-case inputs while maintaining explainability • Safe Exploration: Bound automated decisions to prevent catastrophic actions even under adversarial conditions • Multi-Stakeholder Explainability: Different users require different explanation granularities, DBAs need technical depth, executives need business-level summaries, and auditors need compliance evidence. Research challenges include: • Audience-Adaptive Explanation: Automatically tailor explanation complexity to user expertise • Explanation Consistency Across Levels: Ensure high-level summaries accurately reflect detailed technical explanations • Collaborative Explainability: Enable multiple stakeholders to explore shared explanations from different perspectives 8.2. Integration with Emerging Technologies • Quantum Databases: As quantum computing matures, quantum-inspired database optimisation algorithms will require entirely new explainability paradigms. Quantum superposition and entanglement defy classical interpretability: • Quantum Measurement-Based Explanation: Develop explanation techniques grounded in quantum measurement theory • Hybrid Classical-Quantum XAI: Explain decisions that combine classical database logic with quantum optimisation • Neuromorphic Computing: Brain-inspired spiking neural networks promise energy-efficient database operations but challenge traditional XAI methods designed for backpropagation-based models: • Temporal Spike Pattern Explanation: Interpret decision-making through neural firing patterns over time • Energy Attribution: Explain decisions through energy consumption patterns in neuromorphic hardware • Federated Database Learning: As databases learn from distributed data without centralisation, federated learning introduces new trust challenges: • Contribution Attribution: Explain which data sources most influenced learned models • Privacy-Preserving Explainability: Generate explanations without revealing sensitive training data • Cross-Organisation Trust: Build trust mechanisms that span organisational boundaries Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 265 8.2.1. Edge-Enabled and 5G Infrastructures Emerging real-time systems also depend on ultra-reliable, low-latency communication (URLLC) and distributed processing at the network edge. Architectural Enhancements, Challenges and Future Trends in Real-Time IoT Applications over 5G Networks [29] highlights how AI-driven orchestration, edge computing, and 5G network slicing enable intelligent, latency-aware coordination—principles that complement TADI’s trust-aware database design for cloudedge integration and real-time decision transparency. 8.3. Regulatory and Compliance Considerations Increasing regulatory focus on AI transparency (EU AI Act, algorithmic accountability laws) creates both challenges and opportunities for TADI: 8.3.1. Compliance Benefits • Audit trails: TADI’s decision auditor component provides comprehensive logs of automated decisions and explanations • Right to explanation: TADI natively supports user-facing explanations of AI-driven database decisions • Risk assessment: Trust quantification mechanisms align with regulatory risk management requirements 8.3.2. Compliance Challenges: • Explanation Veracity: Regulations may require proof that explanations accurately reflect decision logic, demanding formal verification • Retention Requirements: Storing explanations for all decisions over extended periods imposes significant storage overhead • Explanation Contestation: Users may dispute explanation accuracy, requiring mechanisms for explanation validation and correction • Future Work: Develop compliance-aware TADI extensions: • Certified Explanations: Cryptographically signed explanations with formal correctness guarantees • Regulatory Explanation Templates: Pre-validated explanation formats for specific compliance regimes (GDPR, CCPA, etc.) • Explanation Lifecycle Management: Automated retention, archival, and retrieval of explanations per regulatory requirements 8.4. Toward Fully Autonomous, Trustworthy Databases The ultimate vision for TADI is enabling databases that autonomously optimise themselves while maintaining full operator trust through continuous explainability. This requires advances across multiple frontiers: • Self-Explaining Systems: Rather than adding explainability post-hoc, design database components that inherently generate explanations as byproducts of operation: • Intrinsically Interpretable Learned Indexes: Develop index structures that are both learned and directly inspectable • Transparent Neural Cost Models: Design cost estimators with built-in attention mechanisms that naturally highlight decision factors • Compositional Explainability: Build complex systems from interpretable components whose explanations compose hierarchically • Proactive Trust Management: Move beyond reactive trust tracking to proactive trust cultivation: • Trust-Aware Exploration: When optimising configurations, explicitly balance performance gains against trust preservation • Explanation-Driven Learning: Use operator feedback on explanations to improve both decision quality and explanation relevance • Trust Repair Protocols: Systematic procedures for rebuilding trust after system failures or incorrect decisions • Human-AI Collaboration Patterns: Develop mature collaboration models where AI augments rather than replaces DBA expertise: • Mixed-Initiative Tuning: Allow seamless transitions between human-driven and AI-driven optimisation • Explanation-Guided Intervention: Enable DBAs to provide feedback at the explanation level rather than lowlevel parameter adjustments Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 266 • Apprenticeship Learning: Systems that learn DBA decision-making patterns and explain their learned policies in DBA-native terminology Table 8 Tadi evolution roadmap Timeline Milestone Key Capabilities Research Challenges Addressed 2025-2026 TADI v1.0 Query explainer, basic trust tracking Explainability integration, trust quantification 2026-2027 TADI v2.0 Full resilience layer, causal tuning Checkpoint optimisation, causal discovery efficiency 2027-2028 TADI v3.0 Multi-stakeholder explanations, federated learning Audience-adaptive XAI, privacy-preserving explanations 2028-2029 TADI v4.0 Self-explanatory components, proactive trust Intrinsic interpretability, trust repair 2029-2030 TADI v5.0 Full autonomy with maintained trust Human-AI collaboration maturity, regulatory compliance 9. Conclusion This paper has introduced Trust-Aware Database Intelligence (TADI), a comprehensive framework that systematically embeds explainable AI into database management decisions while ensuring resilient dataflow operations. By addressing the transparency crisis in AI-driven database systems, TADI enables the next generation of autonomous databases that maintain human trust through interpretable decision-making and robust failure handling. The key contributions of this work include • Unified Framework: TADI provides the first integrated architecture combining XAI principles, trust quantification, and resilient dataflow intelligence for database systems • Multi-Dimensional Trust Model: A formal trust quantification approach adapted from digital trust frameworks that captures reliability, explainability, controllability, and alignment dimensions • Domain-Specific XAI Techniques: Adaptation of explainable AI methods to database-specific decision types, including query optimisation, configuration tuning, and checkpoint management • Explainable Resilience: Novel mechanisms for explaining failure handling decisions in stateful streaming systems, making recovery strategies transparent to operators • Practical Implementation Patterns: Concrete integration strategies, overhead characterisation, and deployment guidance for real-world database platforms Through the TADI framework, database systems can achieve the promise of AI-driven optimisation without sacrificing the transparency and control that operators require for production deployment. The framework’s modular architecture allows selective adoption of components based on organisational needs, while comprehensive trust tracking ensures that automation expands only as confidence is earned through demonstrated reliability. As databases continue their evolution toward greater autonomy, the principles embodied in TADI, that intelligence must be paired with interpretability, and that automation must preserve rather than eliminate human agency, will become increasingly critical. Future work must address remaining challenges in explainability efficiency, causal discovery scalability, and multi-stakeholder explanation delivery. Additionally, the integration of TADI with emerging technologies such as quantum computing and neuromorphic hardware presents exciting opportunities for extending trust-aware intelligence to next-generation database architectures. The transition from opaque AI-driven databases to trust-aware intelligent systems represents not merely a technical enhancement but a fundamental shift in the relationship between databases and their operators. TADI demonstrates that this transition is not only possible but practical, providing a concrete path forward for organisations seeking to harness AI’s optimisation power while maintaining the transparency, reliability, and human oversight essential for mission-critical data infrastructure. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 267 Compliance with ethical standards Acknowledgments The authors acknowledge the foundational contributions of the explainable AI research community, particularly the work of Samek et al. on XAI techniques and the database learning community led by researchers like Kraska et al. We thank the Apache Flink community for their extensive documentation of failure transparency mechanisms and the opensource database projects that enable practical research in this domain. Disclosure of conflict of interest No conflict of interest to be disclosed. References [1] W. Samek, G. Montavon, A. Vedaldi, L. K. Hansen, and K.-R. Müller, Eds., Explainable AI: Interpreting, Explaining and Visualising Deep Learning. Springer, Lecture Notes in Computer Science, 2019. [2] T. Kraska, A. Beutel, E. H. Chi, J. Dean, and N. Polyzotis, “The case for learned index structures,” in Proc. ACM SIGMOD Int. Conf. Management of Data, 2018, pp. 489-504. [3] “Explainable database management system configuration tuning through counterfactuals,” ResearchGate, 20232025. [Online]. Available: https://www.researchgate.net [4] B. Chang, “A robust and explainable query optimisation cost model,” arXiv preprint arXiv:2501.xxxxx, 2025. [5] A. Veresov et al., “Failure transparency in stateful dataflow systems,” in Proc. European Conf. Object-Oriented Programming (ECOOP), 2024. [6] P. Chen et al., “PromiseTune: Unveiling causally promising and explainable regions for configuration tuning,” arXiv preprint arXiv:2507.xxxxx, Jul. 2025. [7] J. Freischuetz et al., “TUNA: Tuning unstable and noisy cloud applications,” arXiv preprint arXiv:2501.xxxxx, 2025. [8] A. B. F. Chai, “GEX: Guiding expert data systems tuning with explainable AI,” arXiv preprint, 2025. [9] Noor and Abbas, “Explainable AI meets distributed databases: RL and generative models for predictive scaling and query optimisation,” ResearchGate preprint, 2024. [10] G. Kostopoulos et al., “Explainable AI-based decision support systems: A survey,” Electronics, vol. 13, MDPI, 2024. [11] V. Moskalenko et al., “Resilience and resilient systems of artificial intelligence,” Algorithms, vol. 16, MDPI, 2023. [12] “Self-tuning databases using machine learning: A survey,” ACM Computing Surveys, 2024-2025. [13] “AI-powered database management: Predictive analytics and auto-tuning,” Everant Technical Journal, 2025. [14] S. Jayasekara, “A utilisation model for optimisation of checkpoint intervals for stream processing,” Journal of Parallel and Distributed Computing, 2020. [15] “Evaluating checkpointing protocols for streaming dataflows,” arXiv preprint arXiv:2401.xxxxx, 2024. [16] Y. Mei et al., “Disaggregated state management in Apache Flink® 2.0,” Proc. VLDB Endowment, vol. 18, 2025. [17] W. Samek et al., “Towards explainable artificial intelligence,” in Explainable AI: Interpreting, Explaining and Visualising Deep Learning, Springer, 2019, pp. 5-22. [18] A. Holzinger et al., “Explainable AI methods: A tutorial and overview,” 2022. [19] S. Ali et al., “Explainable artificial intelligence (XAI): What we know and what is left to attain trustworthy AI,” Information Fusion, vol. 99, ScienceDirect, 2023. [20] OECD, “OECD survey on drivers of trust in public institutions: 2024 results,” OECD Publishing, 2024. [21] J. Saveljeva et al., “A survey on digital trust: Towards a validated definition,” Applied Sciences, MDPI, 2025. [22] F. Orbán et al., “Trust in artificial intelligence: A survey experiment to assess determinants,” AI and Society, Springer, 2025. Global Journal of Engineering and Technology Advances, 2025, 25(01), 247–268 268 [23] D. Guhl, “Resilient smart services: A literature review,” Journal of Service Management Research, 2025. [24] “Building resilient smart cities: Digital twins and generative AI in disaster management,” Smart Cities Journal, 2025. [25] “Apache Flink documentation: Checkpointing and failure recovery,” Apache Software Foundation, 2025. [Online]. Available: https://flink.apache.org/docs/ [26] O. R. Igbape, O. O. Akadiri, C. C. Ekechi, R. O. Okiemute, O. Babatunde, and M. E. Idowu, “Resilient Dataflow Intelligence (RDI): A Proactive AI Framework for Anomaly Anticipation in Cloud Databases,” Global Journal of Engineering and Technology Advances, vol. 24, no. 3, pp. 314–327, Sept. 2025. doi: 10.30574/gjeta.2025.24.3.0282. [27] O. O. Akadiri, O. Babatunde, A. A. Jamiu, O. R. Igbape, B. O. Samson, and A. C. Francis, “Collaborative Intelligence Databases (CID): Harnessing AI for Privacy-Preserving Multi-Source Data Management,” Global Journal of Engineering and Technology Advances, vol. 24, no. 3, pp. 406–416, Sept. 2025. doi: 10.30574/gjeta.2025.24.3.0289. [28] K. O. Osobase, O. O. Akadiri, C. D. Dirisu, E. Asolo, D. E. Adewara, and C. C. Ekechi, “ChatGPT and the Future of Generative AI: Architecture, Limitations, and Advancements in Large Language Models,” Asian Journal of Basic Science and Research, vol. 7, no. 3, pp. 175–200, Jan. 2025. doi: 10.38177/ajbsr.2025.7312. [29] P. Nowamagbe, S. Oluwatosin, G. N. Goodness, B. Adefemi, J. Boluwade, C. Chibuike, and N. Agu, “Architectural Enhancements, Challenges and Future Trends in Real-Time IoT Applications over 5G Networks,” Global Journal of Engineering and Technology Advances, vol. 15, no. 3, pp. 167–179, 2025. doi: 10.30574/gjeta.2025.23.3.0185. [30] D. Felix, O. Adeniran, and N. Kingsley, “Agentic AI in SAP: Collaborative Joule Agents across Procurement, Finance and Logistics,” Global Journal of Engineering and Technology Advances, vol. 24, no. 2, pp. 91–108, 2025. doi: 10.30574/gjeta.2025.24.2.0236.