Summary
Table indexing is a sure-fire way to optimize queries. In this chapter, we introduced this topic and showed you how to create primary, unique, normal, and full-text indexes, the latter using the tsearch2 module. We then demonstrated how easy it is to create PHP-enabled search interfaces for querying your PostgreSQL tables.
In the next chapter, we’ll introduce PostgreSQL’s transactional features and show you how to incorporate transactions into your Web applications by extending the PostgreSQL data class first introduced in Chapter 31.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 W. Jason Gilmore
About this chapter
Cite this chapter
(2006). Indexes and Searching. In: Beginning PHP and PostgreSQL 8. Apress. https://doi.org/10.1007/978-1-4302-0136-6_35
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0136-6_35
Publisher Name: Apress
Print ISBN: 978-1-59059-547-3
Online ISBN: 978-1-4302-0136-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books