官术网_书友最值得收藏!

  • Mastering PostgreSQL 9.6
  • Hans Jurgen Schonig
  • 191字
  • 2021-07-09 19:57:15

Making Use of Indexes

In the previous chapter, you learned about concurrency and locking. In this chapter, it is time to attack indexing head on. The importance of this topic cannot be stressed enough—indexing is (and will most likely stay as) one of the most important topics in the life of every database engineer.

After 17 years of professional, full-time PostgreSQL consulting and PostgreSQL 24x7 support, I can say one thing for sure. Bad indexing is the main source of bad performance. Of course, it is important to adjust memory parameters and all that. However, it is all in vain if indexes are not used properly. There is simply no replacement for a missing index.

Therefore, I have dedicated an entire chapter to indexing alone to give you as many insights as possible.

In this chapter, you will learn these topics:

  • When does PostgreSQL use indexes?
  • How does the optimizer handle things?
  • What types of indexes are there and how do they work?
  • Using your own indexing strategies

At the end of the chapter, you will be able to understand how indexes can be used beneficially in PostgreSQL.

主站蜘蛛池模板: 曲松县| 河曲县| 佛山市| 玛多县| 石嘴山市| 浦北县| 互助| 行唐县| 屏山县| 安塞县| 屯留县| 临猗县| 栾川县| 遂溪县| 新邵县| 剑川县| 太原市| 富平县| 简阳市| 西华县| 太原市| 安阳县| 九龙县| 班戈县| 长岛县| 灵石县| 茂名市| 林西县| 武威市| 吴堡县| 那曲县| 虞城县| 河曲县| 合江县| 杂多县| 冷水江市| 郧西县| 孝昌县| 浦北县| 冀州市| 文昌市|