drop table if exists lotsofints;
drop table if exists lotsoftext;
drop table if exists lotsofitext;
create table lotsofints(i integer);
create table lotsoftext(i text);
create table lotsofitext(i text, j text, w text, z integer, z2 bigint);
insert into lotsofints select random() * 1000000000.0 from generate_series(1, 10000000);
insert into lotsoftext select cast(random() * 1000000000.0 as text) || 'blablablawiiiiblabla' from generate_series(1, 10000000);
insert into lotsofitext select cast(random() * 1000000000.0 as text) || 'blablablawiiiiblabla', cast(random() * 1000000000.0 as text) || 'blablablawjjjblabla', cast(random() * 1000000000.0 as text) || 'blablablawwwabla', random() * 1000000000.0, random() * 1000000000000.0 from generate_series(1, 10000000);
vacuum freeze;

select relname, pg_size_pretty(pg_total_relation_size(relname::regclass)) from pg_class where relname in ('lotsofints', 'lotsoftext', 'lotsofitext');
