Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A new Cps Path query algorithm is being proposed. The computational complexity was measured for existing and proposed solutions, and is found to be:

OperationExisting solutionProposed solution
Query 1 out of NO(N)O(1)
Query N out of NO(N2)

O(N)

Based on the data obtained from testing both solutions, performance can be predicted for larger datasets. Given a larger database , say comprising 25 million datanodes - 100 times larger than that used in the study, comprising approximately 25 million datanodes, this study - the following performance is to be expected:

OperationExpected time for existing solutionExpected time for proposed solution
Query 1 out of N10 minutes10 seconds
Query N out of N40 days2 minutes

Background

The current implementation of Cps Path queries relies on regular expressions in the generated SQL queries.

...