--查询索引
select * from pg_indexes where tablename='tab1';   

--创建索引  tab1_bill_code_index  为索引名,
create index  tab1_bill_code_index  on  "db1".tab1(bill_code);

--删除索引
drop index tab1_bill_code_index  ;

 

相关文章:

  • 2022-12-23
  • 2021-04-17
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-07-03
  • 2022-01-26
  • 2021-09-10
相关资源
相似解决方案