Project

General

Profile

Feature #1077

New InputData rappresentation: an in-memory database.

Added by Andrea Zoli about 11 years ago. Updated about 11 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
11/13/2013
Due date:
% Done:

0%

Estimated time:

Description

With an in-memory database we can do complex query on the inputdata nearly real-time. The database better to be a zero-configuration one. The DAS database could not be used because it doesn't satisfy the realtime constraint.

Sub-tasks:
- We need a use case for this feature more complex then "select * from A where id == 0".


Files

sqlite3test.py (1.25 KB) sqlite3test.py Andrea Zoli, 11/13/2013 05:20 PM
#1

Updated by Andrea Zoli about 11 years ago

A solution like sqlite3 has been tested.

sqlite3 execution limits:
SQLITE_MAX_COLUMN(Maximum Number Of Columns) 2000
SQLITE_MAX_VARIABLE_NUMBER(Maximum Number Of Host Parameters In A Single SQL Statement) 999

Test results:
Insert of 2000*500 rows and 1 column: Time Taken: 4.686 sec
Insert of 500 rows and 999 columns: Time Taken: 0.102 sec

Attached the script used for testing.

TODO:
- Additional infiniDB or mongoDB proposed by Luciano Nicastro need to be tested.

#2

Updated by Andrea Zoli about 11 years ago

  • Priority changed from Normal to Low

It's a long road.. not a major priority.

Also available in: Atom PDF