What version of PSQL are you using?
This one works with PSQL v9.5:
select xf$name, count(xe$name) from x$field, x$file where xe$file = xf$id group by xf$name
That data is not directly available. The bytes in the record could be counted by using the sum of the XE$SIZE field for each of the tables. THe record count is not going to be available without issuing a "SELECT COUNT(*) FROM table" query.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.