Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
brindlogcool
Creator III
Creator III

String Vs integer Values

Hi,

Integer comparison will be faster compared to string comparison. Is there any change in the performance if there are more distinct values or less distinct values.

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

A field with less distinct values will be better for performance than a field with more distinct values. For this reason it's recommended to split timestamp fields into a date and a time field for large tables. Low cardinality fields take up less memory and can be searched and sorted faster.


talk is cheap, supply exceeds demand
brindlogcool
Creator III
Creator III
Author

Thanks for your response. I hope the same logic is applicable at the expression as well.