alter table person_role add index (nic_hdl(20));
alter table person_role add index (object_type);
alter table person_role add index (thread_id);
alter table mntner  add index (mntner(25));
alter table mntner  add index (thread_id);
alter table key_cert add index (key_cert);
alter table key_cert add index (thread_id);
alter table aut_num add index (aut_num);
alter table aut_num add index (thread_id);
alter table route add index origin (origin,prefix,prefix_length);
alter table route6 add index origin (origin,r6_msb,r6_lsb,prefix_length);
alter table as_set add index (as_set(25));
alter table as_set add index (thread_id);
alter table route_set add index (route_set(25));
alter table route_set add index (thread_id);
alter table inet_rtr add index (inet_rtr(25));
alter table inet_rtr add index (local_as);
alter table inet_rtr add index (thread_id);
alter table rtr_set add index (rtr_set(25));
alter table rtr_set add index (thread_id);
alter table filter_set add index (filter_set(25));
alter table filter_set add index (thread_id);
alter table peering_set add index (peering_set(25));
alter table peering_set add index (thread_id);
alter table as_block add index (begin_as);
alter table as_block add index (end_as);
alter table as_block add index (thread_id);
alter table inetnum add index (netname(8));
alter table inetnum add index begin_in (begin_in);
alter table inetnum add index end_in (end_in);
alter table inetnum add index (thread_id);
alter table inet6num add index (netname(8));
alter table inet6num add index i6_msb (i6_msb);
alter table inet6num add index i6_lsb (i6_lsb);
alter table inet6num add index (thread_id);
alter table route6 add index r6_msb (r6_msb);
alter table route6 add index r6_lsb (r6_lsb);
alter table domain add index (domain(16));
alter table domain add index (thread_id);
alter table limerick add index (limerick);
alter table limerick add index (thread_id);
alter table irt add index (irt(25));
/* surplus, as first element of primary key covers this alter table organisation add index (organisation);*/
alter table organisation add index (thread_id);
