Anyone Ever add a non-clustered index to the tagid in the sqlt_data partition tables?

When you look at the query is generated with system.tag.queryTagHistory(), it uses 'WHERE tagid IN (tagid1,tagid2....)

Curious if a clustered index might help speed up some of the queries that have a lot of tagids

Thanks!

Yes, a multicolumn index on t_stamp and tagid will help.

1 Like

Thanks!!!!