select 'alter index ' || t.segment_name || ' rebuild;', bytes / 1024 / 1024 from user_segments t where t.segment_type = 'INDEX';