|
|
|
|
|
by ot
4763 days ago
|
|
A few years ago I was toying with JSON databases without loading, and came up with an idea to cache the parse tree of the documents after the first query, so that subsequent queries would run much faster. I called the technique semi-indexing and wrote a paper [1] on that; on my synthetic tests the speedups were significant (even 10x), but I never got the chance to test it on real workloads. I wonder if would be useful to integrate the semi-index code [2] in this json_fdw; thanks for sharing the code, I'll try to see how feasible this is. [1] http://www.di.unipi.it/~ottavian/files/semi_index_cikm.pdf [2] https://github.com/ot/semi_index |
|
[1] https://github.com/mmastrac/nanojson