performance ¶
Performance analysis for database controllers.
Classes:
-
PerformanceController–Handles query analysis and performance statistics.
Classes¶
PerformanceController ¶
Python
PerformanceController(model: type[ModelT], db: DatabaseService)
Handles query analysis and performance statistics.
Initialize the performance controller.
Parameters:
-
model(type[ModelT]) –The SQLModel to analyze performance for.
-
db(DatabaseService) –The database service instance.
Returned by:
-
afk ClassesAfkController Functions_get_performance -
base ClassesBaseController Functions_get_performance -
base_controller ClassesBaseController Functions_get_performance -
case ClassesCaseController Functions_get_performance -
controllers Classes-
AfkController Functions_get_performance -
BaseController Functions_get_performance -
CaseController Functions_get_performance -
GuildConfigController Functions_get_performance -
GuildController Functions_get_performance -
LevelsController Functions_get_performance -
PermissionAssignmentController Functions_get_performance -
PermissionCommandController Functions_get_performance -
PermissionRankController Functions_get_performance -
ReminderController Functions_get_performance -
SnippetController Functions_get_performance -
StarboardController Functions_get_performance -
StarboardMessageController Functions_get_performance
-
-
guild ClassesGuildController Functions_get_performance -
guild_config ClassesGuildConfigController Functions_get_performance -
levels ClassesLevelsController Functions_get_performance -
permissions Classes -
reminder ClassesReminderController Functions_get_performance -
snippet ClassesSnippetController Functions_get_performance -
starboard Classes
Methods:
-
get_table_statistics–Get comprehensive table statistics.
-
explain_query_performance–Explain query performance with optional analysis.