feat: review flow compound index and/or add a new index for state
and flow.cookie
#161
Labels
enhancement
New feature or request
state
and flow.cookie
#161
As I was fixing issue #160, I just realized that clients querying for
cookie_range
andstate
withoutdpid
wouldn't hit the compound index, which is the args/query pattern thattelemetry_int
will use in the future. So, in the future this should be analyzed if a new index will be needed, currently it's hitting the singleIXSCAN { flow.cookie: 1 }
index, probably wouldn't impact much, but currently it's not ideal:v2/stored_flows?cookie_range=12284936249945383243&cookie_range=12284936249945383243&state=installed&state=pending
The text was updated successfully, but these errors were encountered: