Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this

Table Of Contents

Linux Database Bible
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
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
Chapter 2: The Relational Model
What Is a Database?
What are data?
What does it mean to maintain a body of data?
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
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
Structure of the language
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
ORDER BY: Sort output
DISTINCT and ALL: Eliminate or request duplicate rows
Outer joins
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
Stored Procedures and Triggers
Chapter 4: Designing a Database
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
Disk storage
Backup media
Chapter 7: Choosing a Database Product
Overview of Choosing Database Products
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
Commercial products
Open source products
Part II: Installation and Configuration
Chapter 8: Installation
Requirements and decisions
Requirements and preparation
Chapter 9: Configuration
Effective Schema Design
Data modeling
Data definition language
Data manipulation languages and schema design
Database query languages and schema design
Capacity Planning
Examples of demands on memory: MySQL
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
C/Database Toolchest
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
From Tiers to Programs
Common Gateway Interface
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
Retrieving metadata
Java and JDBC
Using JDBC
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
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
An Example of a Standalone Linux Database Application
Initial database design
User interface
Choosing the language/API
Object−oriented programming
The customer class
The menu class
Chapter 16: Web Applications
The New Problem to Solve
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
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
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: 347 |Likes:
Published by Md. Shible Sadiqe

More info:

Published by: Md. Shible Sadiqe on Oct 24, 2010
Copyright:Attribution Non-commercial


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





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 (15)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
sankumi liked this
GVF liked this
payakkamron liked this
ashish_mahana liked this
ashish_mahana liked this
DELHAYE liked this
marceloedy liked this

You're Reading a Free Preview

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