Skip to content

SQLite extension that adds an `approx_count_distinct` function based on HyperLogLog

License

Notifications You must be signed in to change notification settings

wperron/sqlite_hll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLite HyperLogLog

Compiles a dynamic library that adds an approx_count_distinct built on HyperLogLog. This gives better performance than a traditional count(distinct column) at the cost of precision. The error rate is set at 0.81% for no other reason than it being the default value used by Redis.

⚠️ NOTE: Use this at your own risk, I make no commitment to maintain or update this library. ⚠️

About

SQLite extension that adds an `approx_count_distinct` function based on HyperLogLog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages