100% found this document useful (2 votes)
6 views

Oracle DBA on UNIX and Linux 1st Edition Michael Wessler instant download

The document provides information about the book 'Oracle DBA on UNIX and Linux' by Michael Wessler, detailing its contents, including the role of a DBA, Oracle server architecture, database planning, and daily activities. It also lists various related eBooks available for download. The book aims to serve as a comprehensive guide for Oracle Database Administrators working in UNIX and Linux environments.

Uploaded by

sudheeledion
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
6 views

Oracle DBA on UNIX and Linux 1st Edition Michael Wessler instant download

The document provides information about the book 'Oracle DBA on UNIX and Linux' by Michael Wessler, detailing its contents, including the role of a DBA, Oracle server architecture, database planning, and daily activities. It also lists various related eBooks available for download. The book aims to serve as a comprehensive guide for Oracle Database Administrators working in UNIX and Linux environments.

Uploaded by

sudheeledion
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 65

Oracle DBA on UNIX and Linux 1st Edition Michael

Wessler pdf download

https://ebookname.com/product/oracle-dba-on-unix-and-linux-1st-
edition-michael-wessler/

Get Instant Ebook Downloads – Browse at https://ebookname.com


Instant digital products (PDF, ePub, MOBI) available
Download now and explore formats that suit you...

Guide to UNIX using Linux 4th Edition Michael Palmer

https://ebookname.com/product/guide-to-unix-using-linux-4th-
edition-michael-palmer/

PeopleSoft for the Oracle DBA 2nd ed Edition David


Kurtz

https://ebookname.com/product/peoplesoft-for-the-oracle-dba-2nd-
ed-edition-david-kurtz/

Python for Unix and Linux System Administration 1st


Edition Noah Gift

https://ebookname.com/product/python-for-unix-and-linux-system-
administration-1st-edition-noah-gift/

John Howe Fantasy Art Workshop 2nd Edition John Howe

https://ebookname.com/product/john-howe-fantasy-art-workshop-2nd-
edition-john-howe/
Black Decker The Complete Guide to Kitchens 3rd ed
Edition Black & Decker

https://ebookname.com/product/black-decker-the-complete-guide-to-
kitchens-3rd-ed-edition-black-decker/

Thinking Utopia Steps into Other Worlds 1st Edition


Jörn Rüsen (Editor)

https://ebookname.com/product/thinking-utopia-steps-into-other-
worlds-1st-edition-jorn-rusen-editor/

Depression 2nd Ed Causes and Treatment 2nd Edition


Aaron T. Beck

https://ebookname.com/product/depression-2nd-ed-causes-and-
treatment-2nd-edition-aaron-t-beck/

Essentials of Cognitive Radio 1st Edition Linda E.


Doyle

https://ebookname.com/product/essentials-of-cognitive-radio-1st-
edition-linda-e-doyle/

The Correspondence of Erasmus Letters 1 141 1484 1500


1st Edition Desiderius Erasmus

https://ebookname.com/product/the-correspondence-of-erasmus-
letters-1-141-1484-1500-1st-edition-desiderius-erasmus/
Wastewater Pathogens 1st Edition Michael H. Gerardi

https://ebookname.com/product/wastewater-pathogens-1st-edition-
michael-h-gerardi/
Oracle DBA on Unix and Linux
Michael Wessler

800 East 96th St., Indianapolis, Indiana, 46240 USA


Oracle DBA on Unix and Linux ASSOCIATE PUBLISHER
Copyright © 2002 by Sams Jeff Koch

All rights reserved. No part of this book shall be reproduced, stored in a ACQUISITIONS EDITOR
retrieval system, or transmitted by any means, electronic, mechanical, photo- Kathryn Purdum
copying, recording, or otherwise, without written permission from the pub-
DEVELOPMENT EDITOR
lisher. No patent liability is assumed with respect to the use of the information
Kevin Howard
contained herein. Although every precaution has been taken in the preparation
of this book, the publisher and author assume no responsibility for errors or MANAGING EDITOR
omissions. Nor is any liability assumed for damages resulting from the use of Matt Purcell
the information contained herein.
PROJECT EDITOR
International Standard Book Number: 0-672-32158-0 Natalie F. Harris
Library of Congress Catalog Card Number: 2001089580 COPY EDITOR
Printed in the United States of America Kezia Endsley
First Printing: November 2001 INDEXER
Second Printing with corrections: April 2002 Erika Millen
06 05 04 7 6 5 4 PROOFREADER
Jody Larsen
Trademarks
All terms mentioned in this book that are known to be trademarks or service TECHNICAL EDITORS
marks have been appropriately capitalized. Sams cannot attest to the accuracy Jim Kotan
of this information. Use of a term in this book should not be regarded as Paul Love
affecting the validity of any trademark or service mark.
TEAM COORDINATOR
Vicki Harding
Warning and Disclaimer Denni Bannister
Every effort has been made to make this book as complete and as accurate as
possible, but no warranty or fitness is implied. The information provided is on INTERIOR DESIGNER
an “as is” basis. The author and the publisher shall have neither liability nor Dan Armstrong
responsibility to any person or entity with respect to any loss or damages aris-
COVER DESIGNER
ing from the information contained in this book.
Aren Howell
Bulk Sales PAGE LAYOUT
Sams Publishing offers excellent discounts on this book when ordered in quan- Lizbeth Patterson
tity for bulk purchases or special sales. For more information, please contact Heather Stephenson
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Sales
1-317-428-3341
international@pearsontechgroup.com
Contents at a Glance
Introduction 1
1 Role of the DBA 5
2 Architecture of the Oracle Server 29
3 Planning a Database 63
4 Machine Setup and Installation 87
5 Creating a Database 111
6 Daily Activities 139
7 GUI Management Products 175
8 DBA Utilities 203
9 Backup and Recovery 237
10 When Things Go Wrong 271
11 Oracle Server Tuning 293
12 Unix Operation System Architecture 321
13 Unix Server Monitoring 341
14 Patches and Upgrades 373
15 Migrations 395
16 Java Inside the Database Server 417
17 Web DB/Oracle Portal 437
18 Internet Application Server (iAS) 463
19 9i Server New Features 485
20 Growth of the DBA 511
A Basic Unix Commands 525
B vi Editor 533
C Scripts 537
D Glossary 543
Index 551
Contents
Introduction 1
Who Should Read This Book? ..........................................................2
What Makes This Book Different? ..................................................3

1 Role of the DBA 5


What Is a DBA? ......................................................................................6
Depends on the Shop ........................................................................6
Where DBAs Come From ................................................................6
Paths to Becoming a DBA ................................................................7
System Administrator (SA) ..............................................................7
Developer/Programmer ....................................................................7
Systems Designer/Data Modeler ......................................................8
Other Paths ........................................................................................8
Types of DBAs ........................................................................................8
Application DBA ..............................................................................8
Systems DBA ....................................................................................8
Maintenance DBA ............................................................................9
Database Administration Principles ........................................................9
Data Protection ..................................................................................9
Data Availability ..............................................................................11
Database Administration Responsibilities ..........................................12
Database Technical Responsibilities ..............................................12
Non-Technical Responsibilities ......................................................16
Skills Needed ..................................................................................18
Roles Within the IT Organization ........................................................22
System Administrators ....................................................................22
Programmers/Developers ................................................................24
Management ....................................................................................24
Customers and End Users ..............................................................25
Outside Organizations ....................................................................26
DBA Mindset ........................................................................................26
Summary ..............................................................................................27

2 Architecture of the
Oracle Server 29
Oracle Products Relating to Database Servers ....................................30
SQL*Plus ........................................................................................31
Server Manager ..............................................................................32
Net8 ................................................................................................32
v
Oracle DBA on Unix and Linux

Database Versus Instance ......................................................................33


Oracle File Types ..................................................................................34
Control Files ....................................................................................34
Data Files ........................................................................................35
System ............................................................................................36
Data ..................................................................................................36
Index ................................................................................................37
Temp ................................................................................................38
Rollback ..........................................................................................38
Online Redo Logs ............................................................................40
Memory Structures ..............................................................................42
Shared Global Area (SGA) ..............................................................42
Shared Pool ......................................................................................46
Redo Log Buffer ..............................................................................47
Large Pool ......................................................................................48
Java Pool ..........................................................................................48
Oracle Processes ..................................................................................49
Server Processes ..............................................................................50
Background Processes ....................................................................52
System Monitor Process (SMON) ..................................................53
Process Monitor Process (PMON) ..................................................53
Database Writer Process (DBWn) ..................................................53
Log Writer Process (LGWR) ..........................................................54
Checkpoint Process (CKPT) ..........................................................55
Archiver Process (ARCn) ................................................................56
Recover Process (RECO) ................................................................56
Job Queue Processes (SNPnn) ........................................................56
Queue Monitor Processes (QMNnn) ..............................................56
Dispatcher Processes (Dnnn) ..........................................................56
Shared Server Processes (Snnn) ......................................................56
Transaction Control ..............................................................................57
Miscellaneous Database Files ..............................................................59
Oracle Database Parameter and Log Files ......................................59
Summary ..............................................................................................62

3. Planning a Database 63
System Architecture ..............................................................................64
Two-Tier Basic Client Server Architecture (2 Tier) ........................65
Three-Tier Client Server Architecture ............................................66
Capacity Planning/Sizing ......................................................................67
Optimal Flexible Architecture ..............................................................71
vi
Oracle DBA on Unix and Linux

Application and Database Considerations ............................................76


Hybrid Systems ..............................................................................79
Summary ..............................................................................................85

4 Machine Setup and Installation 87


Pre-Installation Setup ............................................................................88
Gathering Information ....................................................................88
Configuring the System ..................................................................92
Oracle Environment Setup ..............................................................97
Installing Oracle ..................................................................................102
Installation Process ........................................................................102
Verification of a Good Install ........................................................107
Applying Patches ..........................................................................109
Summary ............................................................................................109

5 Creating a Database 111


Generating Creation Scripts ................................................................112
Use of Scripts ................................................................................112
Database Configuration Assistant ................................................113
Customize the Scripts ....................................................................121
Creating the Database ........................................................................123
Running the Scripts ......................................................................124
Review the Create Logs ................................................................125
Examine the Database Instance ....................................................125
Compile Invalid Objects ................................................................127
Clean Up a Failed Database ..........................................................129
Post-Creation Activities ......................................................................129
Changing the Passwords ................................................................129
Modifying oratab File ....................................................................131
Create a Soft Link for init.ora ......................................................131
Configuring Net8 for the New Database ............................................132
tnsnames.ora ..................................................................................133
listener.ora ....................................................................................134
listener ..........................................................................................135
Customizing Your .profile File ..........................................................137
Summary ............................................................................................138

6 Daily Activities 139


Database Views ..................................................................................140
Oracle Startup/Shutdown ....................................................................142
Database Stages ............................................................................142
Database Startup ............................................................................143
Database Shutdown ......................................................................145
vii
Oracle DBA on Unix and Linux

User Management ..............................................................................148


Creating Users ..............................................................................149
Privileges ......................................................................................149
Roles ..............................................................................................151
Quotas ............................................................................................151
Table, Index, Sequence Creation and Maintenance ......................152
Identifying Objects and Synonyms ..............................................154
Space Management ............................................................................157
Storage Hierarchy ..........................................................................157
Tablespace Management ..............................................................160
Monitoring ..........................................................................................163
Verify Database and Connectivity ................................................163
Alert Log ......................................................................................164
Monitor Database Objects ............................................................165
Setting Up and Monitoring cron Jobs ..........................................166
Monitoring Backups ......................................................................168
Monitoring Exports ......................................................................169
Monitor Space on Filesystems ......................................................170
Electronic Monitoring and Notification ........................................171
Summary ............................................................................................173

7 GUI Management Products 175


Oracle Enterprise Manager ................................................................176
Architecture ..................................................................................176
Installation ....................................................................................179
OEM Controls ..............................................................................190
OEM Tools ....................................................................................193
TOAD ..................................................................................................200
Summary ............................................................................................201

8 DBA Utilities 203


Export and Import ..............................................................................204
Overview of Export and Import ....................................................204
Using Export ..................................................................................205
Export Types ..................................................................................206
Using Import ..................................................................................211
Common Export/Import Uses ............................................................216
Logical Backups ............................................................................216
Maintenance Benefits of Export/Import ............................................220
Table Rebuilds ..............................................................................220
Corruption Checks ........................................................................221
Row Counts ..................................................................................221
Common Mistakes ........................................................................222
viii
Oracle DBA on Unix and Linux

Advanced Export and Import Techniques ..........................................223


Export and Import with Compress and Pipe ................................223
Editing a Dump (.dmp) File ..........................................................225
Tuning Parameters ........................................................................226
Using SQL*Loader ............................................................................227
SQL*Loader Load Types ..............................................................229
Using LogMiner ..................................................................................233
Summary ............................................................................................235

9 Backup and Recovery 237


Importance of Backups ......................................................................238
Backup Types ......................................................................................239
Logical Backups ............................................................................239
Physical Backups ..........................................................................240
Incurring Damage on the Database ....................................................241
Impact on the Database ................................................................241
Adding Fault Tolerance ................................................................243
Performing Backups and Recoveries ..................................................247
Cold Backups and Recoveries ......................................................248
Cold Backups and NOARCHIVELOG Mode ..............................249
Cold Backups in ARCHIVELOG Mode ......................................249
Hot Backups and Recoveries ........................................................250
Backup of Software and Parameter Files ......................................266
Comprehensive Planning and Testing ................................................267
Planning ........................................................................................267
Testing ..........................................................................................269
Summary ............................................................................................270

10 When Things Go Wrong 271


Responding to Problems ....................................................................272
Information Gathering ..................................................................272
Problem Identification at the System Level ..................................273
Identifying Technical Problems ....................................................275
File and Space Management ..............................................................281
Sizing Data Files ..........................................................................282
Moving and Renaming Data Files ................................................282
Locking ..............................................................................................286
DML Locking ................................................................................287
DDL Locking ................................................................................290
”Snapshot Too Old” Rollback Errors ................................................290
Summary ............................................................................................292
ix
Oracle DBA on Unix and Linux

11 Oracle Server Tuning 293


Database Tuning Approach ................................................................294
Diagnostic Utilities: UTLBSTAT/UTLESTAT and STATSPACK ....296
UTLBSTAT/UTLESTAT ..............................................................296
STATSPACK ..................................................................................298
Tuning Memory Structures ................................................................301
Ratios ............................................................................................302
Database Buffer Cache ..................................................................302
Redo Log Buffer ............................................................................303
Library Cache ................................................................................303
Data Dictionary Cache ..................................................................304
Disk Sorts ......................................................................................305
Tuning Rollback Segments ................................................................305
Rollback Segments for OLTP ........................................................305
Rollback Segments for Batch Jobs ................................................306
Monitoring Rollback Segment Usage ..........................................307
Avoiding File Contention ..................................................................308
Wait Events ........................................................................................309
V$SYSTEM_EVENT ..................................................................310
V$SESSION_EVENT ..................................................................310
V$SESSION_WAIT ......................................................................311
Locally Managed Tablespaces ............................................................311
Tuning Tables ......................................................................................313
Index Organized Tables (IOTs) ....................................................313
Partitioned Tables ..........................................................................314
Row Migration and Chaining ........................................................316
Indexes ................................................................................................318
Summary ............................................................................................320

12 Unix Operation System Architecture 321


Imperative Concepts ..........................................................................321
Understanding the Kernel ..................................................................322
Unix Processes ..............................................................................323
How Unix Manages Memory ........................................................328
Filesystems and Files ....................................................................330
I/O Subsystem ..............................................................................334
Startup/Shutdown Processes in Unix ..................................................335
Understanding the Hardware Architecture ........................................337
Uniprocessor Machines ................................................................337
Symmetrical Multiprocessor Machines ........................................338
Clusters ..........................................................................................338
MPPs and NUMAs ........................................................................339
Summary ............................................................................................340
x
Oracle DBA on Unix and Linux

13 Unix Server Monitoring 341


Need for Monitoring the Server ........................................................342
Overview of Monitoring the Server ....................................................343
Monitoring Memory Issues ................................................................344
Shared Memory and Semaphores ..................................................344
SGA Allocation ............................................................................346
Intimate Shared Memory ..............................................................347
Cleaning Up Shared Memory and Semaphores ............................348
Monitoring Memory ......................................................................354
Monitoring Disk I/O ..........................................................................356
RAID ............................................................................................357
Raw Partitions ..............................................................................359
Asynchronous I/O ..........................................................................360
Monitoring Disk I/O ......................................................................360
Monitoring the CPU ..........................................................................362
Monitoring the CPU ......................................................................365
Monitoring the Network ....................................................................368
Monitoring Network Usage ..........................................................369
Summary ............................................................................................371

14 Patches and Upgrades 373


What Are Patches and Upgrades? ......................................................374
When and How to Apply Patches ......................................................376
Overview ......................................................................................376
Applying a Patch to Your System ..................................................378
Example Patch ..............................................................................382
When and How to Upgrade ..............................................................385
Overview ......................................................................................385
Performing an Upgrade ................................................................386
Example Upgrade ..........................................................................388
Additional Considerations ..................................................................391
Summary ............................................................................................392

15 Migrations 395
What Is a Migration ............................................................................396
Reasons to Migrate Your Database ....................................................397
Preparation ..........................................................................................398
Planning ........................................................................................398
Database Testing ..........................................................................398
Application Testing ......................................................................399
Migration Testing ..........................................................................400
xi
Oracle DBA on Unix and Linux

Migration Methods ............................................................................401


Export/Import ................................................................................401
mig ................................................................................................402
ODMA ..........................................................................................403
Version of the Source Database ....................................................403
Time Available to Perform the Migration ....................................403
Skill of the DBA ............................................................................403
Using ODMA ......................................................................................404
Overview ......................................................................................404
Migration Steps Using ODMA ....................................................405
Summary ............................................................................................415

16 Java Inside the Database Server 417


Understanding the Role and Future of Java Inside Oracle ................418
Java Overview ....................................................................................420
Supporting Java with Oracle ..............................................................422
Java Outside the Database ............................................................422
Java Inside the Database ................................................................423
Managing Java Inside the Database ....................................................426
Java Configuration Parameters ......................................................426
Installing Java ................................................................................427
Uninstalling Java ..........................................................................429
Creating, Loading, and Running Java Programs ..........................430
Configuring MTS and IIOP for Java ............................................433
Loading EJBs and CORBA Servers ..............................................435
Summary ............................................................................................436

17 WebDB/Oracle Portal 437


What Are WebDB and Oracle Portal? ................................................438
Purpose ..........................................................................................438
WebDB/Oracle Portal Architecture ....................................................439
Installation ..........................................................................................440
Basic WebDB Maintenance ................................................................450
Starting and Stopping the Listener ................................................450
Log into the Site ................................................................................451
WebDB Utility Links ....................................................................452
Key Differences between Oracle Portal and WebDB ........................460
Summary ............................................................................................461

18 Internet Application Server (iAS) 463


Web Environment ..............................................................................464
Technological Design ....................................................................467
Scalability ......................................................................................467
Availability ....................................................................................468
xii
Oracle DBA on Unix and Linux

Understanding and Using iAS ............................................................468


Modules ........................................................................................470
Oracle Forms, Reports, and Discover ..........................................470
Oracle Portal ..................................................................................471
PSPs and JSPs ..............................................................................471
iFS ..................................................................................................471
Oracle 8i JVM ..............................................................................471
Database Cache and Web Cache ..................................................471
Installation ..........................................................................................472
Configuration File Location and Apache Control ..............................482
Summary ............................................................................................483

19 9i Server New Features 485


Installing the 9i Server ........................................................................486
Setting Up Security and Logging In ..................................................488
Creating a Server Parameter File (SPFILE) ......................................490
Using Oracle-Managed Files ..............................................................494
Using Dynamic Memory Parameters and Multiple Block Sizes ......500
Using Undo Tablespaces ....................................................................503
Comprehensive Sample Schemas ......................................................506
Miscellaneous Features and Changes ................................................508
Summary ............................................................................................508

20 Growth of the DBA 511


Growth of the DBA ............................................................................512
Motivation ..........................................................................................512
Continuing Your Education ................................................................512
Traditional Education ....................................................................513
Oracle University Classes ............................................................513
Third-Party Oracle Classes ............................................................514
Learning on Your Own ..................................................................514
Emerging Technologies ................................................................515
Getting Certified ................................................................................516
Available Certification Tracks ......................................................516
Preparation ....................................................................................517
Taking the Test ..............................................................................518
Benefits of Certification ................................................................518
Networking with Other DBAs ............................................................519
Technical Benefits ........................................................................519
Professional Benefits ....................................................................520
Consulting/Contracting versus Salaried Employee ......................521
Learning Systems Administration and Architecture ..........................522
Learning Java ......................................................................................522
Summary ............................................................................................523
xiii
Oracle DBA on Unix and Linux

A Basic Unix Commands 525

B vi Editor 533
Cursor-Movement Commands ............................................................534
Entering Text ......................................................................................534
Editing Text ........................................................................................535
Saving and Exiting ..............................................................................535
Miscellaneous Commands ..................................................................535

C Scripts 537
Hot Backup Script ..............................................................................541

D Glossary 543

Index 551
About the Author
Michael Wessler received his B.S. in Computer Technology from Purdue University in West
Lafayette, IN. He is an Oracle Certified Database Administrator for Oracle 8 and 8i. He has
administered Oracle databases on NT, and various flavors of Unix, and Linux at several differ-
ent companies ranging from a handful of employees to IT staffs in the thousands. Included in
this experience is working at a true .com startup and managing a mission-critical OPS database
on a Sun Cluster. Michael has also programmed professionally in COBOL, SQL, and PL/SQL.
Currently, he is an Oracle consultant for Perpetual Technologies working at the Department of
Defense in Indianapolis, Indiana. Michael is coauthor of Oracle Unleashed, Second Edition;
Unix Primer Plus, Third Edition; and COBOL Unleashed. Michael can be reached at
mwessler@yahoo.com.

About the Technical Editor


Residing in Omaha, Nebraska, Jim Kotan has been in the Information Technology field since
1987 as a Unix System Administrator, Oracle DBA, Programmer, Consultant, and Manager.
Jim has also written numerous articles for Inside SCO Unix Systems Magazine. He is currently
a Production Oracle Database Administration Engineer for Qwest Communications,
International where he specializes in Shell Programming, Backup & Recovery, Migrations of
High Availability databases and Database Creations. Jim’s favorite activities are Bible Study,
bicycle riding, writing code and target shooting.
Dedication
I would like to dedicate this work to the memory of my grandfather Robert Johnson.
We miss you, Daddy Bob!!!

Acknowledgments
No one writes a book like this in total isolation. This book is certainly no exception and I’d
like to thank the following people.
All the hard working people at Sams. Katie Purdum, my Acquisitions Editor, for making this
work possible. Kevin Howard for developing this book. Natalie Harris for all her hard work.
Kezia Endsley for helping out with the grammar. Thanks to Jim Kotan for his skilled technical
review. It certainly was a pleasure to work with all of you on this project.
I’d like to thank fellow author Rich Blum for his overall support and advice during this project.
Rich’s experience with writing and wisdom made this project much easier. I’d also like to
thank the following people for the miscellaneous support they provided, particularly in terms
of networking and hardware: Tige Chastain, Ben Styring, John Pahos, Brian Conant, and Ed
Lewis. Thanks guys!
The following people have helped me professionally and technically to get to the point where I
could write this book. First, a very special thanks to Dan Wilson for always being there to
help, guide, and answer questions. Bill Pierce for giving me that first opportunity and showing
me how an MIS shop ought to be run. The following System Administrators showed incredible
patience with me in the early days: Mark Hinkle, Karl Buchman, and Greg Hartman. Thanks to
the Purdue University Computer Technology Department, particularly Professors Goldman,
Weaver, and Boggess. Finally, thanks to Ryan, Ron, and Chris for providing me such a great
opportunity at Perpetual.
Finally, I’d like to thank my family and friends for being so understanding when I said, “Sorry,
I can’t do X, I have to write.” Anyone who has ever authored a book understands just how
much time it takes to do it right. Mom, Dad, Grandma, Nanny, Joe, Angie, Tim, Emily, Rob,
Marsha, Zach, Travis; I’ll actually be around more often! For my friends Erik, Kalynn, JJ,
Brian, John, Mark, Sam, Zach, Josh, Bob, Becky, Ben, and Wendy; I’ll actually be able to go
out again!
Tell Us What You Think!
As the reader of this book, you are our most important critic and commentator. We value your
opinion and want to know what we’re doing right, what we could do better, what areas you’d
like to see us publish in, and any other words of wisdom you’re willing to pass our way.
As an Associate Publisher for Sams, I welcome your comments. You can email or write me
directly to let me know what you did or didn’t like about this book—as well as what we can do
to make our books stronger.
Please note that I cannot help you with technical problems related to the topic of this book,
and that due to the high volume of mail I receive, I might not be able to reply to every mes-
sage.
When you write, please be sure to include this book’s title and author as well as your name
and phone or fax number. I will carefully review your comments and share them with the
author and editors who worked on the book.
Email: feedback@samspublishing.com
Mail: Michael Stephens
Sams Publishing
800 East 96th Street
Indianapolis, IN 46240 USA
Introduction
Oracle is a complex Object Relational Database Management System and is probably the best
database that money can buy. People know this and that is why they trust their businesses to
Oracle. Furthermore, when they do buy Oracle they usually run it on a Unix or Linux system.
Experience shows that Unix operating systems are robust, dependable, and scalable. That is
why most companies use Unix when they have to develop large or critical systems to support
their businesses.
At the other end of the spectrum, Linux systems were initially introduced as testing and develop-
ment systems. Basically, people loaded Linux on old machines to learn and test with. Recently,
however, Linux has become a respected operating system that many companies, particularly
Internet startups, use to run their businesses. As a result of these factors, there are a large number
of Oracle systems running on both Unix and Linux.
Unfortunately, however, there are relatively few people who know Oracle and Unix/Linux. To
be an effective DBA, however, you must understand how the database interacts with the opera-
tion system. Oracle and the Unix/Linux operating systems are tied closely together. Anything
that impacts the operating system will likely impact the database. Likewise, the behavior of the
database will impact the performance of the server. Despite efforts by Oracle and various oper-
ating system vendors to simplify administration, this is still an inescapable fact. The key here
is to view Oracle and Unix/Linux as a total system, not as separate, isolated pieces.
I have worked with many people who were trained as Oracle DBAs, but couldn’t perform basic
tasks, such as install software or apply patches, if their lives depended on it. Usually they went
to some school or class that taught them about Oracle in a vacuum, but never provided any
information in the context of the operation system. This “one size fits all” approach to training
isn’t sufficient. The reality is that when they come into the industry as DBAs, they are almost
helpless because they understand only half of the Oracle and Unix/Linux equation.
I have also worked with some Unix System Administrators who thought of Oracle as just
another application. In reality, this is far from the truth. In fact, Oracle is more of an operating
system than an application. These people had a very difficult time understanding why and how
they needed to configure their servers to run Oracle optimally. Once again, their “one size fits
all” mentality resulted in failure.
To manage this system, whereby Oracle is tied closely to Unix and Linux, you need to under-
stand both sides of the equation. However, the reality often is that DBAs only understand
Oracle and SAs only understand Unix/Linux. This is indeed a problem.
2
ORACLE DBA ON UNIX AND LINUX

My solution in this book is to show DBAs what they need to know to run Oracle on Unix and
Linux. That way, they are not dependent on finding the rare System Administrator who under-
stands Oracle. In this way, you also understand how and why Unix and Linux work the way
they do.
My goal with this book is two-fold:
• Write a book that shows database administration in a way that combines the skills of the
DBA with the knowledge of a Unix/Linux System Administrator. This allows you to
manage the database and Unix/Linux server as a total system.
• Write a book that is for the working DBA. I have written this book as if I’m writing
notes and procedures for a co-worker. I combine solid theoretical database and system
administration knowledge with practical examples of what I do on the job. I think it is
important to know how and why the database and operating system works the way they
do, so I cover some theory. On the other hand, I give detailed examples of how to per-
form regular DBA tasks. If I’ve had to struggle to get something working, you’ll find
that information in this book.
First I cover what a DBA’s job really is and how you can survive as one. Next, I cover Oracle
architecture so you understand how and why Oracle works the way it does. I also cover the
initial steps, from planning your database, to setting up your Unix/Linux server, and then
installing Oracle. I then cover how to intelligently create databases and manage them on a
daily basis. I spend a lot of time showing you how to solve problems as they occur, both from
an Oracle and a Unix/Linux perspective. Chapters are dedicated to tuning both the database
and Unix/Linux servers. Additionally, I show you how to Web-enable your system using Java
and iAS. Finally, I explain some of the new features of Oracle’s new database, 9i.

Who Should Read This Book?


This book is geared for the person who knows what a database is and has basic SQL skills, but
wants to learn how to build and manage Oracle databases on either Unix or Linux. This book
isn’t geared towards certification, but rather towards becoming a proficient and seasoned DBA
in the Unix/Linux environments.
The following people will get the most benefit out of this book:
• Computer professionals who are starting their first jobs as Oracle DBAs.
• Experienced Oracle DBAs from NT or other platforms making the move to the Unix and
Linux platforms.
• DBAs with experience on other databases, such as SQL Server or DB2. This experience
can be on Unix and Linux or any other platform.
3
INTRODUCTION

• System Administrators who have to support database servers and want to know more
about the database they indirectly support.
• Developers who need to understand how Oracle works on the platform they support.
• People new to databases who want to install Oracle on a Linux box so they can learn the
technology.
• Computer science and technology students.
I have written this book assuming the reader has basic skills regarding computers, understands
what a database is, and knows basic SQL. If you have these skills and have access to either a
Unix or Linux machine, you should be able to create a database and do all the examples in this
book. This should prepare you for most of what you will run into on the job as a DBA.

What Makes This Book Different?


There are many books written about Oracle database administration, but very few, if any, focus
on DBA work in the Unix and Linux environments. Most books on the Oracle subject try to
separate the DBA from the operation system. Although that might make a book easier to write,
it doesn’t work in the real world.
What this book offers is a solid DBA guide, but tailored to the Unix and Linux platforms. This
book is more than just a generic DBA book where all the examples happen to be on a Unix or
Linux machine. Rather, I show you the “tricks of the trade” that’ll help you support Unix and
Linux systems. I show you what working DBAs do on a daily basis and why.
Part of this book deliberately touches on subjects that are traditionally reserved for System
Administrators. I try to blur the distinction between a DBA and an SA task so you will know
how to manage Oracle on Unix/Linux as a total system.
Key differences between this book and others include:
• This book is written specifically for the Unix and Linux platforms. Most of the focus is
on Sun Solaris, HP-UX, and RedHat Linux, which are three of the most common operat-
ing systems supporting Oracle. However, if you are running another flavor of Unix or
Linux, the concepts will easily transfer.
• I provide detailed information about how and why the database works as it does. I don’t
think it is sufficient just to give the DBA the basics. There are too many “point-and-
click” DBAs with minimal skills already. Rather, I cover topics in detail so you under-
stand why things work the way they do.
• I wrote this book as though I was making notes to myself or explaining topics to another
DBA. I focus on what’s important and what actually works.
4
ORACLE DBA ON UNIX AND LINUX

• As I explain topics, I provide detailed examples and walk you through them. If you have
a system at home, you can follow along and practice. If you can do what is covered in
this book and understand the reasoning behind it, you should do well in a work
environment.
• You will not find marketing material or find me pushing products I wouldn’t run on my
own system. I’m not going to tell you to do something I wouldn’t do myself.
• The book includes coverage of Oracle 9i, Java, and iAS. As of this writing, 9i is being
released. Although I have a chapter dedicated to 9i new features, I also cover differences
between 8i and 9i throughout the book. Also, few DBA books attempt to address Java
and iAS. I cover these topics in a manner so you will know the fundamentals when you
encounter these technologies.
I feel this book is different from most DBA books. I know that they don’t give the Unix- and
Linux-specific details you find here. That alone separates this book from other books. How-
ever, I take this one step further by covering the topic from a working DBA’s standpoint, and I
refuse to water down the technical content. There’s plenty of explanation and theory for you
Oracle purists. Finally, this might well be the first book to cover Oracle 9i and it is one of the
first to address Java and iAS. For those reasons, this book is a more complete and practical
guide than others on the market. I hope you enjoy the book!
Role of the DBA CHAPTER

1
ESSENTIALS
• The official roles and responsibilities of the
DBA depend largely on the particular com-
pany or organization.

• A DBA is the person tasked with making sure


the data is safe and available to the
organization.

• The DBA has both technical responsibilities


dealing with the database and non-technical
responsibilities outside the database.

• Skills required by the successful DBA range


from the obvious technical database skills to
having “people” skills and understanding the
business of the organization.
Oracle DBA on Unix and Linux
6

What Is a DBA?
In its simplest terms, a DBA is the person held responsible and accountable for the safety and
practical availability of the organization’s data. Today, this is typically implemented with a
Relational Database Management System (RDBMS) or an Object Relational Database
Management System (ORDBMS). Most people tend to agree on that definition regardless of
whether dealing with Oracle or another database. Before we look at the duties of the Oracle
DBA on Unix and Linux, we should look at some of the factors affecting the generic DBA’s
job description.

Depends on the Shop


The roles and responsibilities of the DBA can vary greatly from company to company. In fact,
the job of the DBA is continually evolving as new technologies appear, such as the Internet. As
organizations change and receive new management, the role of the DBA can also change to
meet new requirements. Also, as old DBAs leave and new DBAs join an organization, the
scope of the DBA’s responsibilities can change as well, depending on each person’s personality
and experience.
The size of the organization (the shop) has a major influence on the role of the DBA. In a large
environment there are often many DBAs, so there may be well-defined responsibilities given to
each person. Within the shop there may be, for example, a dedicated performance tuning team
while other administrators are assigned individual systems to manage. Also, there may be
many different departments or organizations, each with its own (and sometimes competing)
group of DBAs. If geographically distributed environments are included, the situation becomes
even more complex. These can become tricky environments for a person to navigate because
exact responsibilities and expectations may not be clearly defined or they may be changing.
This is when “turf battles” and organizational politics become problematic.
On the other hand, a small shop might have only one or two DBAs to manage everything. This
is common in Web/Internet startups, for example. In even smaller shops, the DBA might also
be the System Administrator (SA) and may have programming responsibilities as well. I have
found that the smaller shops usually allow greater personal initiative with a wider range of
responsibilities. This can be an exciting place to be, with many great opportunities for a
motivated DBA.

Where DBAs Come From


The background the DBA comes from will naturally influence how this person views the
position. How do people become DBAs and where do they come from? Usually they grow into
the position from another IT-related position, but there are exceptions. The following sections
Role of the DBA
7
CHAPTER 1

describe some of the more common paths to becoming a DBA, which are illustrated in Figure 1
1.1. Keep in mind how each would likely influence how the new DBA views the position.

ROLE OF THE
DBA
System Designer
Data Modeler

Other Paths:
Oracle Database
System Administrator Owner / Entrepreneur
Administrator
Non-IT person making career change

Developer
Programmer

FIGURE 1.1
Some of the more common paths to becoming a DBA.

Paths to Becoming a DBA


System Administrator (SA)
The SA is the person responsible for making sure the organization’s servers and overall com-
puter system are secure and available. In many ways this is very similar to the job of being the
DBA. Usually the SA manages systems supporting the database, so she is already familiar with
its needs. The SA and DBA usually (or at least should) work very closely together to support
their systems. It is for these very good reasons that a SA can pick up the job of being a DBA.
As a DBA, expect these people to look at the database as part of a larger system. For example,
they will view Oracle more as a system supporting users than PL/SQL code needing support.

Developer/Programmer
The developer or programmer is the person who writes code. Whether it is COBOL, C, Java, or
PL/SQL, these are the people who should know how their code is implemented within the sys-
tem. These people usually have a very good understanding of what their organization does and
how it works because they wrote the program to do it. They typically work with the DBA in terms
of requesting tables or tuning SQL for an individual subsystem. As a DBA, expect these people to
look at Oracle initially in terms of packages and procedures rather than backup and recovery.
Oracle DBA on Unix and Linux
8

Systems Designer/Data Modeler


These people design the system from a conceptual view. They use data flow diagrams and
Entity Relationship Diagrams (ERDs) to decide how a system should be organized, but not
necessarily how it is implemented. At some sites they may have the role of data administrator,
whose responsibility is to manage the data from a theoretical standpoint. They will work with
the DBA on how their logical models are actually implemented as tables. They will likely look
at the job of being DBA in terms of managing data and processes rather than the fine details or
advanced features of Oracle.

Other Paths
Some people simply grow into the DBA position by doing DBA tasks until someday someone
says “You’re a DBA.” This is more common in small environments than in larger shops, but it
does happen. It may be an entrepreneur implementing his own idea. In that case he is more
likely to view the database as a means to an end rather than to get caught up in the technology.
Others may be computer operators or even non-technical people making a move to being a
DBA as a way to break into IT. This may be something they wanted and have lobbied for or it
may be forced on them because of a vacancy. It is difficult to tell how they will view the DBA
position, but they will likely be more influenced by their mentors and training material than by
a history of practical experience.

Types of DBAs
Just as there are several roads to becoming a DBA, there are several types of DBA. These clas-
sifications apply more toward large shops because of the need for defining responsibilities.
Also, within each classification, sometimes new DBAs are referred to as Junior DBAs while
more experienced people get senior status. I’ve never been a fan of classifying people that way
because it can be divisive. However, the following descriptions are applicable in some situa-
tions. Just remember that these titles and responsibilities also vary greatly, depending on the
organization.

Application DBA
This person is responsible for a specific application(s) and all the corresponding database
objects at the schema/user level. This DBA works closely with the developers and data model-
ers to assist with table definitions and schema creation. He also focuses on tuning a particular
application by adding indexes or tuning SQL and PL/SQL. Ultimately this person becomes an
expert on the application and database objects involved. It is common to assign new DBAs to
this position initially.
Another Random Document on
Scribd Without Any Related Topics
DUALM, DWALM, DWAUM, s.
1. A swoon, S.
Ross.
2. A sudden fit of sickness, S.
Ritson.
Alem. dualm, caligo mentis stupore correptae.
Dualmyng, Dwauming, s.
1. A Swoon.
Douglas.
2. Metaph. the fall of evening, S. B.
Shirrefs.

DUB, s.
1. A small pool of rain-water, S.
Douglas.
2. A gutter, S.
Ir. dob, a gutter; Celt. dubh, canal.

DUBLAR, s.
V. Dibler.
Bannatyne Poems.

DUCHERY, s. Dukedom.
Bellenden.

DUCK, s. A leader.
V. Duke.

DUCK, s. Sail-cloth.
V. Doock.
DUD, s.
1. A rag, S.
Ross.
Daily dud, the dish-clout, S. B.
2. Duds, dudds, pl. clothing, especially of inferior quality, S.
Polwart.
Gael. dud, a rag, and dudach, ragged. Isl. dude,
indumentum levioris generis.
Duddy, adj. Ragged, S.
Ramsay.

DUDDROUN, s. Sloven, drab.


Dunbar.
Isl. dudr-a, to act in a slovenly manner.

DUDE, for do it, S.


Diallog.

To DUEL, DUELL, DWELL, v. n.


1. To delay, to tarry.
Douglas.
2. To continue in any state.
Barbour.
3. To cease or rest.
Wallace.
4. Dwelt behind, left behind.
Barbour.
Su. G. dwael-ias, id. Isl. duel, moror.
Duelling, s. Delay, tarrying.
Barbour.
DUERGH, s. A dwarf.
V. Droich.
Gawan and Gol.

DUKE, DUCK, s. A general.


Evergreen.

DUKE, DUIK, s. A duck, S.


Bannatyne Poems.

DULCE, adj. Sweet; Lat. dulc-is.


Lyndsay.

DULDER, s. Any thing large, S. B.

To DULE, v. n. To grieve.
Dunbar.
Fr. doul-oir, Lat. dol-ere.
Dule, Dool, s. Grief, S.
Wyntoun.
To sing dool, to lament.
Gl. Shirr.

DULE, DOOL, s. The goal in a game.


Chr. Kirk.
Teut. doel, aggesta terra, in quam sagittarii jaculantur
sagittas.

DULL, s. Hard of hearing, S.


Sir John Sinclair.
DULSE, adj. Dull, heavy, S. B.
Isl. dollsa, appendere ignavum.

DULSE, s. The fucus, a species of seaweed, S.


Martin.
Gael. duilliasg, Ir. dulisk, id.

DUM TAM, a bunch of clothes on a beggar's back, under his coat, S.


B.

To DUMFOUNDER, v. a. To confuse, to stupify, S.

DUMBIE, s. pron. Dummie. One who is dumb, S.


Z. Boyd.

To DUMP, v. a. To strike with the feet, Ang.


Sw. domp-a, rudius palpare.

DUMPY, adj. Short and thick; also used as a s., S.


Isl. doomp, ancillula crassa.

DUMSCUM, s. A game of children, much the same as pallall, or the


beds.

DUN, s. A hill, eminence, S.


Stat. Acc.
A. S. dun, mons; Gael. id. a fortified hill.
To DUNCH, v. a. To push or jog with the fist or elbow, S.
Teut. dons-en, pugno percutere.

DUNCH, s. One who is short and thick, S.


Dunchy, adj. Squat, S.

DUNDERHEAD, s. A blockhead, Loth.


V. Donnart.

DWMMYSMAN, s. A judge.
Wyntown.

DWN, pret. of the v. Do.


Wyntown.

DUNGEON of wit, One having a profound intellect, S.


Boswell.

DUNGERING, s. The dungeon of a castle.


S. P. Repr.

DUNIWASSAL, DUIN-WASSAL, s.
1. A nobleman.
Colvil.
2. A gentleman of secondary rank.
Garnet.
3. Used to denote the lower class of farmers, generally in a
contemptuous way, Ayrs.
Gael. duine, a man, and uasal, noble.
To DUNNER, DUNDER, v. n. To make a noise like thunder.
Gl. Sibb.

To DUNT, v. a. To strike so as to produce a dull hollow sound, S.


Popular Ball.
To Dunt out,
1. To bring any business to a termination, S.
Ross.
2. To come to a thorough explanation, after a variance, S.
Su. G. dunt, ictus.
To Dunt, v. n. To palpitate.
Ramsay.
Dunt, Dount, s.
1. A stroke causing a flat and hollow sound, S. O. E. id.
Peblis to the Play.
2. Palpitation of the heart, S.
Ross.
3. At a dunt, unexpectedly, Stirlings.
Isl. dunt, a stroke given to the back or breast, so as to
produce a sound.
Dunting, s. Continued beating, causing a hollow sound, S.
Melvil.

DUNTER-GOOSE, s. The Eider duck.


Brand.
Su. G. dun, down, and taer-a, to gnaw, because it plucks the
down from its breast.

DUNTY, s. A doxy.
Gl. Ramsay.
DUNZE.
V. Doyn.

DUR, DURE, s. Door.


Wyntown.
A. S. dure, id.

DURGY, adj. Thick, gross, Loth.


Isl. driug-r, densus.

DURK, s. A dagger, S.
Poems Buch. Dial.
Gael. durc, a poniard; Teut. dolck, sica.
To Durk, v. a.
1. To stab with a dagger, S.
Cleland.
2. To spoil, to mismanage, S.

To DURKEN, v. a. To affright.
Sir Gawan.

To DUSCH, v. n.
1. To move with velocity.
Douglas.
2. To twang.
Douglas.
3. To dusch doun. To fall with noise, id.
Douglas.
Germ. dosen, strepitum edere; Isl. thus-a, tumultuose
proruere.
Dusche, s.
1. A fall; as including the crash made by it.
Douglas.
2. A stroke, a blow.
V. Doyce.
Barbour.
Isl. thys, Alem. thuz, doz, fragor.

DUSCHET, DUSSIE, s. A musical instrument.


Poems 16th Cent.

DUSCHET, DUSSIE, s. An indorsement.


Leg. Bp. St Androis.
Fr. douss-er, to indorse.

To DUSH, v. a. To push as a ram, ox, &c. S.


Teut. does-en, pulsare cum impetu; Isl. dusk-a, verbera
infligo.

DUST, s. A tumult.
Su. G. dyst, id.

DUST of a mill, what flies from a mill in grinding,


S. Teut. duyst, pollen.

DUST of lint, what flies from flax in dressing, S.


Teut. doest, lanugo lintei.
DUSTIE-FUTE, DUSTIFIT, s.
1. A pedlar.
Skene.
2. One who is not resident in a country.
Burr. Lawes.
3. Used to denote revelry.
Godly Ball.
To DUTE, DUTT, v. n. To dose, S. B.
Belg. dutt-en, to set a-nodding.
Dut, s. A stupid person, S. B.
Dan. doede, stupidus; Belg. dutt-en, delirare.

DWABLE, DWEBLE, adj. Weak, flexible.


Su. G. dubbel, double.
Ross.

DWALM, DWAUM, s.
V. Dualm.

To DWANG, v. a.
1. To oppress with labour, S. B.
2. To bear, or draw, unequally, S. B.
3. To harass by ill-humour, S. B.
Teut. dwingh-en, domare, arctare.
To Dwang, v. n. To toil, S. B.
Morison.
Dwang, s. A rough shake or throw, S. B.
Morison.
To Dwyne, v. n.
1. To pine, S.
A. Nicol.
2. To fade, applied to nature.
Ferguson.
3. To dwindle, S.
Poems Buch. Dial.
Teut. dwyn-en, attenuare, extenuare.
To Dwyn, v. a. To cause to languish.
Montgomerie.
Dwyning, s. A decline, S.
Isl. dwinar, diminutio.
E

E, Ee, s. The eye, S.


Douglas.

EA, adj. One.


V. the letter A.

To EAND, v. n. To breathe.
V. Aynd, v.

EARLEATHER-PIN, s. An iron pin for fastening the chain by which a


horse draws in a cart, Fife.

To EARM.
V. Yirm.

To EARN, v. n.
1. To coagulate, S.
2. To cause to coagulate, S.
Germ. ge-rinnen, Su. G. raenn-a, coagulare.
Earning, s. Rennet, S.
A. S. gerunning, id.
EARN-BLEATER, s. The snipe, S. B. earnbliter.
Ross.

EARNY-COULIGS, s. pl. Tumuli, Orkn.


Isl. ern, ancient, and kulle, tumulus, Su. G. summitas
montis.

EASING, EASINGDRAP, s. The eaves of a house, S.


A. S. efese; Belg. oosdruyp, id.

To EASSIN, EISIN, v. a.
1. To desire the bull, S.
2. Applied to strong desire of any kind.
Ferguson.
Isl. yxna or oxna, vitula appetens taurum.
Eastning wort, Scabious, an herb, S. A.
Pennecuik.

EARN, s. The Eagle.


V. Ern.

EARTH, s. The act of earing, S. B.


Statist. Acc.
Sw. ard, aratio, from aer-ia, to ear.

EASTIE-WASTIE, s. An unstable person, Ang.; q. one who veers


from east to west.
EASTLAND, adj. Belonging to the east.
Baillie.

EASTLIN, adj. Easterly, S.


Ramsay.
Eastlins, adv. Eastward, S.
Ross.
A. S. east-laeng, oriente tenus.

EASTILT, adv. Eastward, westlit, westward; pron. eassilt, wessilt,


Loth.
A. S. east-daele, plaga orientalis.

EAT, s. The act of eating, S. B.


A. S. aet, Teut. aet, food.

EATIN BERRIES, Juniper berries, S. B.


V. Etnagh.

EBB, adj. Shallow, S.


Rutherford.
Ebbness, s. Shallowness.
Rutherford.

ECCLEGRASS, s. Butterwort or sheep-rot, Orkn.


Neill.

ECHER, ICKER, s. An ear of corn, S.


A. S. aecer, aechir, id.
Douglas.

ECHT, s. Ought.
Barbour.

EDROPPIT, part. pa. Dropsical.


Bellenden.

EE, s. Eye.
V. E.
Ee of the day, Noon, mid-day, S. B.
Ee-list, Eye-list, Eye-last, s.
1. A deformity, an eye-sore.
R. Bruce.
2. An offence.
Godscroft.
3. A break in a page, S.
Gl. Sibb.
A. S. eag, oculus, and laest, defectus.
Ee-stick, Eistick, s. Something singular or surprising; q. that which
causes the eye to stick or fix, S.
Ferguson.
Ee-sweet, Eye-sweet, adj. Acceptable, S.
Rutherford.
Ee-winkers, s. The eye-lashes, S.
Rutherford.
Een, Ene, pl. of Ee, Eyes, S.
Douglas.
EEBREK CRAP, The third crop after lea, S. B.

EEGHIE nor OGHIE. I can hear neither eeghie nor oghie, neither one
thing nor another, Ang.
Ross.
Su. G. igh, or eighi, not.

EEKFOW, adj. Equal; also, just, Ang.


Su. G. ekt-a, Germ. eicht, justus.
Eeksie-peeksie, adj. Equal, Ang.

EEL. A nine-ee'd eel, a lamprey, S.


Su. G. neionoogon, Germ. neunauge, id.
Eel-backit, adj. Having a black line on the back, applied to a dun-
coloured horse, S.
Eelpout, s. The viviparous Blenny, S.

EERIE, adj. Timorous.


V. Ery.

EFFECTUOUS, adj. Affectionate.


L. B. affectuos-us, id.
Douglas.

To EFFEIR, v. n.
1. To become, to fit.
Chr. Kirk.
2. To be proportional to.
Knox.
Effeir, s.
1. What is becoming.
Maitland Poems.
2. A property, quality.
Dunbar.

To EFFERE, EFFEIR, v. a.
1. To fear.
Lyndsay.
2. To affright.
Douglas.
A. S. afaer-an, terrere.
To Effeir, v. n. To fear.
Lyndsay.
Effray, Effraying, s. Terror.
Barbour.
Fr. effray-ir, to affright.
Effrayitly, adv. Under affright.
Barbour.

EFREST, Best; Isl. ypprist.


Houlate.

EFT, adv. After.


A. S. id.
Wallace.
Eft castel, Hinder part of the ship.
Douglas.
Efter, Eftir, prep. After.
A. S. eftyr, id.
Abp. Hamiltoun.
Eftir ane, adv. Uniformly, S.
Douglas.
Eftirhend, adv. Afterwards, S.
Abp. Hamiltoun.
Su. G. efter, and haen, hence, dehinc, posthac.
Efterhend, prep. After. Id.
Eftremess, s. A dessert.
Barbour.
A. S. aefter and mess, a meal.

EFTSYIS, adv. Ofttimes, Rudd.


Douglas.
A. S. eft, iterum, and sithe, vice.

EGG-BED, s. The ovarium of a fowl, S.

EGGLAR, s. One who collects eggs for sale, S. A.

EY, A termination of the names of many places; signifying an island,


also written ay, a, or ie.
Isl. ey, id.
EIDENT, adj. Diligent.
V. Ithand.

EIDER DOUN, Down of the eider duck.


Sw. eiderdun, id.
Pennant.

EYE-LIST, s. A flaw.
V. Ee-List.

EYEN, pl. Eyes.


V. Een.

EIFFEST, adv. Especially.


Barry.
Isl. efst-r, supremus.

EIK, pron. Each.


Douglas.

EIK, EKE, s. An addition, S.


Baillie.

EIK, s. Lineament used for greasing sheep, S. A.

To EILD, ELD, v. n. To wax old.


A. S. eald-ian, veterascere.
Bellenden.
Eild, Eld, s.
1. Any particular period of life, S.
Barbour.
Euin eild, Equal in age.
Douglas.
2. A generation.
Douglas.
3. An era.
Wyntown.
4. The advanced period of life.
Douglas.
A. S. yld, aetas, aevum.
Eild, adj. Old.
A. S. eald, id.
Douglas.
Eildit, part. pa. Aged.
Douglas.
Eildins, Yealings, s. pl. Equals in age.
Burns.
A. S. efen-eald, coaevus, inverted.

To EYNDILL, v. n. To be jealous of; eenil, Fife.


Maitland Poems.
Eyndling, Eyndland, part. pr. Jealous.
Semple.

EIR, s. Fear, Ang.


V. Ery.
EIRACK, s. A hen-pullet, S.
Statist. Acc.
Gael. eirag, id. Germ. jahrig, one year old.

EYRE FALCONS, Leg.


Gyre.Houlate.

EITHER, adv. Or, Ang.


Knox.
Isl. eda, edr, seu.

EITH, EYTH, ETH, adj. Easy, S.


A. S. eath, facilis.
Barbour.
Eith is also used adverbially.
Ramsay.
Eithar, Ethar, comp.
Douglas.
Eithly, adv. Easily, S.

EYTTYN, ETTYN, ETIN, EATEN, s.


1. A giant.
Complaynt S.
2. Redeaten occurs as equivalent to canibal.
Isl. jautun, jotun.
Mellvill's MS.

EIZEL, AIZLE, ISIL, ISEL, s.


1. A hot ember, S.
Burns.
2. Wood reduced to the state of charcoal, S.
3. In pl. metaph. for the ruins of a country desolated by war.
Douglas.
A. S. ysle, embers, Isl. eysa, carbones candentes sub cinere.

ELBOCK, ELBUCK, s. Elbow, S.


Ramsay.
A. S. elboga, Alem. elnboga, from A. S. eln, the arm, and
boge, curvature.
Elbow-grease, s.
1. Hard work with the arms, S.
2. Brown rappee, Ang.

ELDARIS, ELDRYS, s. pl. Ancestors.


Barbour.
A. S. aldor, Su. G. aeldre, senior.

ELDER, s. Among Presbyterians, one ordained to the exercise of


government without having authority to teach, S.
Buik of Discipline.

ELDERSCHIP, s.
1. The ecclesiastical court, now called a Presbytery.
Buik of Discipline.
2. The Kirk-session of a particular congregation, S.
Baillie.
A. S. ealdor-scipe, principatus.
ELDFADER, s.
1. Grandfather.
A. S. eald fader, id.
Barbour.
2. Father in law.
Douglas.

ELDIN, ELDING, s. Fuel of any kind, S.


A. S. aeled, Su. G. eld, fire.
Ferguson.

ELDING, s. Age.
V. Eild.
Maitland P.

ELDIS, adv. On all sides.


Douglas.
A. S. eallis, omnino.

ELDMODER, s. Mother in law.


Douglas.
A. S. ealde-moder, avia.

ELDNING, ELDURING, s. Jealousy.


A. S. ellnung, emulation.
Dunbar.

ELDREN, ELDERIN, adj. Elderly, S.


Ross.
Dan. aldrende; Isl. aldraen, senex.

ELEVEN-HOURS, s. A luncheon, S.

ELFMILL, s. The sound made by a wood-worm, viewed by the vulgar


as preternatural, S. q. "fairy-mill."

ELFSHOT, s.
1. The name vulgarly given to an arrow-head of flint, S.
Pennant.
2. Disease, supposed to be produced by the stroke of an elf-arrow,
S.
Glanville.
Norv. allskaadt, Dan. elleskud; i. e. elfshot.
Elf-shot, adj. Shot by fairies, S.
Ramsay.

ELIMOSINUS, adj. Merciful.


Burel.

ELYTE, s. One elected to a bishopric.


O. Fr. elite.
Wyntown.

ELLER, s. The Alder, a tree, S.


Lightfoot.

ELLIS, adv. Otherwise.


A. S. elles, id.
ELLIS, ELS, adv. Already, S.
Barbour.

ELRISCHE, ELRICHE, ELRAIGE, ELRICK, ALRISCH, ALRY, adj.


1. Expressing relation to evil spirits.
Dunbar.
2. Preternatural, as regarding sound, S.
Douglas.
3. Hideous; respecting the appearance.
Douglas.
4. Frightful, respecting place, S.
Burns.
5. Uncouth; in relation to dress.
Bellenden.
6. Surly, austere.
7. Fretted; applied to a sore, Ang.
A. S. aelf, and ric, rich; q. abounding in elves.

ELS, ELSE, adv. Already.


V. Ellis.

ELSYN, ELSON, s. An awl, S.


Ramsay.
Teut. aelsene.

ELWAND, ELNWAND, s.
1. An instrument for measuring, S.
Burr. Lawes.
2. Orion's girdle, a constellation.
Douglas.
From eln and wand, a rod.
EMAILLE, s. Enamel.
V. Amaille.

EMBER GOOSE, A fowl which inhabits the seas about Orkney.


Sibbald.

EMERANT, s. Emerald.
King's Quair.
Emerant, Emerand, adj. Green.
Douglas.

EMMIS, IMMIS, adj.


1. Variable, Ang.
2. An immis nicht, a gloomy night, Banffs.
Su. G. ymsa, oemsa, to vary, alternare; Isl. yms, ymiss,
varius.

To EMPASH, EMPESCHE, v. a. To hinder.


Fr. empescher.
Bellenden.

EMPRESS, EMPRISS, EMPRISE, ENPRESS, s. Enterprise.


Barbour.
Fr. empris.

ENACH, s. Satisfaction for a trespass.


Gael. enach, a ransom.
Reg. Maj.
ENARMED, part. pa. Armed.
Douglas.
Enarmoure, s. Armour.
Douglas.

ENBRODE, part. pa. Embroidered.


Id.

To ENBUSCH, v. a. To lay in ambush.


Fr. embusch-er, id. q. en bois.
Barbour.
Enbuschyt, s. Ambuscade.
Barbour.
Enbuschment, s.
1. Ambush.
Barbour.
2. Used in describing the testudo.
Douglas.

ENCHESOUN, s. Reason, cause.


O. Fr. acheson, occasion.
Barbour.

END, EYNDING, Breath.


V. Aynd.
Polwart.
Enday, s. Day of death.
Wyntown.
Su. G. and-as, to die.
Enfundeyng, s. Perhaps, asthma.
Barbour.
Su. G. andfaadd, cui spiritus praeclusus est.

ENDLANG, ENDLANGIS, adv. Along; S. enlang.


Barbour.
A. S. andlang, per; Su. G. aendalongs, id.

ENDORED, part. pa. Adorned; Fr. endoré; Lat. inaur-utus.


Sir Gawan.

ENE, pl. Eyes.


V. Een.

ENERLY.
V. Anerly.

ENEUCH, YNEWCH, s. Enough, S. pl. ynew.


A. S. genoh, satis.
Wallace.

ENFORCELY, adv. Forcibly.


Barbour.

ENGAIGNE, s. Indignation.
Barbour.
Fr. engain, choler.
To ENGREGE, v. a. To aggravate.
Fr. engreg-er, id.
Diallog.

To ENGREVE, ENGREWE, v. a. To vex.


Fr. grev-er, id.
Barbour.

ENKERLY, ENCRELY, INKIRLIE, adv.


1. Inwardly.
Barbour.
2. Ardently, keenly.
Douglas.
Fr. en coeur, q. in heart.

EMPRESOWNÉ, s. A prisoner.
Wyntown.

ENPRISE, s. Enterprise.
King's Quair.

ENSEINYIE, ENSENYE, ANSENYE, s.


1. A mark, or badge.
Fr. enseigne.
Lyndsay.
2. Ensign, or standard.
Knox.
3. The word of war.
Barbour.
4. A company of soldiers.
Knox.

ENSELYT, pret. Sealed.


Barbour.

ENTAILYEIT, part. pa. Formed.


Fr. entaill-er, to carve.
Palice of Hon.

ENTENTYVE, adj. Earnest, intent.


Fr. ententif.
Barbour.
Ententely, adv. Attentively.
Barbour.

ENTREMELLYS, s. pl. Skirmishes.


Barbour.
Fr. entremel-er, to intermingle.

ENTRES, ENTERES, s. Access, entry.


Bellenden.

ENTRES, s. Interest.
Acts Sedt.

EPISTIL, s. A harangue or discourse.


Dunbar.
ER, adv. Before.
V. Air.
Barbour.
Erar, Earer, comp.
1. Sooner.
Gawan and Gol.
2. Rather.
Wyntown.
Erast, superl. Soonest.
Wyntown.

ERD, ERDE, YERD, YERTH, s.


1. The earth, S. pron. yird.
Wyntown.
2. Ground, soil, S.
A. S. eard, Isl. jaurd, id., from Isl. aer-a, er-ia, to plough.
To Erd, Yerd, v. a.
1. To inter a dead body, S. B.
Barbour.
2. Denoting a less solemn interment.
Barbour.
3. To cover with the soil, for concealment, S.
Poems Buchan Dial.
Su. G. iord-as, sepeliri; Isl. iard-a.
Erd houses, Habitations formed under ground.
Isl. jard-hus, domus subterranea.
Erddyn, Yirden, s.
1. An earthquake.
Wyntown.
A. S. eorth-dyn, terrae motus.
2. Thunder, S. B.

ERE, EIR, s. Fear, dread; Ang.


V. Ery.

ERF, adj.
1. Averse, reluctant, Loth. Fife.
2. Reserved, distant, Loth.
V. Ergh.

To ERGH, ARGH, ERF, v. n.


1. To hesitate, to feel reluctance, S.
Baillie.
2. To be reluctant from timidity, S.
Ramsay.
A. S. earg-ian, torpescere pro timore.
Ergh, adj.
1. Hesitating, scrupulous, S.
2. Timorous, S. B.
Ergh, Erghing, s.
1. Doubt, apprehension, S.
2. Fear, timidity, S.
A. S. yrhth, id.

ERY, EIRY, EERIE, adj.


1. Affected with fear, from whatever cause.
Douglas.
2. Under the influence of fear, excited by wildness of situation.
Douglas.
3. Denoting the feeling inspired by the dread of ghosts, S.
Ross.
4. Causing fear of spirits, S.
Burns.
Belg. eer-en, vereri, Isl. ogr-a, terreo.
Eryness, Eiryness, s. Fear excited by the idea of an apparition, S.
Evergreen.

ERYSLAND, ERLSLAND, EUSLAND, s. A denomination of land, Orkn.


Barry.
Su. G. oeresland, the eighth part of a Markland.

ERLIS, s. Earnest.
V. Arles.

ERN, ERNE, EIRNE, EARN, s.


1. The eagle, S. B.
Douglas.
2. The osprey.
Houlate.
A. S. earn, Isl. aurn, ern, aquila.

ERNAND, part. pr. Running.


A. S. eorn-an, currere.
Maitland P.

ERN-FERN, s. The brittle fern, S. q. "the eagle-fern."

ERSE, adj. used as a s. The dialect of the Celtic spoken by the


Highlanders of S. i. e. Irish.
ERTAND, part. pr. Perhaps, ingenious, from Airt, v. to aim.
Gawan and Gol.

ESCH, s. The ash, a tree.


Douglas.
Eschin, adj. Belonging to the ash.
Doug.

To ESCHAME, v. n. To be ashamed.
Douglas.

ESCHEL, ESCHEILL, s. A division of an army.


Barbour.
O. Fr. eschielle, a squadron.

To ESCHEVE, ESCHEW, v. a. To achieve.


Fr. achev-er.
Barbour.

ESCHEW, s. An achievement.
Barbour.

ESFUL, adj. Producing ease.


Wyntown.

ESK, s. A newt, S.
V. Ask.

To ESK, EESK, YESK, v. n. To hiccup, S. B.


Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookname.com

You might also like