How to systematically learn databases

This is the courseware of the first class of a master's lecture on oracle, specifically on how to learn oracle 

1. There are two groups of people who are currently learning Oracle---1. It is only operation, 2. In-depth understanding of learning theory
Second, the importance of Oracle
Third, learning prerequisites
The prerequisites for learning Oracle are: familiarity with Linux operating system , Unix operating system , storage, and library. Mainly management and operating system principles
4. Learning methods
1. sql, pl/sql (there are many videos on the Internet, you can do a simple start, then read a few books and do more experiments)
as the basic skills of oracle, you need to know sql and plsql are very familiar. In particular, multi-table joins, subqueries, various new versions of functions in sql, and all the syntax in plsql. It is recommended that you take enough time to study these two pieces. Don't think that this is the work of the developer, he is also the important work of the DBA, and the requirements for the DBA are higher, you can not only understand, but also be able to identify problems. The main points of learning this knowledge are: practice more, think more, and test more.

2. Oracle management (architecture) (this part must be attended to, and it is necessary to listen to the "master" class and discuss more)
This is the difficulty of Oracle. Oracle technology is broad and profound, and the main difficulty is concentrated in it. Including Oracle's storage management, object management, memory and process, undo management, initialization parameters, data dictionary views, security, latch and lock, permissions and roles, resource scheduling, flashback, log principles, etc.
When learning this piece of knowledge, an important point is: to know the principle and the "root", knowing the superficial things has no meaning.
After knowing the principle, prove it through experiments and summarize the principle.
Whether this piece of learning is good or bad directly determines the backup recovery, optimization, and troubleshooting in the future.
Although this section is research management, it pays more attention to the analysis and dissection of principles and architecture.
Should be called "deep analysis of the Oracle architecture", as much depth as needed.
In this part of the study, we have learned a lot of optimization content. When learning any knowledge point, we cannot do without performance analysis.

3. Backup and recovery (listen to lectures, read a few books, do more experiments, and discuss more)
With the foundation of the second part, the study of this chapter is relatively interesting, provided that we have a deep research on Oracle's log principle, Deep research on oracle memory and process. Plan a perfect and correct backup plan and implementation plan (specifically analyze the principle), implement the backup; restore various damages (or be able to analyze the principle); in addition, you can do some difficult recovery experiments (or old saying). , to be able to analyze the principle).

4. Optimization (single instance optimization) (it is still necessary to listen to the class, it is better to listen to some special, in-depth expert courses, or to read some classic books, especially English books)
This part is completely the first part and the second part a combination of . The learning of this piece is not the deepest, only deeper, and the learning method is similar to the second part.
First of all, you need to master some basic knowledge of Oracle optimization, such as in-depth analysis of indexing principles, partitioning, waiting events, time statistical models, dynamic performance views, some performance optimization and viewing commands of the operating system, such as: top, iostat, vmstat, sar, pmap, prstat, filemon, nmon, svmon, etc.
The most important thing is to do three things: Oracle's dynamic performance view, Oracle's reports (trace, statspack, awr, addm, ash), execution plan; to be familiar with and analyze these three. The analysis and hands-on experiments in this section are important.

5. RAC (you can listen to lectures. After you have the previous foundation, you can basically understand books by yourself. Therefore, you can read books and listen to some special courses.)
Now RAC is used more and more, and the focus of learning RAC is Or: basic principle + RAC optimization.
RAC system optimization is divided into two steps: RAC system optimization and single-instance optimization; according to the basic principles of RAC, a high-performance RAC system can be designed and RAC performance problems can be analyzed. It can understand and analyze the dynamic performance view, waiting events and reports of RAC.

6. GC, DG, Stream, Gold Gate, etc.
For these tools and components, we are familiar with their architecture, principles, and some tools for monitoring performance.
Learn a few points of these parts: familiarity with the architecture, principles; building; monitoring (including failure and performance); troubleshooting and optimization.

7. Why did SQL optimization (read a classic English book, do more experiments, practice more, and analyze more)
separately? Because this part requires constant research and experimentation, and is almost a daily thing at work.
At present, there are some classic Chinese books in this regard, which are worth reading.

8. PL/SQL deep learning
In this part of learning, you must always pay attention to performance, mainly to test.
9. Comprehensive project combat:
Simulation environment:
planning, construction, testing, management, troubleshooting, optimization, analysis
Actual combat environment: same as
above

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326352201&siteId=291194637