Application Tuning

After completing this lesson, you should be able to do the following: Explain the role of the DBA in tuning applications Move tables using the ALTER TABLE command Redefine a table online Create different types of indexes Build and manage index-organized tables Explain and plan OLTP, DSS, and hybrid systems | Application Tuning Objectives After completing this lesson, you should be able to do the following: Explain the role of the DBA in tuning applications Move tables using the ALTER TABLE command Redefine a table online Create different types of indexes Build and manage index-organized tables Explain and plan OLTP, DSS, and hybrid systems The Role of the Database Administrator Application tuning is the most important part of tuning. DBAs are not always directly involved in application tuning. However, DBAs must be familiar with the impact that poorly written SQL statements can have upon database performance. Database Administrator Tasks Application design and application tuning provide the greatest performance benefits. However, the method in which data is selected and the amount of data that is selected has serious implications for application performance if the statements that execute those operations are not properly written. As a database administrator (DBA), you are not always directly involved in the tuning of an application; application developers are often responsible for developing applications and writing SQL statements. However, as a DBA you must be aware of the impact that poorly written SQL statements can have on the database environment. You should be able to provide assistance with application tuning and identify inefficient SQL statements. You should also be aware of optimizer plan stability, implemented through stored outlines and query rewrites using materialized views and dimensions. Moving Tables Using ALTER TABLE Tables can be moved using the ALTER TABLE command. This allows: Privileges and constraints to be kept The table structure to be changed Movement to another tablespace The command to be parallelized SQL> ALTER TABLE 2 MOVE 3 TABLESPACE users; Moving Tables Using ALTER TABLE Tables can be moved by: Using export and import: The problem with this method is that for a period of time the table is unavailable to users and the table | Application Tuning Objectives After completing this lesson, you should be able to do the following: Explain the role of the DBA in tuning applications Move tables using the ALTER TABLE command Redefine a table online Create different types of indexes Build and manage index-organized tables Explain and plan OLTP, DSS, and hybrid systems The Role of the Database Administrator Application tuning is the most important part of tuning. DBAs are not always directly involved in application tuning. However, DBAs must be familiar with the impact that poorly written SQL statements can have upon database performance. Database Administrator Tasks Application design and application tuning provide the greatest performance benefits. However, the method in which data is selected and the amount of data that is selected has serious implications for application performance if the statements that execute those operations are not properly written. As a database administrator (DBA), you are not always .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.