pgSQL笔记07-性能优化

【性能优化】 一、优化查询 1.分析查询语句explain explain analyze select * from person; 2. 索引对查询速度的影响 /*分析未使用索引的查询情况*/ explain select * from person where name='rx'; /*然后,在person表的name字段加上索引,再进行explain */ create index ind
相关文章
相关标签/搜索