Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions sp_QuickieStore/sp_QuickieStore.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1265,24 +1265,6 @@ CREATE TABLE
)
);

/*Gonna try gathering this based on*/
CREATE TABLE
#query_hash_totals
(
database_id integer NOT NULL,
query_hash binary(8) NOT NULL,
total_executions bigint NOT NULL,
total_duration_ms decimal(19,2) NOT NULL,
total_cpu_time_ms decimal(19,2) NOT NULL,
total_logical_reads_mb decimal(19,2) NOT NULL,
total_physical_reads_mb decimal(19,2) NOT NULL,
total_logical_writes_mb decimal(19,2) NOT NULL,
total_clr_time_ms decimal(19,2) NOT NULL,
total_memory_mb decimal(19,2) NOT NULL,
total_rowcount decimal(19,2) NOT NULL,
PRIMARY KEY CLUSTERED(query_hash, database_id)
);

/*GET ALL THOSE DATABASES*/
CREATE TABLE
#databases
Expand Down