What Oracle DBA should do on a daily, weekly, and monthly basis (I) Check alert on a daily basis. log ② check the environment ● check whether the database instance is working properly ▼ ps-ef | grep ora _ explain select status from v $ instance ● whether the listener is working properly ▼ lsnrctl status ● whether the t
, memory, and external storage is quite
Complex, these factors must be considered. In addition, pl/sql packages, stored procedures, temporary table empty
, the table structure itself, all of these will become increasingly complex as they are used to ensure that the database
Structural optimization, no garbage, is definitely more complicated than regular vacuum running from cron.
Oracle DBA (DB adminstrator
better!6. Lack of space, load balancing in hotspot areasYou have an important tablespace that is being used all the time, he is big and big, and the LUN that corresponds to your storage cannot accommodate him, then how do you deal with it! Of course, for log files we can remove it to implement. But what about data files? ASM I thought you'd think that he would automatically balance file load and I/O distribution. Support for adding new disks online to ASM Disk Group!7. Wrong Operation
solution (3). Seek opportunities for database performance Adjustment Compare daily monitoring reports on database performance to determine whether it is necessary to adjust database performance (4). database performance Adjustment Adjust the performance if necessary (5) propose the next space management plan Based on weekly monitoring, this paper proposes an improvement method for space management. Routine
instance and database are started in three steps: 1. Start and instance (NOMOUNT ); 2. Mount the database (MOUNT); 3. Open the database (OPEN) 1. Start and instance in NOMOUNT state, ORACLE starts an instance, it reads the defined initial parameter values in the specified parameter file of SPFILE or PFILE. Allocate the SGA shared memory area and create background processes. You can use the RESTRICT and FORCE options to enable instances. In RESTRICT m
backup method and policy?
What is the network file configuration?
19. Check the recent alert logs to obtain useful information.
20. run several performance analysis reports to see how the system is running recently.
21. Run an RDA report to collect the complete system status report.
Well, with this basic information (incomplete), you have a general understanding of the system you are new to. Next, you can analyze it in depth, then we will formulate a set of O M specifications that meet the act
ORACLE DBA face Test setOne: SQL tuning class1 Enumerate several table connection wayssuch as connection, non-equal connection, self connection, outer connection (left, right, full)2 How to view SQL execution plan without the help of a third-party tool(I) Use explain plan to query plan_table;EXPLAIN PlanSET statement_id= ' QUERY1 'ForSELECT *From aWHERE aa=1;SELECT operation, Options, object_name, object_ty
: Describe the relationship between Tablespace and datafile4: The local management of the table space and the characteristics of the Dictionary management table space, what is the characteristics of ASSM5: What is the function of the rollback segment6: What is the function of the log7:sga mainly have those parts, what is the main roleWhat are the main functions of 8Oracle system process?
Three: Backup Recovery class
1: How to Categorize backups2: What does archiving mean3: If a table is 10:30:00
(I) daily work
① Check alert. Log
② Confirm the environment
● Whether the database instance works properly
▼ PS-Ef | grep ora _
Explain select status from V $ instance
● Whether the listener works properly
▼ LSNRCTL status
● Whether the tablespace is faulty
Explain select tablespace_name, status from dba_tablespace;
● Control whether files and log files are normal
▼ V $ controlfile
Invalid v $ log, V $ logfile
③ Performance monitoring
● Pe
• Use schedulers to simplify administrative tasks
• Create jobs, programs, and schedules • Monitor Job execution
• Use a time based or event-based schedule to perform a scheduler job
• Describe the purpose of Windows, window groups, job classes, and consumer groups
• Use email notification
• Use the job chain to perform a series of related tasks
• Describes scheduler jobs on remote systems
• Use advanced Sc
;
whichThe ID number of the SID conversation (session);The serial number of the serial# session, together with the SID, to uniquely identify a session;USERNAME the user name to establish the session;Program This session is using what tools to connect to the database;Status of the current session, active indicates that the session is performing certain tasks, inactive that the current session is not performing any action;
If the
Bkjia.com exclusive Article]Oracle Database 11gR1 new database replay DBR) function allows Oracle DBA to capture load from an Oracle 10gR2 environment, and then replay this load in Oracle 11gR1 environment, this section analyzes how to migrate an existing database to a new v
Tags: daily apply to delete DISM End pass Transaction error server Here are some summary of Oracle's daily management operations at work, all of which are basic Oracle operations and SQL statement writing, which are combed into manuals, hoping to help beginners (if there is a sort of inaccuracy, wish to point out). I. Startup and shutdown of the database 1.1 Norm
Label:The Oracle job has timed execution and can perform its own tasks at a specified point in time or at some point in the day. First, query the system job, you can query the view
--related views
SELECT * from Dba_jobs;
SELECT * from All_jobs;
SELECT * from User_jobs;
--Query Field description
/*
Field (column) type description
Unique ident
The Oracle job has timed execution and can perform its own tasks at a specified point in time or at some point in the day. First, query the system job, you can query the view
--related views
SELECT * from Dba_jobs;
SELECT * from All_jobs;
SELECT * from User_jobs;
--Query Field description
/*
Field (column) type description
Unique identifier
The Oracle job has timed execution and can perform its own tasks at a specified point in time or at some point in the day.First, query the system job, you can query the view
--related views
SELECT * from Dba_jobs;
SELECT * from All_jobs;
SELECT * from User_jobs;
--Query Field description
/*
Field (column) type description
Unique identifier of the job n
Tags: style color data SP AMP c work AD managementORACLE DBA responsibility is basically equivalent to daily work.0. Database design1. Creation and management of schema Objects (table, index, etc.)2. Management of things, such as concurrency3. SQL Tuning4. User management, Rights Management5. Real-time operational monitoring (with Toad, Statspack), for SQL-related content, tuning---------------------------
Tags: dba_jobs implement misc Database Glob through hot remove borderThere are two ways to do a timed mission. One is: Operating system timing, win timed tasks, Unix crontabOne is: database-level timing, she's more efficient, There are a lot of table-level operations, it is recommended to use the database itself job queue, so convenient, high efficiency; If you use system-level timing,Will add a lot of programming work, the cost is increased, but also
Today, Oracle's scheduled tasks are used for scheduled detection. So Goole made a hand and realized it after a moment of confusion. Therefore, we should keep a record as follows:
1. Make sure that the Oracle working mode allows start of the task queue managerBackground for Oracle to regularly execute "Job Queue"ProgramIt is a SNP process. To start the SNP proce
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.