Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Depends what you want to do, I created a "estimate_count" function to make it much much faster:

"SELECT planrows FROM estimate_row('SELECT COUNT(*) ON table WHERE XXX')"



That's actually brilliant.

If you're ever looking for something to write about for a new blog post, I would love to learn more about how you implemented that estimate_count function.

Thanks for the tip in the right direction tho!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: