Learn how to leverage Oracle DB Performance Tuning optimizer statistics for max performance! PART-1

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 9

  • @DevMore
    @DevMore 3 місяці тому

    Nice

  • @satyaa7502
    @satyaa7502 11 місяців тому +1

    👏👏

  • @atursingh3639
    @atursingh3639 11 місяців тому +1

    Sir very good video sir please create one video index and rebuild index session

    • @anishkumarvideos
      @anishkumarvideos  11 місяців тому +1

      Thanks !!
      I have already created one video on Index rebuilding - ua-cam.com/video/YiBCspv4WjI/v-deo.htmlsi=RXXEkKVQwtzp3PoA

  • @wbtopg
    @wbtopg Рік тому

    Wow 🎉

  • @nikitanamdev9955
    @nikitanamdev9955 8 місяців тому

    What is the difference between schema stats and Database stats?

    • @anishkumarvideos
      @anishkumarvideos  7 місяців тому

      1. Schema statistics refer to the statistics collected for objects within a specific schema.
      2. These statistics provide information about the distribution of data within tables, indexes, and other objects owned by a particular schema.
      3. Schema statistics are useful for understanding the characteristics and distribution of data within a specific schema, which can be helpful for query optimization and performance tuning at the schema level.
      4. These statistics are typically collected using the DBMS_STATS package or through the ANALYZE command with specific options.
      ==============================================
      1. Database statistics, on the other hand, encompass statistics collected for the entire database.
      2. These statistics provide a broader view of the database, including information about the distribution of data across all schemas and objects within the database.
      3. Database statistics include metrics such as total database size, number of objects, average row length, and other aggregate information about the database as a whole.
      4. Database statistics are essential for monitoring overall database health, identifying trends, and making high-level decisions related to database management and resource allocation.
      5. Database statistics are typically collected using tools such as Oracle Enterprise Manager (OEM), Oracle's Automatic Workload Repository (AWR), or by querying system views such as DBA_TABLES, DBA_INDEXES, etc.

  • @mdak-df2eb
    @mdak-df2eb 9 місяців тому

    what is the use of estimate_percent parameter in gathering statistics?

    • @anishkumarvideos
      @anishkumarvideos  8 місяців тому +1

      In Oracle, the estimate_percent parameter is used when gathering statistics on tables or indexes.
      - Automatic Statistics Collection
      - Manual Statistics Collection
      EXEC DBMS_STATS.GATHER_TABLE_STATS('schema_name', 'table_name', estimate_percent => 20);