Re: Daniel Gustafsson 2019-11-12 <7a3b9bb6-bea0-466e-98a9-b4dd8f048...@yesql.se> > I agree with Tomas upthread that it's unclear whether this needs to be in > core. > There are many system parameters a database admin is likely to be interested > in, diskspace being just one of them (albeit a very important one for many > reasons), and there is nothing that makes the SQL interface (or postgres core > for that matter) particularly more suited for this job than other existing > tools. > > Why is SQL level crucial for this?
Because the figure is interesting to users as well. They will usually not have any access to monitoring, and checking if they can load this extra 10 GB dataset is a good use case. This is about providing the numbers in the place where they are needed. Of course admins can just go elsewhere to look it up (and probably will), but I think now there's a usability gap for people who just have SQL access. Christoph