Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Avoid sorting by clicking column header #221
For very large tables (50,000,000,000 rows for my case), sorting does not work completely. Once we start sorting the table, all other queries stop working...
Sorting by clicking column header is handy nice feature for smaller tables, but it is too dangerous for large tables. Do you have any idea to disable or avoid sorting?
My idea: I always disable "Always sort tables" and "Retrieve exact row counts" options because it does not work for many (large) tables. What do you think that the option disables all kind of sorting action (from UI) ?
Yes, cmd-. magically works, thanks!
But I still think the sorting feature is not error proof, especially for non-engineer people. In my company, a dozen people are analyzing large log tables using Postico, and they accidentally click the column header every day.
Even worse, Postico memoizes sorting settings for each table, so their Postico processes dispatches sorting query again and again, until they explicitly cancel it and click column header again (to cancel sorting operation). That is too complicated opeartion, isn't it?
Postico now automatically cancels the query if it is still running when clicking the table header. This change will be in the next update.
You can download a prerelease version here: