Skip to content

Commit

Permalink
sync with latest sessions and requests
Browse files Browse the repository at this point in the history
  • Loading branch information
williamadba committed Aug 23, 2018
1 parent 326e74e commit 6d41637
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions sessions and requests table.sql
Expand Up @@ -5,13 +5,15 @@ DROP TABLE
IF EXISTS
[dbo].[SessionsAndRequestsLog]
go

CREATE TABLE [dbo].[SessionsAndRequestsLog](
[timestamp] [datetime] NOT NULL INDEX IDX_NC_SessionsAndRequestsLog_timestamp CLUSTERED,
[session_id] [smallint] NOT NULL INDEX IDX_NC_SessionsAndRequestsLog_session_id NONCLUSTERED,
[timestamp] [datetime] NOT NULL,
[session_id] [smallint] NOT NULL,
[host_name] [nvarchar](256) NULL,
[program_name] [nvarchar](256) NULL,
[session_status] [nvarchar](60) NULL,
[request_status] [nvarchar](60) NULL,
[request_id] [int] NULL,
[blocking_these] [varchar](1000) NULL,
[blocked_by] [smallint] NULL,
[wait_type] [nvarchar](120) NULL,
Expand Down Expand Up @@ -50,10 +52,16 @@ CREATE TABLE [dbo].[SessionsAndRequestsLog](
[Governor_Group_ID] [int] NULL,
[Governor_Pool_Name] [sysname] NULL,
[Governor_Pool_ID] [int] NULL,
[total_rows] [bigint] NULL,
[last_rows] [bigint] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

[EndPointName] [sysname] NULL,
[Protocol] [nvarchar](120) NULL,
[session_internal_alloc] [bigint] NULL,
[sesion_internal_dealloc] [bigint] NULL,
[session_user_alloc] [bigint] NULL,
[sesion_user_dealloc] [bigint] NULL,
[task_internal_alloc] [bigint] NULL,
[task_internal_dealloc] [bigint] NULL,
[task_user_alloc] [bigint] NULL,
[task_user_dealloc] [bigint] NULL
) ON [PRIMARY]
GO


0 comments on commit 6d41637

Please sign in to comment.