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

  • 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.

主站蜘蛛池模板: 青浦区| 山阴县| 漳州市| 敦化市| 德格县| 长治市| 兰溪市| 固始县| 贵州省| 南华县| 同心县| 宝山区| 大洼县| 新昌县| 宿迁市| 高唐县| 株洲县| 巴东县| 彭州市| 尼玛县| 英山县| 霞浦县| 扬中市| 兴安县| 泰安市| 徐水县| 彰化县| 青铜峡市| 丹巴县| 阳西县| 上栗县| 噶尔县| 嘉禾县| 穆棱市| 平罗县| 德化县| 屏边| 和平县| 岳阳县| 同仁县| 望都县|