| |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
-> 大数据 -> 1 Getting Started with Database Administration -> 正文阅读 |
|
[大数据]1 Getting Started with Database Administration |
1.Type of Oracle Database Users
1.1 Database AdminstratorsA database administrator's responsibilities can include the following tasks:
1.2 Application DevelopersApplication developers design and implement database applications. Their responsibilities include the following tasks:
1.3 Database UsersDatabase users interact with the database through applications or utilities. A typical user's responsibilities include the following tasks:
2.1 Task of a Database Adminstrator2.1.1 Evaluate? the Database Server HardwareEvaluate how Oracle Database and its applications can best use the available computer resources. This evaluation should reveal the following information:
2.1.2 Install the Oracle Database SoftwareAs the database administrator, you install the Oracle Database server software and any front-end tools and database applications that access the database. In some distributed processing installations, the database is controlled by a central computer (database server) and the database tools and applications are executed on remote computers (clients). In this case, you must also install the Oracle Net components necessary to connect the remote systems to the computer that executes Oracle Database. 2.1.3 Plan the Databasedatabase. It is important to plan how the logical storage structure of the database will affect system performance and various database management operations. For example, before creating any tablespaces for your database, you should know how many data files will comprise the tablespace, what type of information will be stored in each tablespace, and on which disk drives the data files will be physically stored. When planning the overall logical storage of the database structure, take into account the effects that this structure will have when the database is actually created and running. Consider how the logical storage structure of the database will affect:
Plan the relational design of the database objects and the storage characteristics for each of these objects. By planning the relationship between each object and its physical storage before creating it, you can directly affect the performance of the database as a unit. Be sure to plan for the growth of the database. In distributed database environments, this planning stage is extremely important. The physical location of frequently accessed data dramatically affects application performance. During the planning stage, develop a backup strategy for the database. You can alter the logical storage structure or design of the database to improve backup efficiency. 2.1.4 Create and Open the DatabaseAfter you complete the database design, you can create the database and open it for normal use. You can create a database at installation time, using the Database Configuration Assistant, or you can supply your own scripts for creating a database. 2.1.5 Back Up the DatabaseAfter you create the database structure, perform the backup strategy you planned for the database. Create any additional redo log files, take the first full database backup (online or offline), and schedule future database backups at regular intervals. 2.1.6 Enroll System UsersAfter you back up the database structure, you can enroll the users of the database in accordance with your Oracle license agreement, and grant appropriate privileges and roles to these users. 2.1.7 Implement the Database DesignAfter you create and start the database, and enroll the system users, you can implement the planned logical structure database by creating all necessary tablespaces. When you have finished creating tablespaces, you can create the database objects. 2.1.8 Back Up the Fully Functional DatabaseWhen the database is fully implemented, again back up the database. In addition to regularly scheduled backups, you should always back up your database immediately after implementing changes to the database structure. 2.1.9 Tune Database PerformanceOptimizing the performance of the database is one of your ongoing responsibilities as a DBA. Oracle Database provides a database resource management feature that helps you to control the allocation of resources among various user groups. The database resource manager is described in?Managing Resources with Oracle Database Resource Manager. 2.1.10 Download and Install Release Updates and Release Update RevisionsAfter the database installation, download and install Release Updates (Updates) and Release Update Revisions (Revisions) for your Oracle software on a regular basis. Starting with Oracle Database 18c, Oracle provides quarterly updates in the form of Release Updates (Updates) and Release Update Revisions (Revisions). Oracle no longer releases patch sets. Check the My Oracle Support website for required updates for your installation. 2.1.11 Roll Out to Additional HostsAfter you have an Oracle Database installation properly configured, tuned, patched, and tested, you may want to roll that exact installation out to other hosts. Reasons to do this include the following:
Instead of installing, tuning, and patching on each additional host, you can clone your tested Oracle Database installation to other hosts, saving time and avoiding inconsistencies. There are two types of cloning available to you:
2.2 SQL Statements2.2.1 Connecting to the Database with SQL*PLUS2.2.1.1 About Connecting to the Database with SQL*PLUS Step 1: Open a Command Window Step 2: Set Operation System Enviroment Variables Example 1-1 Setting Environment Variables in Unix (C Shell)
Example 1-2 Setting Environment Variables in Linux (Bash Shell)
Example 1-3 Setting Environment Variables in Microsoft Windows
3.1Identifying Your Oracle Database Software Release3.1.1 About Oracle Database Release NumbersFigure 1-1 Example of an Oracle Database Release Number ? ?
4.1.1?Check Your Current Release Number
5.1 About Database Adminstrator Security and Privileges5.1.1 The Database Administrator's Operating System AccountAdministrative User Accounts
About Administrative User Accounts The following administrative user accounts are automatically created when Oracle Database is installed:
Note:If the database password file name or location is changed, then run the following command for the changes to take effect: SQL> ALTER SYSTEM FLUSH PASSWORDFILE_METADATA_CACHE; To synchronize the passwords for non- 1.Find all users who have been granted the?
2.Revoke and then re-grant the?
3.Find all users who have been granted the?
4.Revoke and regrant the?
5.Find all users who have been granted the?
6.Revoke and regrant the?
7.Find all users who have been granted the?
8.Revoke and regrant the?
9.Find all users who have been granted the?
10.Revoke and regrant the?
Granting and Revoking Administrative Privileges
Viewing Database Password File Members
|
|
|
上一篇文章 下一篇文章 查看所有文章 |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
360图书馆 购物 三丰科技 阅读网 日历 万年历 2025年1日历 | -2025/1/15 20:45:09- |
|
网站联系: qq:121756557 email:121756557@qq.com IT数码 |