basic dba task
IMPORTANT DATABASE TASKS
@Task 1: Evaluate the Database Server hardware
>uname
>uname -i show the host name
>uname -m
>uname -a
>lscpu command which cpu in your machine
>lsblk command which show cpu
>lsblk -a
>fdisk -l
>dmidecode -t processor
@task 2 >database installation task
10.1.0.1.0
1 major database release number
2 database maintenance number
3 application server release number
4 component server release number
5 platform release number
Checking Your Current Release Number
SELECT * FROM PRODUCT_COMPONENT_VERSION;
@Task 3: Plan the Database
As the database administrator, you must plan:
The logical storage structure of the database
The overall database design
A backup strategy for the database
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 datafiles will make up the tablespace, what type of information will be stored in each tablespace, and on which disk drives the datafiles 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:
The performance of the computer executing running Oracle Database
The performance of the database during data access operations
The efficiency of backup and recovery procedures for the database
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.
It is beyond the scope of this book to discuss relational and distributed database design. If you are not familiar with such design issues, please refer to accepted industry-standard documentation.
Part II, "Oracle Database Structure and Storage", and Part III, "Schema Objects", provide specific information on creating logical storage structures, objects, and integrity constraints for your database.
Task 5: Back Up the Database
After you create the database structure, carry out 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.
better to be take weekeely backup is good but also depends on requirement of database
you can also use the script and then run in crontab also.
dont forget to comment
Comments
Post a Comment