Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
12Activity
×

Table Of Contents

Linux Database Bible
Preface
The Importance of This Book
Getting Started
Icons in This Book
How This Book Is Organized
Part ILinux and Databases
Part IIInstallation and Configuration
Part IIIInteraction and Usage
Part IVProgramming Applications
Part VAdministrivia
How to Use This Book
Additional Information
Acknowledgments
Part I: Linux And Databases
Chapter 1: Introduction And Background
Origins of Linux
Whirlwind adolescence
The future
Some Established Linux Distributions
Slackware Linux
Debian GNU/Linux
Introduction to Databases
History of databases on Linux
Introduction to Linux databases
Summary
Chapter 2: The Relational Model
What Is a Database?
What are data?
What does it mean to maintain a body of data?
Relationality
The Relational Model
What is the relational model?
Structure of the relational model
Relational algebra and relational calculus
Relational integrity
Hierarchic and Network Databases
The hierarchic database
The network database
Object Databases
The impedance mismatch problem
Storing objects as they are programmed
The object−relational compromise
Choosing a Type of Database
Application Architectures
Client−server
Three−tier architecture
Modern Advancements
The era of open standards
eXtensible markup language
Universal databases
Chapter 3: SQL
Origins of SQL
SQL standards
Dialects of SQL
Disadvantages and advantages of SQL
Implementation of the language
SQL Structure
Terminology
Structure of the language
Keywords
Data Types
Creating a Database
CREATE: Create a database
GRANT: Grant permissions
DROP: Remove a table or index
INSERT: Insert a row into a table
Selecting Data from the Database
SQL and relational calculus
One−table selection
The restrictive WHERE clause
Multitable selections
Unions
ORDER BY: Sort output
DISTINCT and ALL: Eliminate or request duplicate rows
Outer joins
Functions
Sub−SELECTs
SELECT: Conclusion
Modifying the Data Within a Database
COMMIT and ROLLBACK: Commit or abort database changes
DELETE: Remove rows from tables
UPDATE: Modify rows within a table
Views
Stored Procedures and Triggers
Chapter 4: Designing a Database
Overview
Planning and Executing a Database Project
What is a methodology and why have one
Getting to first basePhases and components of the plan
Evaluating and analyzing the organizational environment
Project hardware and software
Implementation strategy and design
People resources and project roles
The steps of designing a database
The art of database design
Building a Simple Database: The Baseball Example
Step 1: Articulate the problem
Step 2: Define the information we need
Step 3: Decompose the entities
Step 4: Design the tables
Step 5: Write domain−integrity rules
Building a More Complex Database: The Library Example
Chapter 5: Deciding on Linux Databases
Evaluating Your Data Requirements
Business categories of organizational data
Assessing Your Existing Data
Environmental Factors
Network infrastructure
Technical staff
Organizational processes
Cross−platform issues
Chapter 6: Identifying Your Requirements
Introduction to the Database Management Life Cycle
State your goal
Identify constraints
Layout requirements
Finalize your requirements
Plan your execution process
Build the system
Assessing the Requirements of Your Database Installation
What is a database server?
Read the documentation
Set up a user account
Assess disk space
Classification of Information and Data Needs
Amount of data and data growth
Importance of data
Common database activity
Choosing the Proper System and Setup
Processor
Memory
Disk storage
Backup media
Chapter 7: Choosing a Database Product
Overview of Choosing Database Products
Architecture
Relationship modeling and the relational model
Hardware and operating system platforms
Stored procedures, triggers, and rules
Operating system−related performance issues
Means of multiprocessing
Managing connections
Administrative and other tools
Security techniques
Overall performance
Capability to interface
General design and performance questions
Choosing a DBMS
Oracle
Candidates
Commercial products
Open source products
Recommendations
Part II: Installation and Configuration
Chapter 8: Installation
MySQL
Requirements and decisions
Preparation
Installing
PostgreSQL
Requirements
Installation
Oracle8i
Requirements and preparation
Chapter 9: Configuration
Effective Schema Design
Data modeling
Normalization
Joins
Data definition language
Data manipulation languages and schema design
Database query languages and schema design
Capacity Planning
Storage
RAID
Examples of demands on memory: MySQL
Processors
Redundancy and backup
Initial Configuration
Linux concepts and commands
Vendor−specific configuration
Part III: Interaction and Usage
Chapter 10: Interacting with the Database
Interacting with MySQL
Dumping a database
Importing text files
Displaying database summary information
Interacting with PostgreSQL
Interacting with Oracle8i
Navigating the Server Console
Basic Operations
Chapter 11: Linux Database Tools
Vendor−Supplied Tools
Open source tools: PostgreSQL
Open source tools: MySQL
Third−Party Tools
Brio.Report
C/Database Toolchest
CoSORT
DBMS/COPY for UNIX/Linux
OpenAccess ODBC and OLE DB SDK
OpenLink Virtuoso
Part IV: Programming Applications
Chapter 12: Application Architecture
What Is a Database Application?
Evolution of the database application
Costs and benefits
The Three−Tier Model
Bottom tier: Access to the database
Middle tier: Business logic
Top tier: User interface
How the tiers relate to each other
Benefits of the three−tier model
Three−tier model: An example
Organization of the Tiers
Clients and servers
Drivers
From Tiers to Programs
Common Gateway Interface
Applets
Servlet
Chapter 13: Programming Interfaces
Basic Database Connectivity Concepts through an API
Connecting to a database
Disconnecting from a database
API and Code Examples
ODBC and C/C++
DBI and Perl
Using the interface
Retrieving results
Transactions
Retrieving metadata
Java and JDBC
Using JDBC
PHP and MySQL
Linux Shell Scripts and Piping
Some Notes about Performance
Connecting to a data source
Using column binding
Executing calls with SQLPrepare and SQLExecute versus direct execution
Transactions and committing data
Chapter 14: Programming APIs−Extended Examples
Open Database Connectivity
Structure of an ODBC application
Installing and configuring ODBC under Linux
Basic program structure
Binding a variable to a parameter
Reading data returned by a SELECT statement
Handling user input
SQL interpreter
Java Database Connectivity
Structure of JDBC
Installing a JDBC driver
Elements of the JDBC standard
A simple example
Modifying the database
NULL data
Preparing a statement
General SQL statements
Metadata
Other features
Perl DBI
Structure of Perl DBI
Installing and configuring a Perl DBI driver
Methods of execution
Binding parameters
Chapter 15: Standalone Applications
Standalone Database Applications
Application architecture
Scope
An Example of a Standalone Linux Database Application
Initial database design
User interface
Implementation
Choosing the language/API
Object−oriented programming
The customer class
The menu class
Main
Chapter 16: Web Applications
The New Problem to Solve
Security
Logging in
Looking up prior purchase history
Checking for prior discount
Displaying the welcome page banner
The order−entry form
Using a buffer for the products table
Processing each line
Accepting and Posting the Customer Order
Posting a new order header record
Posting new order detail records
Posting 'discount given' in the customer's record
Posting new customer data
Part V: Administrivia
Chapter 17: Administration
System Administration
Backing up
Managing Performance
Managing processes
Database Administration
MySQL: Importing text files
MySQL: Database summary information
PostgreSQL: Dumping a database
pg_dump
pg_dumpall
PostgreSQL: Importing text files
PostgreSQL: Displaying database summary information
Chapter 18: Security and Disaster Recovery
Security Tools
Corporate policy statements
Database auditing procedures
Operating system auditing procedures
Incident reporting procedures
Physical security
Logical security
Disaster Prevention and Recovery
Environmental protection
Backups
Disaster recovery plan
Chapter 19: Modern Database Deployment
System Architecture
Designing for n−tier success
Internet Databases
Universal Databases
Advanced Applications
Transaction monitors
Appendix: Frequently Used Linux Commands
0 of .
Results for:
No results containing your search query
P. 1
Linux Database Bible

Linux Database Bible

Ratings: (0)|Views: 7,245|Likes:
Published by book0reader

More info:

Published by: book0reader on Dec 01, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

02/04/2013

pdf

text

original

You're Reading a Free Preview
Pages 11 to 138 are not shown in this preview.
You're Reading a Free Preview
Pages 149 to 248 are not shown in this preview.
You're Reading a Free Preview
Pages 259 to 488 are not shown in this preview.
You're Reading a Free Preview
Pages 500 to 534 are not shown in this preview.

Activity (12)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
wizrun liked this
ysaiasv liked this
Joseph Andy liked this
marceloedy liked this
dantodorov liked this
levieuxdjo liked this
PATXITM liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->