Database Operation Simulation and Comparison for Multi-Tenant Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional systems for performing operations in multi-tenant database systems face limitations, such as allowing only single operations at a time, potential data corruption due to interference, and lack of analysis for correct operation execution.

Innovation Solution

A method for comparing results of actual operations with simulated operations, enabling optimized performance, reduced processing time, and increased confidence in processing results by determining and comparing results of simulating and performing operations, and taking actions based on the comparison.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If multiple operations are performed simultaneously in a multi-tenant database system, then productivity is improved, but data corruption may occur due to interference between operations

Engineering Contradiction:
Improveoperation execution speedVSAvoiddata integrity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments operations into distinct phases: simulation phase and execution phase. During simulation, operations are executed in a controlled environment with virtual locking mechanisms. During execution, the same operations are performed against actual database tables with proper locking. This segmentation allows parallel operation execution while maintaining data integrity through isolated testing and controlled deployment.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary simulation of operations before actual execution. The simulation phase prepares and validates operations in advance, allowing the system to identify potential conflicts and locking issues before they affect actual data. This preliminary action enables safe parallel execution by pre-resolving potential interference problems.

Inventive Principle:
Principle #10Preliminary action

2Ease of manufacture

If traditional operation performance techniques are used, then device complexity is reduced, but manufacturing precision (operation correctness) cannot be verified

Engineering Contradiction:
Improvesystem implementation simplicityVSAvoidoperation execution correctness
Core Design Contradiction:
Ease of manufactureVSManufacturing precision

Solution Approach 1:

The patent creates a copy of the operation execution environment through simulation. A virtual representation of the database system and operations is maintained, allowing identical operations to be tested in isolation. This copy enables verification of operation correctness without adding significant complexity to the actual production system, as the simulation layer operates independently but mirrors the real system's behavior.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent implements feedback mechanisms that compare simulation results with actual execution results. After operations are executed against real data, the system compares the outcomes with expected results from simulation. This feedback loop verifies operation correctness automatically, providing manufacturing precision without requiring complex manual verification processes.

Inventive Principle:
Principle #23Feedback

3Reliability

If operations are executed sequentially to prevent data corruption, then reliability is maintained, but productivity decreases due to mutual exclusion

Engineering Contradiction:
Improvedata safetyVSAvoidoperation throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces dynamic locking mechanisms that adapt to operation requirements. Instead of fixed sequential execution, the system dynamically manages locks during simulation and execution phases. Locks are acquired and released based on actual operation needs, allowing parallel execution when safe and sequential execution only when necessary to prevent corruption. This dynamic approach maximizes both productivity and reliability.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8682637B2System, method and computer program product for comparing results of performing a plurality of operations with results of simulating the plurality of operations
Publication Date: 2014.03.25 SALESFORCE INC
  • US8682637B2 patent drawing
  • US8682637B2 patent drawing
  • US8682637B2 patent drawing

AI summary

In accordance with embodiments, there are provided mechanisms and methods for comparing results of performing a plurality of operations with results of simulating the plurality of operations. These mechanisms and methods for comparing results of performing a plurality of operations with results of simulating the plurality of operations can enable optimized performance of operations, reduced processing time, increased confidence in processing results, etc.