tailieunhanh - Optimizing Sort Operations

After completing this lesson, you should be able to do the following: List the operations that use temporary space Create and monitor temporary tablespaces Identify actions that use the temporary tablespace Describe the use of disk and memory for sorting Identify the SQL operations that require sorts Differentiate between disk and memory sorts List ways to reduce total sorts and disk sorts Determine the number of memory sorts performed Set parameters to optimize sorts | Optimizing Sort Operations Objectives After completing this lesson, you should be able to do the following: List the operations that use temporary space Create and monitor temporary tablespaces Identify actions that use the temporary tablespace Describe the use of disk and memory for sorting Identify the SQL operations that require sorts Differentiate between disk and memory sorts List ways to reduce total sorts and disk sorts Determine the number of memory sorts performed Set parameters to optimize sorts Automatic Sort Area Management Parameters for automatic sort area management: PGA_AGGREGATE_TARGET (Ranges from 10 MB to 4000 GB) WORKAREA_SIZE_POLICY AUTO | MANUAL Replaces all *_AREA_SIZE parameters Automatic Sort Area Management PGA_AGGREGATE_TARGET Specifies the target aggregate PGA memory of all server processes attached to the instance. The value of this parameter can range from 10 MB to 4000 GB. When setting this parameter, you should examine the total memory on your system that is available to the Oracle instance, subtract the SGA, and then assign the remaining memory to PGA_AGGREGATE_TARGET. WORKAREA_SIZE_POLICY Accepted values are: Auto: You can specify Auto only when PGA_AGGREGATE_TARGET is defined. Manual: The sizing of work areas is manual and based on the values of the *_AREA_SIZE parameters corresponding to the operation (for example, a sort uses SORT_AREA_SIZE). Specifying MANUAL may result in suboptimal performance and poor PGA memory utilization. PGA Management Resources Statistics to manage the PGA_AGGREGATE_TARGET initialization parameter Views for monitoring the PGA work area include: v$sql_workarea_histogram v$pgastat v$sql_workarea_active v$sql_workarea v$tempseg_usage Views to assist in sizing the PGA work area are: v$pga_target_advice v$pga_target_advice_histogram PGA Management Resources During the execution of SQL statements, server processes consume memory for various operations. Part of this memory is assigned to work areas for . | Optimizing Sort Operations Objectives After completing this lesson, you should be able to do the following: List the operations that use temporary space Create and monitor temporary tablespaces Identify actions that use the temporary tablespace Describe the use of disk and memory for sorting Identify the SQL operations that require sorts Differentiate between disk and memory sorts List ways to reduce total sorts and disk sorts Determine the number of memory sorts performed Set parameters to optimize sorts Automatic Sort Area Management Parameters for automatic sort area management: PGA_AGGREGATE_TARGET (Ranges from 10 MB to 4000 GB) WORKAREA_SIZE_POLICY AUTO | MANUAL Replaces all *_AREA_SIZE parameters Automatic Sort Area Management PGA_AGGREGATE_TARGET Specifies the target aggregate PGA memory of all server processes attached to the instance. The value of this parameter can range from 10 MB to 4000 GB. When setting this parameter, you should examine the total memory on your system .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã 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.