1 |
|
2003-11-07 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Tweak the usage of the sqlite database to make common use cases |
4 |
|
more responsive. In most cases copying the data to the sqlite |
5 |
|
database takes so long that using sqlite doesn't have enough |
6 |
|
advantages. |
7 |
|
|
8 |
|
* Thuban/Model/transientdb.py (TransientTableBase.ValueRange): Add |
9 |
|
comments about performance and query the min and max in separate |
10 |
|
statements because only that way will indexes be used. |
11 |
|
(TransientTableBase.UniqueValues): Add some comments about |
12 |
|
performance. |
13 |
|
(AutoTransientTable.ValueRange, AutoTransientTable.UniqueValues): |
14 |
|
Do not copy the data to the transient DB but use the transient |
15 |
|
copy if it exists. See the new comments for the performance trade |
16 |
|
offs |
17 |
|
|
18 |
|
* test/test_transientdb.py |
19 |
|
(TestTransientTable.test_auto_transient_table): Make sure that the |
20 |
|
data is copied to the transient database at some point. |
21 |
|
|
22 |
2003-11-03 Bernhard Herzog <[email protected]> |
2003-11-03 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
* Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some |
* Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some |