Chapter 2
Chapter 2
Chapter 2
Administration
Chapter 2: Creating the Database Environment
CONTENTS DBMS
DBMS Clustering
Architectures
Installing
DBMS
Choosing DBMS
DBMS Upgrading
Organization’s DBMS
Strategy
Database Standards
and Procedures
Organization’s DBMS Strategy
• The decision to purchase and install a new DBMS is Sometimes driven by a business need or a new
application.
• Sometimes a new DBMS product is purchased and installed without first examining if the application
• There are other reasons for the existence of multiple DBMS platforms in a single organization:
✔ the company purchased a commercial off-the-shelf application package that does not run on any
• when a new DBMS is installed, old applications and databases are usually not migrated to it, The old
• The DBA group should be empowered to make the DBMS decisions for the organization.
• No business unit should be allowed to purchase a DBMS without the permission of the DBA group.
• Business politics often work against the DBA group because it frequently possesses less organizational
✔ DB2
✔ Oracle
✔ SQL Server
✔ Teradata
✔ MySQL
• Tier 1 represents the most heavily implemented and supported products on the market.
Choosing a DBMS (cont.)
• Another major player is Microsoft SQL Server, but only for Windows platforms, DB2 and Oracle run
on multiple platforms.
• Tier 2 are quality DBMS products but their installed base is smaller, these products are engineered
1. Operating system support: Does the DBMS support the operating systems in use at your
organization, including the versions that you are currently using and plan on using?
❑ The Transaction Processing Performance Council (TPC) publishes official database performance
benchmarks that can be used as a guideline for the basic overall performance of many different
types of database processing.
4. Scalability: Does the DBMS support the number of users and database sizes you intend to implement?
5. Availability of supporting software tools: Are the supporting tools you require available for the
DBMS?
❑ These items may include query and analysis tools, data warehousing support tools, database
administration tools, backup and recovery tools, performance-monitoring tools, capacity-planning
tools, database utilities, and support for various programming languages.
Choosing a DBMS (cont.)
6. Technicians: Is there a sufficient supply of skilled database professionals for the DBMS?
8. Release schedule: How often does the DBMS vendor release a new version?
❑ Depending on your approach, If you want cutting-edge features, a rapid release cycle is good.
However, if your shop is more conservative, a DBMS that changes frequently can be difficult to
support.
Choosing a DBMS (cont.)
9. Reference customers: Will the DBMS vendor supply
current user references?
Level 02 Level 04
Departmental DBMS Mobile DBMS
Enterprise DBMS
Enterprise DBMS
❑ is designed for:
✔ Scalability.
✔ High performance.
❑ Must be capable of
Departmental DBMS:
❑ Hardware and software upgrades can allow a departmental DBMS to tackle tasks that previously could
be performed only by an enterprise DBMS.
❑ The steadily falling cost of departmental hardware and software components further contributes to
lowering the total cost of operation and enabling a workgroup environment to scale up to serve the
enterprise
Personal DBMS
Personal DBMS:
✔ Microsoft Access
✔ SQLite
✔ FileMaker
mobile DBMS
❑ is designed for remote users who are not usually connected to the network.
device.
❑ a cloud provider to store and manage your data in return for minimizing database administration and
maintenance cost and effort.
❑ Utilizing cloud database systems can enable organizations, especially smaller ones without the
resources to invest in an enterprise computing infrastructure, to focus on their business instead of
their computing environment
❑ the downside is that your data is now stored and controlled by an external agent—the cloud provider.
Installing the DBMS
❑ Once the DBMS has been chosen, you will need to install it.
❑ The very first thing to do when you install a DBMS for the first
time is to understand the prerequisites.
✔ Ensuring that any related software to be used with the DBMS is the
Every DBMS :
❑ has a basic CPU requirement, meaning a CPU version and minimum processor speed
❑ Additionally, some DBMSs specify hardware models that are required or unsupported.
Storage Requirements
A DBMS will use disk storage for the indexes to be defined on the databases as well as for the following
items:
✔ The system catalog or data dictionary used by the DBMS to manage and track databases and
related information. The more database objects you plan to create, the larger the amount of storage
required by the system catalog.
✔ Log files that record all changes made to every database. These include active logs, archive logs,
rollback segments, and any other type of change log required by the DBMS.
✔ Start-up or control files that must be accessed by the DBMS when it is started or initialized.
✔ Work files used by the DBMS to sort data or for other processing needs.
Storage Requirements (cont.)
❑ A DBMS requires memory for basic functionality and will use it for most internal processes such as :
❑ A DBMS requires a significant amount of memory to cache data in memory structures in order to avoid
I/O. Reading data from a disk storage device is always more expensive and slower than moving the data
around in memory.
Memory Requirements (cont.)
❑ Each DBMS also provides a method to change the system parameters once
❑ Sometimes you can use DBMS commands to set the system’s parameters.
❑ Sometimes you must edit a file that contains the current system
parameter settings.
Connecting the DBMS to Supporting Infrastructure
Software
other system software components that must interact with the DBMS.
Usually DBMS vendors increase prices for versions, but not necessarily for
releases
Pros and cons of upgrading
Advantages Disadvantages
Purchased application may require New releases may cause features and syntax
specific DBMS version to enable being used to be deprecated
specific functionality
DBMS vendors provide better support Supporting SW products may lack immediate
and respond faster for problems in new support for a new release
releases
types of
Size of the apps being
environment supported
Location of the
database
servers
Technology Style
When it comes to developing new products and technology, every business has characteristics that
show its preferred method.
∙ Type A Enterprise: It is more likely to take risks with new and unproven technologies to gain
a competitive advantage.
∙ Type B Enterprise: Is less willing to take risks but will implement new technology once they
∙ Type C Enterprise: very conscious of cost and averse to risk, will lag behind the majority
• Upgrading the DBMS is easier if your DBA staff is highly skilled and/or experienced.
The risk of an upgrade increases as the skills of the DBA staff decreases.
• If your DBAs are not highly trained or have never upgraded a DBMS to a new version,
consider adding consultants to your DBA staff for the update; therefore, you will be
certain that your upgrade goes as smoothly as possible, and the DBA staff will be
better prepared to handle the future upgrades alone.
• If consultants are required, be sure to include their contracting cost in the DBMS
release upgrade budget. The budget should allow you to retain the consultants until
all production database environments are stable
Platform Support
When a DBMS vendor produces a new release of its product, not all
platforms and operating systems are immediately supported. The DBMS
vendor usually first supports the platforms and operating systems for
which it has the most licensed customers.
Fallback Planning
Every new DBMS version or release should include a handbook that lists the new features and
explains how to go back to an earlier version of the DBMS. If the upgrade has a bug, performance
issues result, or other issues show up during or right away after release, you might need to go back
to an earlier DBMS release. Remember that not every new DBMS release offers fallback as an
option.
Data Administration Standards
If a DA group exists within your organization, they should develop a basic data administration standards
guide to outline the scope of their job role
∙ A basic set of database administration standards should be established to ensure the ongoing success
For example
✔ standards can be developed that outline how requests are made to create a new database or make
changes to existing databases.
✔ Standards can establish backup and recovery proceduresm (including disaster recovery plans).
∙ Although the DBA standards will be most useful for the DBA staff, the application development staff
will need them to learn how best to work with the DBA staff
∙ The more the application programmers understand the nuances of the DBMS and the role of the DBA,
the better the working relationship between DBA and development will be—resulting in a more efficient
database environment
System Administration Standards
Once again, standards for system administration or systems programming are required only if your
organization separates the SA function from the DBA function. System administration standards are needed
for many of the same reasons that DBA standards are required. Standards for SA may include
The DBA group often applies and administers DBMS security. However, at some shops the
corporate data security unit handles DBMS security.
A resource outlining the necessary standards and procedures for administering database security
should contain the following information:
oDetails on what authority to grant for specific types of situations, for example, if a program is
being migrated to production status, what DBMS authorization must be granted before the
program will operate successfully in production
THANKS!