I've been a bit lazy lately and have been generating gigabytes of PostGis database records much of which I don't need anymore. I'm beginning to think of cleaning it out a bit, but want to determine how many bytes these records are taking up.
I'm using rails, so if I could call a method or SQL snippet on an already selected group of records to determine the size of said records in bytes this would be very helpful.
For the table:
For a particular table row and/or column in it:
See: