2 Day DBA Part1

1.Common Oracle database administrator (DBA) task:

2. Tools for Administering the Database

3.Installing Oracle Database and Creating a Database

3.1 Installing Oracle Database Software and Creating a Database

  • Oracle Universal Installer(OUI): OUI is a graphical user interface utility that enables you to install new Oracle Database software.
  • OUI automatically starts Oracle Database Configuration Assistant(DBCA) to guide you through the process of creating and configuring a database.
3.1.1 Checking Oracle Database Installation Prerequisites
3.1.2 Deciding on Oracle Database Installation Choices
3.1.3 Installation Class for Oracle Database
3.1.4 Installation Edition for Oracle Database
3.1.5 Software Installation Directories for Oracle Database(oraInventory)
3.1.6 Database File Location for Oracle Database
3.1.7 Database Identifier for Oracle Database
3.1.8 About Advanced Installation for Oracle Database

3.2 Installing Oracle Database Software

3.2.1 To perform a basic installation

3.3 Creating and Managing a Database with DBCA

3.3.1 Starting DBCA

This section describes how to start Database Configuration Assistant (DBCA)

3.3.2 Creating a Database Using DBCA

Database Configuration Assistant (DBCA) enables you to create an Oracle database by following a step-by-step guided workflow.

4. Getting Started with Database Administration

4.1 Managing Your Database: An Overview

To manage your Oracle database:

  1. Start the database instance.

See "Shutting Down and Starting Up the Oracle Instance".

  1. Optionally, configure the network environment to enable clients to connect to your database.

See " Configuring the Network Environment ".

  1. Review your database storage structures: tablespaces and data files, online redo log files, and control files. Create or modify storage structures as needed.

See " Managing Database Storage Structures".

  1. Review memory allocation and adjust as needed.

See "Managing Memory".

  1. Review, unlock, and reset passwords for predefined database users as needed. Create new users, and assign privileges and roles to them.

See " Administering User Accounts and Security".

  1. Create the necessary schema objects, including tables, views, and indexes. Populate the tables with data.

See " Managing Schema Objects".

  1. Create or review the backup strategy for the database and back up the database.

See " Performing Backup and Recovery".

  1. Enable archiving of online redo log files, if not already done.

See "Configuring Recovery Settings".

  1. Monitor database performance, diagnose performance problems, and tune the database as necessary.

See " Monitoring and Tuning the Database".

  1. Keep Oracle Database software up-to-date with the latest releases.

See " Managing Oracle Database Software ".

4.2 Configuring the Operating System Environment Variables

Linux and Unix systems:

Windows:

To configure operating system environment variables for your database instance on Windows systems:

5.Configuring the Network Environment

5.1 Understanding Network Configuration

A clientis any application that connects to Oracle Database to send or retrieve data.

A service name is a logical representation of a database, which is the way a database is presented to clients. A single database can be presented as multiple services.

5.2 Viewing Listener Configuration

5.3 Starting and Stopping the Listener

5.4 Connecting to an Oracle Database from a Client Computer

6.Managing the Oracle Instance

6.1 Overview of the Oracle Instance and Instance Management

An Oracle database system consists of an Oracle database and an Oracle instance (in an Oracle Real Application Clusters environment, there can be more than one instance).

A database consists of a set of disk files that store user data and metadata. Metadata, or "data about the data," consists of structural, configuration, and control information about the database. An Oracle instance (also known as a database instance) contains the set of Oracle Database background processes that operate on the stored data and the shared allocated memory that those processes use to do their work. Each instance has an instance ID, also known as a system ID (SID). Because there can be multiple Oracle databases on a host computer, each with its own set of data files, you must identify the instance to which you want to connect. For a local connection, you identify the instance by setting operating system environment variables ORACLE_SID and ORACLE_HOME. For a remote connection, you identify the instance by specifying a network address and a database service name. An Oracle instance must be started to read and write information to the database. The Oracle instance creates the database upon receipt of instructions from the Oracle Database Configuration Assistant (DBCA) utility or the CREATE DATABASE SQL statement. When the Oracle instance is not available, your data is safe in the database, but it cannot be accessed by any user or application. The properties of an Oracle instance are specified using instance initialization parameters. When the instance is started, an initialization parameter file is read, and the instance is configured accordingly.

This section presents some concepts of an Oracle instance and its management. It contains the following topics:

相关推荐
青槿吖29 分钟前
第二篇:告别XML臃肿配置!Spring注解式IOC/DI保姆级教程,从入门到真香
xml·java·开发语言·数据库·后端·sql·spring
运维 小白1 小时前
2. 部署mysql服务并监控mysql
数据库·mysql·adb
聪明人1 小时前
macOS安装Redis
数据库·redis·macos
weixin_505154462 小时前
Bowell Studio:重塑工业互联网时代的装配制造与运维检修
运维·数据库·人工智能·制造·数字孪生·3d产品配置器·3d交互展示
sa100272 小时前
淘宝商品详情 API 接口开发实战:item_detail 调用、参数与 Python 示例
linux·数据库·python
小光学长2 小时前
基于ssm的膳食健康管理系统e6whl4q7(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。
java·开发语言·数据库·学习·ssm
一个天蝎座 白勺 程序猿3 小时前
KingbaseES融合数据库:一库多能,企业数据管理新思路
数据库·性能优化·kingbasees·金仓数据库
橘颂TA3 小时前
【MySQL】解锁表的 N 种牵手方式:SQL 连接与子查询漫游(复合查询)
数据库·mysql
数据知道3 小时前
MongoDB基于角色的访问控制(RBAC):精细化权限管理的实用方法
数据库·mongodb
代码派3 小时前
NineData社区版:免费+本地化部署,满足数据库DevOps、数据复制与一致性对比的数据库管理平台
运维·数据库·database·devops·数据库管理工具·ninedata·数据库迁移