Hi, just moved from SQL Server to Dremio. And I have a question about Dremio performance with Reflection.
For example, in SQL Server, in an Insert/Update job, we create an Index on the lookup columns to make the process of searching for matching rows faster. Also, query with where like where index_col = xxx is also faster.
When I read the doc about Reflection of Dremio, it said that Reflection = Index. I wonder if it functions the same?
For example, if I create a Reflection/Index on the Id column of TableA/B, will the following queries be faster?
select * from TableA where Id <= 10;
or
merge into TableA using TableB on TableA.Id = TableB.Id
when matched then update set *
when not matched then insert *
When I read the doc, it seems like the Reflection feature only works with the Aggregate query?
Still don’t know if Reflection works the same with Index or not. I mean, some mechanic like stored a sorted HashMap of all the values in an indexed column somewhere.
For example, in the image above, can I just create “Aggregation“ Refections on 1 Dimension Column Id and hope that it helps my merge query?
Also, does Raw Reflections mean create Indexes on all Columns?
