Chapter 29. Configuring a Database Server


IN THIS CHAPTER

  • Introduction to Database Design and Administration

  • SQL: Structured Query Language

  • Using the MySQL and PostgreSQL Open-Source Databases

  • Constructing a Database System

  • Writing Administration Scripts

  • Connecting a Database to the Web

  • Using PHP to Provide Database-Driven Content to Web Pages

  • Optimizing Database Performance

  • Performing Database System Backups

Sooner or later, all large and popular websites are faced with the decision of whether to provide visitors with customized, dynamic content served from a database. For commercial sites, it's almost a requirement to supplement the static web content with a database back end, populated with customer profiles, product catalogs, user preferences, and all sorts of other information that allows the administrator to present a customized interface to the user. Even noncommercial sites can benefit from using databases, though. This chapter covers the fundamentals of database back-end usage as it applies to any site administrator, whether commercial or not. Using the freely available MySQL and PostgreSQL packages, you can develop a data store to attach to your web server. This chapter will teach you what you need to know in order to efficiently administer the server, to construct the database your website needs, to optimize its performance, and to protect its security.

Databases aren't just for the Web, either. Long before the Web existed, databases were an integral part of commerce and engineering. But a database cannot be of any use without a good interface to the data inside it, and the Web is only the most recent such interface mechanism to achieve widespread use. Because databases can be used for a great many things other than providing dynamic web content, this chapter explains how you can use databases both in a general, standalone context and in the context of web connectivity.




FreeBSD 6 Unleashed
FreeBSD 6 Unleashed
ISBN: 0672328755
EAN: 2147483647
Year: 2006
Pages: 355
Authors: Brian Tiemann

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net