Changes between Initial Version and Version 1 of QueryOptimization


Ignore:
Timestamp:
06/04/26 09:18:22 (2 weeks ago)
Author:
231528
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QueryOptimization

    v1 v1  
     1= Query Optimization =
     2
     3== Overview ==
     4
     5The purpose of this phase was to analyze and optimize the performance of the database views used in the Laboratory Management System. Performance testing was performed using PostgreSQL's EXPLAIN ANALYZE command.
     6
     7For each view, the execution plan was analyzed in order to identify potential bottlenecks, evaluate index usage, and determine whether additional optimization was required. Special attention was given to Sequential Scan, Parallel Sequential Scan, Index Scan, and Index Only Scan operations.
     8
     9The database contains large amounts of generated data, including millions of patients, samples, payments, and laboratory requests, making query optimization an important aspect of the system.
     10
     11== Analyzed Views ==
     12
     13* v_lab_request_details
     14* v_invoice_payment_summary
     15* v_sample_details
     16* v_test_result_details
     17* v_patient_statistics
     18* v_ordered_test_details
     19* v_ordered_package_details
     20* v_employee_schedule_details
     21* v_lab_equipment_skills
     22
     23The detailed performance analysis, execution plans, and optimization results for each view are presented below.