Collecting statistics in a database system

   
   

Statistics regarding at least one attribute (or column) of a table in a database system are collected using an enhanced mechanism for faster collection. The statistics collection is based on scanning a sample of rows of a given table, with the sample being less than all the rows of the table. The percentage of rows to be read is specified in a statement submitted to the database system. The database system then uses the specified percentage to read the sample rows from the table for collecting statistics on the at least one attribute.

La estadística con respecto por lo menos una cualidad (o a columna) de una tabla en un sistema de la base de datos se recoge usando un mecanismo realzado para una colección más rápida. La colección de la estadística se basa en la exploración de una muestra de filas de una tabla dada, con la muestra siendo menos que todas las filas de la tabla. El porcentaje de las filas que se leerán se especifica en una declaración sometida al sistema de la base de datos. El sistema de la base de datos entonces utiliza el porcentaje especificado para leer las filas de la muestra de la tabla para recoger estadística en la por lo menos una cualidad.

 
Web www.patentalert.com

< Data transfer request processing scheme for reducing mechanical actions in data storage system

< Method for utilizing waveform relaxation in computer-based simulation models

> Data processor

> Method, apparatus, and program for service processor surveillance with multiple partitions

~ 00136