The time taken to query any JSON dataset depends on number of nested levels within the dataset. Also, increasing the complexity of the dataset further impacts the execution time.
Tabulated below is cached query execution times for a simple select * query over two simple forms of JSON datasets:
|No. Levels||Time (s) Dataset 1||Time (s) Dataset 2|
The above table lists query times for 20 different JSON files, 10 belonging to dataset 1 & 10 belonging to dataset 2. Each have 1 record, but the number of nested levels within them vary as mentioned in the "No. Levels" column.
It appears that the query time almost doubles with addition of a nested level (note that in the table above, it translates to almost 4x across levels starting 24)
The below two are the representative datasets, showcasing simple JSON structures with nested levels.
Structure of Dataset 1:
Structure of Dataset 2: