Retrieve database statistics for the database specified. This class cannot be inherited.
For a list of all members of this type, see FbStatistical Members.
System.Object
FirebirdSql.Data.Firebird.Services.FbService
FirebirdSql.Data.Firebird.Services.FbStatistical
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The following sample request statistics for system tables and indexes in addition to user tables and indexes and displays it in Console.
FbStatistical statisticalSvc = new FbStatistical(); statisticalSvc.UserName = "SYSDBA"; statisticalSvc.UserPassword = "masterkey"; statisticalSvc.Database = @"C:\TESTDB.GDB"; statisticalSvc.Options = FbStatisticalFlags.SystemTablesRelations; statisticalSvc.Start(); string lineOutput; while((lineOutput = statisticalSvc.GetNextLine()) != null) { Console.WriteLine(lineOutput); } statisticalSvc.Close();
Namespace: FirebirdSql.Data.Firebird.Services
Assembly: FirebirdSql.Data.Firebird (in FirebirdSql.Data.Firebird.dll)
FbStatistical Members | FirebirdSql.Data.Firebird.Services Namespace