Since SQLITE 3.7.x there are performance problems

We used EXPLAIN QUERY PLAN and detected differences between machines.

Matthias found out that faster machines (DRAM server) use the "ranges_index"
for the "Transactions" table. But other machines (our laptops) use the primary
key defined for that table. Removing the primary key the performance issues
were solved.
This commit is contained in:
Éder F. Zulian
2016-04-01 17:46:38 +02:00
parent ad82d337fe
commit fb9295d3e2

View File

@@ -48,8 +48,8 @@ CREATE VIRTUAL TABLE ranges USING rtree(
);
CREATE TABLE Transactions(
ID INTEGER PRIMARY KEY,
Range INTEGER,
ID INTEGER,
Range INTEGER,
Address INTEGER,
Burstlength INTEGER,
TThread INTEGER,