[15526] | 1 | <?xml version="1.0" encoding="utf-8"?><Database Name="HeuristicLab.Hive" Class="HiveDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
|
---|
[15411] | 2 | <Table Name="dbo.AssignedProjectResource" Member="AssignedProjectResources">
|
---|
| 3 | <Type Name="AssignedProjectResource">
|
---|
[6983] | 4 | <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
[15526] | 5 | <Column Name="ProjectId" Storage="_JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
[15527] | 6 | <Association Name="Resource_AssignedProjectResource" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
| 7 | <Association Name="Project_AssignedProjectResource" Member="Project" ThisKey="ProjectId" OtherKey="ProjectId" Type="Project" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
[6983] | 8 | </Type>
|
---|
| 9 | </Table>
|
---|
| 10 | <Table Name="dbo.Plugin" Member="Plugins">
|
---|
| 11 | <Type Name="Plugin">
|
---|
[15526] | 12 | <Column Name="PluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
| 13 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
| 14 | <Column Name="Version" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
| 15 | <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
| 16 | <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
| 17 | <Column Name="Hash" Type="System.Byte[]" DbType="VarBinary(20) NOT NULL" CanBeNull="false" />
|
---|
[6983] | 18 | <Association Name="Plugin_RequiredPlugin" Member="RequiredPlugins" ThisKey="PluginId" OtherKey="PluginId" Type="RequiredPlugin" />
|
---|
[15526] | 19 | <Association Name="Plugin_PluginData" Member="PluginData" ThisKey="PluginId" OtherKey="PluginId" Type="PluginData" />
|
---|
[6983] | 20 | </Type>
|
---|
| 21 | </Table>
|
---|
| 22 | <Table Name="dbo.RequiredPlugins" Member="RequiredPlugins">
|
---|
| 23 | <Type Name="RequiredPlugin">
|
---|
[15526] | 24 | <Column Name="RequiredPluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" UpdateCheck="Never" />
|
---|
| 25 | <Column Name="TaskId" Storage="_JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
[6983] | 26 | <Column Name="PluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
[15526] | 27 | <Association Name="Plugin_RequiredPlugin" Member="Plugin" Storage="_PluginInfo" ThisKey="PluginId" OtherKey="PluginId" Type="Plugin" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
| 28 | <Association Name="Task_RequiredPlugin" Member="Task" Storage="_Job" ThisKey="TaskId" OtherKey="TaskId" Type="Task" IsForeignKey="true" />
|
---|
[6983] | 29 | </Type>
|
---|
| 30 | </Table>
|
---|
| 31 | <Table Name="dbo.Resource" Member="Resources">
|
---|
[15526] | 32 | <Type Name="Resource" InheritanceCode="RESOURCE">
|
---|
| 33 | <Column Name="ResourceId" AutoSync="OnInsert" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 34 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
| 35 | <Column Name="ResourceType" Type="System.String" CanBeNull="false" IsDiscriminator="true" />
|
---|
[6983] | 36 | <Column Name="ParentResourceId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
[15526] | 37 | <Column Name="HbInterval" Type="System.Int32" DbType="Int" CanBeNull="false" />
|
---|
[7916] | 38 | <Column Name="OwnerUserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
[15527] | 39 | <Association Name="Resource_AssignedProjectResource" Member="AssignedProjectResources" Storage="_AssignedResources" ThisKey="ResourceId" OtherKey="ResourceId" Type="AssignedProjectResource" />
|
---|
[15526] | 40 | <Association Name="Resource_Resource" Member="ChildResources" ThisKey="ResourceId" OtherKey="ParentResourceId" Type="Resource" />
|
---|
| 41 | <Association Name="Resource_Downtime" Member="Downtimes" Storage="_UptimeCalendars" ThisKey="ResourceId" OtherKey="ResourceId" Type="Downtime" />
|
---|
[6983] | 42 | <Association Name="Resource_StateLog" Member="StateLogs" ThisKey="ResourceId" OtherKey="SlaveId" Type="StateLog" />
|
---|
[15526] | 43 | <Association Name="Resource_AssignedTaskResource" Member="AssignedTaskResources" ThisKey="ResourceId" OtherKey="ResourceId" Type="AssignedTaskResource" />
|
---|
[15528] | 44 | <Association Name="Resource_AssignedJobResource" Member="AssignedJobResources" ThisKey="ResourceId" OtherKey="ResourceId" Type="AssignedJobResource" />
|
---|
[15526] | 45 | <Association Name="Resource_Resource" Member="ParentResource" ThisKey="ParentResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" />
|
---|
| 46 | <Type Name="Slave" InheritanceCode="Slave" IsInheritanceDefault="true">
|
---|
| 47 | <Column Name="CpuSpeed" Storage="_CPUSpeed" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
| 48 | <Column Name="Memory" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
| 49 | <Column Name="Login" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
| 50 | <Column Name="SlaveState" Storage="_Status" Type="global::HeuristicLab.Services.Hive.DataAccess.SlaveState" DbType="VarChar(15)" CanBeNull="true" />
|
---|
| 51 | <Column Name="Cores" Storage="_NumberOfCores" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
| 52 | <Column Name="FreeCores" Storage="_NumberOfFreeCores" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
| 53 | <Column Name="FreeMemory" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
| 54 | <Column Name="IsAllowedToCalculate" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
| 55 | <Column Name="CpuArchitecture" Type="global::HeuristicLab.Services.Hive.DataAccess.CpuArchitecture" DbType="VarChar(3)" CanBeNull="false" />
|
---|
| 56 | <Column Name="OperatingSystem" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" UpdateCheck="Never" />
|
---|
| 57 | <Column Name="LastHeartbeat" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
| 58 | <Column Name="CpuUtilization" Type="System.Double" DbType="float" CanBeNull="false" />
|
---|
| 59 | <Column Name="IsDisposable" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
|
---|
| 60 | </Type>
|
---|
| 61 | <Type Name="SlaveGroup" InheritanceCode="GROUP" />
|
---|
[6983] | 62 | </Type>
|
---|
| 63 | </Table>
|
---|
| 64 | <Table Name="dbo.Task" Member="Tasks">
|
---|
| 65 | <Type Name="Task">
|
---|
[15526] | 66 | <Column Name="TaskId" Storage="_JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
| 67 | <Column Name="TaskState" Member="State" Type="global::HeuristicLab.Services.Hive.DataAccess.TaskState" DbType="VarChar(30)" CanBeNull="false" />
|
---|
| 68 | <Column Name="ExecutionTimeMs" Storage="_ExecutionTime" Type="System.Double" DbType="float" CanBeNull="false" />
|
---|
[6983] | 69 | <Column Name="LastHeartbeat" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
[15526] | 70 | <Column Name="ParentTaskId" Storage="_ParentJobId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
[6983] | 71 | <Column Name="Priority" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 72 | <Column Name="CoresNeeded" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 73 | <Column Name="MemoryNeeded" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
[15526] | 74 | <Column Name="IsParentTask" Storage="_IsParentJob" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
| 75 | <Column Name="FinishWhenChildJobsFinished" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
| 76 | <Column Name="Command" Type="global::HeuristicLab.Services.Hive.DataAccess.Command?" DbType="VarChar(30)" CanBeNull="true" />
|
---|
| 77 | <Column Name="JobId" Storage="_HiveExperimentId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
[6983] | 78 | <Association Name="Task_RequiredPlugin" Member="RequiredPlugins" ThisKey="TaskId" OtherKey="TaskId" Type="RequiredPlugin" />
|
---|
[15526] | 79 | <Association Name="Task_Task" Member="ChildJobs" Storage="_Jobs" ThisKey="TaskId" OtherKey="ParentTaskId" Type="Task" />
|
---|
| 80 | <Association Name="Task_TaskData" Member="JobData" ThisKey="TaskId" OtherKey="TaskId" Type="TaskData" Cardinality="One" />
|
---|
[6983] | 81 | <Association Name="Task_StateLog" Member="StateLogs" ThisKey="TaskId" OtherKey="TaskId" Type="StateLog" />
|
---|
[15526] | 82 | <Association Name="Task_AssignedTaskResource" Member="AssignedTaskResources" ThisKey="TaskId" OtherKey="TaskId" Type="AssignedTaskResource" />
|
---|
| 83 | <Association Name="Task_Task" Member="ParentJob" Storage="_Job1" ThisKey="ParentTaskId" OtherKey="TaskId" Type="Task" IsForeignKey="true" />
|
---|
| 84 | <Association Name="Job_Task" Member="Job" Storage="_HiveExperiment" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />
|
---|
[6983] | 85 | </Type>
|
---|
| 86 | </Table>
|
---|
[15526] | 87 | <Table Name="dbo.Downtime" Member="Downtimes">
|
---|
| 88 | <Type Name="Downtime">
|
---|
| 89 | <Column Name="DowntimeId" Storage="_UptimeCalendarId" Type="System.Guid" DbType="UniqueIdentifier" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
| 90 | <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
| 91 | <Column Name="StartDate" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
| 92 | <Column Name="EndDate" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
| 93 | <Column Name="AllDayEvent" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
| 94 | <Column Name="Recurring" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
| 95 | <Column Name="RecurringId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
| 96 | <Column Name="DowntimeType" Storage="_Type" Type="global::HeuristicLab.Services.Hive.DataAccess.DowntimeType" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
| 97 | <Association Name="Resource_Downtime" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
| 98 | </Type>
|
---|
| 99 | </Table>
|
---|
| 100 | <Table Name="dbo.Job" Member="Jobs">
|
---|
| 101 | <Type Name="Job">
|
---|
| 102 | <Column Name="JobId" Storage="_HiveExperimentId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
| 103 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
| 104 | <Column Name="Description" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
---|
| 105 | <Column Name="OwnerUserId" Storage="_UserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
| 106 | <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
| 107 | <Column Name="ProjectId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
[15630] | 108 | <Column Name="JobState" Member="State" Type="global::HeuristicLab.Services.Hive.DataAccess.JobState" DbType="VarChar(30)" CanBeNull="false" />
|
---|
[15526] | 109 | <Association Name="Job_Task" Member="Tasks" Storage="_Jobs" ThisKey="JobId" OtherKey="JobId" Type="Task" />
|
---|
| 110 | <Association Name="Job_JobPermission" Member="JobPermissions" Storage="_HiveExperimentPermissions" ThisKey="JobId" OtherKey="JobId" Type="JobPermission" />
|
---|
[15528] | 111 | <Association Name="Job_AssignedJobResource" Member="AssignedJobResources" ThisKey="JobId" OtherKey="JobId" Type="AssignedJobResource" />
|
---|
[15526] | 112 | <Association Name="Project_Job" Member="Project" ThisKey="ProjectId" OtherKey="ProjectId" Type="Project" IsForeignKey="true" />
|
---|
| 113 | </Type>
|
---|
| 114 | </Table>
|
---|
[6983] | 115 | <Table Name="dbo.TaskData" Member="TaskDatas">
|
---|
| 116 | <Type Name="TaskData">
|
---|
[15526] | 117 | <Column Name="TaskId" Storage="_JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 118 | <Column Name="Data" Type="System.Byte[]" DbType="VarBinary(MAX)" CanBeNull="false" UpdateCheck="Never" IsDelayLoaded="true" />
|
---|
| 119 | <Column Name="LastUpdate" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
| 120 | <Association Name="Task_TaskData" Member="Task" Storage="_Job" ThisKey="TaskId" OtherKey="TaskId" Type="Task" IsForeignKey="true" />
|
---|
[6983] | 121 | </Type>
|
---|
| 122 | </Table>
|
---|
[15526] | 123 | <Table Name="dbo.PluginData" Member="PluginDatas">
|
---|
| 124 | <Type Name="PluginData">
|
---|
| 125 | <Column Name="PluginDataId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
| 126 | <Column Name="PluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
| 127 | <Column Name="Data" Type="System.Byte[]" DbType="VarBinary(MAX) NOT NULL" CanBeNull="false" UpdateCheck="Never" IsDelayLoaded="true" />
|
---|
| 128 | <Column Name="FileName" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
| 129 | <Association Name="Plugin_PluginData" Member="Plugin" ThisKey="PluginId" OtherKey="PluginId" Type="Plugin" IsForeignKey="true" />
|
---|
| 130 | </Type>
|
---|
| 131 | </Table>
|
---|
| 132 | <Table Name="dbo.StateLog" Member="StateLogs">
|
---|
| 133 | <Type Name="StateLog">
|
---|
| 134 | <Column Name="StateLogId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
| 135 | <Column Name="State" Type="global::HeuristicLab.Services.Hive.DataAccess.TaskState" DbType="VarChar(30) NOT NULL" CanBeNull="false" />
|
---|
| 136 | <Column Name="DateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
|
---|
| 137 | <Column Name="TaskId" Storage="_JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
| 138 | <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
| 139 | <Column Name="SlaveId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
| 140 | <Column Name="Exception" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
| 141 | <Association Name="Task_StateLog" Member="Task" Storage="_Job" ThisKey="TaskId" OtherKey="TaskId" Type="Task" IsForeignKey="true" />
|
---|
| 142 | <Association Name="Resource_StateLog" Member="Resource" ThisKey="SlaveId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" />
|
---|
| 143 | </Type>
|
---|
| 144 | </Table>
|
---|
| 145 | <Table Name="dbo.JobPermission" Member="JobPermissions">
|
---|
| 146 | <Type Name="JobPermission">
|
---|
| 147 | <Column Name="JobId" Storage="_HiveExperimentId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 148 | <Column Name="GrantedUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 149 | <Column Name="GrantedByUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
| 150 | <Column Name="Permission" Type="global::HeuristicLab.Services.Hive.DataAccess.Permission" DbType="VarChar(15) NOT NULL" CanBeNull="false" />
|
---|
| 151 | <Association Name="Job_JobPermission" Member="Job" Storage="_HiveExperiment" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />
|
---|
| 152 | </Type>
|
---|
| 153 | </Table>
|
---|
| 154 | <Table Name="" Member="Lifecycles">
|
---|
| 155 | <Type Name="Lifecycle">
|
---|
| 156 | <Column Name="LifecycleId" Type="System.Int32" DbType="Int" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 157 | <Column Name="LastCleanup" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
| 158 | </Type>
|
---|
| 159 | </Table>
|
---|
| 160 | <Table Name="" Member="UserPriorities">
|
---|
[9123] | 161 | <Type Name="UserPriority">
|
---|
| 162 | <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 163 | <Column Name="DateEnqueued" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
|
---|
| 164 | </Type>
|
---|
| 165 | </Table>
|
---|
[12878] | 166 | <Table Name="[statistics].DimClient" Member="DimClients">
|
---|
| 167 | <Type Name="DimClient">
|
---|
[15526] | 168 | <Column Name="Id" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
[12878] | 169 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX) NOT NULL" CanBeNull="false" />
|
---|
| 170 | <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
| 171 | <Column Name="ExpirationTime" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
| 172 | <Column Name="ResourceGroupId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
| 173 | <Column Name="ResourceGroup2Id" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
[15526] | 174 | <Column Name="GroupName" Type="System.String" CanBeNull="true" />
|
---|
| 175 | <Column Name="GroupName2" Type="System.String" CanBeNull="true" />
|
---|
[12878] | 176 | <Association Name="DimClient_FactTask" Member="FactTasks" ThisKey="Id" OtherKey="LastClientId" Type="FactTask" />
|
---|
| 177 | <Association Name="DimClient_FactClientInfo" Member="FactClientInfos" ThisKey="Id" OtherKey="ClientId" Type="FactClientInfo" />
|
---|
| 178 | </Type>
|
---|
| 179 | </Table>
|
---|
[15526] | 180 | <Table Name="[statistics].FactTask" Member="FactTasks">
|
---|
| 181 | <Type Name="FactTask">
|
---|
| 182 | <Column Name="TaskId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 183 | <Column Name="CalculatingTime" Storage="_TotalRuntime" Type="System.Int64" DbType="INT NOT NULL" CanBeNull="false" />
|
---|
| 184 | <Column Name="WaitingTime" Storage="_TotalWaitingTime" Type="System.Int64" DbType="INT NOT NULL" CanBeNull="false" />
|
---|
| 185 | <Column Name="TransferTime" Storage="_TotalTransferTime" Type="System.Int64" DbType="INT NOT NULL" CanBeNull="false" />
|
---|
| 186 | <Column Name="NumCalculationRuns" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 187 | <Column Name="NumRetries" Storage="_NumFails" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 188 | <Column Name="CoresRequired" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 189 | <Column Name="MemoryRequired" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 190 | <Column Name="Priority" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 191 | <Column Name="LastClientId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="true" />
|
---|
| 192 | <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
| 193 | <Column Name="EndTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="true" />
|
---|
| 194 | <Column Name="TaskState" Type="global::HeuristicLab.Services.Hive.DataAccess.TaskState" DbType="varchar(30)" CanBeNull="false" />
|
---|
| 195 | <Column Name="Exception" Type="System.String" DbType="varchar(MAX)" CanBeNull="true" />
|
---|
| 196 | <Column Name="InitialWaitingTime" Storage="_InitialWaitingTimeMs" Type="System.Int64" DbType="INT" CanBeNull="false" />
|
---|
| 197 | <Column Name="StartTime" Type="System.DateTime" CanBeNull="true" />
|
---|
| 198 | <Association Name="DimClient_FactTask" Member="DimClient" ThisKey="LastClientId" OtherKey="Id" Type="DimClient" IsForeignKey="true" />
|
---|
| 199 | <Association Name="DimJob_FactTask" Member="DimJob" ThisKey="JobId" OtherKey="JobId" Type="DimJob" IsForeignKey="true" />
|
---|
| 200 | </Type>
|
---|
| 201 | </Table>
|
---|
[12878] | 202 | <Table Name="[statistics].DimJob" Member="DimJobs">
|
---|
| 203 | <Type Name="DimJob">
|
---|
| 204 | <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 205 | <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
| 206 | <Column Name="JobName" Type="System.String" DbType="VarChar(MAX) NOT NULL" CanBeNull="false" />
|
---|
| 207 | <Column Name="UserName" Type="System.String" DbType="VarChar(MAX) NOT NULL" CanBeNull="false" />
|
---|
| 208 | <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
|
---|
[15526] | 209 | <Column Name="TotalTasks" Type="System.Int32" DbType="INT NOT NULL" CanBeNull="false" />
|
---|
| 210 | <Column Name="CompletedTasks" Type="System.Int32" DbType="INT NOT NULL" CanBeNull="false" />
|
---|
| 211 | <Column Name="DateCompleted" Type="System.DateTime" DbType="DateTime NULL" CanBeNull="true" />
|
---|
[12878] | 212 | <Association Name="DimJob_FactTask" Member="FactTasks" ThisKey="JobId" OtherKey="JobId" Type="FactTask" />
|
---|
| 213 | </Type>
|
---|
| 214 | </Table>
|
---|
| 215 | <Table Name="[statistics].DimTime" Member="DimTimes">
|
---|
| 216 | <Type Name="DimTime">
|
---|
| 217 | <Column Name="Time" Type="System.DateTime" DbType="DateTime NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 218 | <Column Name="Hour" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
|
---|
| 219 | <Column Name="Day" Type="System.DateTime" DbType="Date NOT NULL" CanBeNull="false" />
|
---|
| 220 | <Column Name="Month" Type="System.DateTime" DbType="Date NOT NULL" CanBeNull="false" />
|
---|
| 221 | <Column Name="Year" Type="System.DateTime" DbType="Date NOT NULL" CanBeNull="false" />
|
---|
[15526] | 222 | <Column Name="Minute" Type="System.DateTime" CanBeNull="false" />
|
---|
[12878] | 223 | <Association Name="DimTime_FactClientInfo" Member="FactClientInfos" ThisKey="Time" OtherKey="Time" Type="FactClientInfo" />
|
---|
| 224 | </Type>
|
---|
| 225 | </Table>
|
---|
| 226 | <Table Name="[statistics].DimUser" Member="DimUsers">
|
---|
| 227 | <Type Name="DimUser">
|
---|
| 228 | <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 229 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX) NOT NULL" CanBeNull="false" />
|
---|
| 230 | <Association Name="DimUser_FactClientInfo" Member="FactClientInfos" ThisKey="UserId" OtherKey="UserId" Type="FactClientInfo" />
|
---|
| 231 | </Type>
|
---|
| 232 | </Table>
|
---|
| 233 | <Table Name="[statistics].FactClientInfo" Member="FactClientInfos">
|
---|
| 234 | <Type Name="FactClientInfo">
|
---|
| 235 | <Column Name="ClientId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 236 | <Column Name="Time" Type="System.DateTime" DbType="DateTime NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
[15378] | 237 | <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
[12878] | 238 | <Column Name="NumUsedCores" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 239 | <Column Name="NumTotalCores" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 240 | <Column Name="UsedMemory" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 241 | <Column Name="TotalMemory" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
| 242 | <Column Name="CpuUtilization" Type="System.Double" DbType="Float NOT NULL" CanBeNull="false" />
|
---|
[15526] | 243 | <Column Name="IdleTime" Storage="_TotalTimeIdle" Type="System.Int64" DbType="INT NOT NULL" CanBeNull="false" />
|
---|
| 244 | <Column Name="OfflineTime" Storage="_TotalTimeOffline" Type="System.Int64" DbType="INT NOT NULL" CanBeNull="false" />
|
---|
| 245 | <Column Name="UnavailableTime" Storage="_TotalTimeUnavailable" Type="System.Int64" DbType="INT NOT NULL" CanBeNull="false" />
|
---|
| 246 | <Column Name="SlaveState" Type="global::HeuristicLab.Services.Hive.DataAccess.SlaveState" DbType="VarChar(15)" CanBeNull="false" />
|
---|
| 247 | <Column Name="IsAllowedToCalculate" Type="System.Boolean" DbType="BIT" CanBeNull="false" />
|
---|
[12878] | 248 | <Association Name="DimClient_FactClientInfo" Member="DimClient" ThisKey="ClientId" OtherKey="Id" Type="DimClient" IsForeignKey="true" />
|
---|
| 249 | <Association Name="DimTime_FactClientInfo" Member="DimTime" ThisKey="Time" OtherKey="Time" Type="DimTime" IsForeignKey="true" />
|
---|
| 250 | <Association Name="DimUser_FactClientInfo" Member="DimUser" ThisKey="UserId" OtherKey="UserId" Type="DimUser" IsForeignKey="true" />
|
---|
| 251 | </Type>
|
---|
| 252 | </Table>
|
---|
[15526] | 253 | <Table Name="dbo.Project" Member="Projects">
|
---|
| 254 | <Type Name="Project">
|
---|
| 255 | <Column Name="ProjectId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
| 256 | <Column Name="ParentProjectId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
| 257 | <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
|
---|
| 258 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX) NOT NULL" CanBeNull="false" />
|
---|
| 259 | <Column Name="Description" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
---|
| 260 | <Column Name="OwnerUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
| 261 | <Column Name="StartDate" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
|
---|
| 262 | <Column Name="EndDate" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
[15527] | 263 | <Association Name="Project_AssignedProjectResource" Member="AssignedProjectResources" Storage="_AssignedResources" ThisKey="ProjectId" OtherKey="ProjectId" Type="AssignedProjectResource" />
|
---|
[15526] | 264 | <Association Name="Project_Job" Member="Jobs" ThisKey="ProjectId" OtherKey="ProjectId" Type="Job" />
|
---|
| 265 | <Association Name="Project_Project" Member="ChildProjects" Storage="_Projects" ThisKey="ProjectId" OtherKey="ParentProjectId" Type="Project" />
|
---|
| 266 | <Association Name="Project_ProjectPermission" Member="ProjectPermissions" ThisKey="ProjectId" OtherKey="ProjectId" Type="ProjectPermission" />
|
---|
| 267 | <Association Name="Project_Project" Member="ParentProject" Storage="_Project1" ThisKey="ParentProjectId" OtherKey="ProjectId" Type="Project" IsForeignKey="true" />
|
---|
| 268 | </Type>
|
---|
| 269 | </Table>
|
---|
| 270 | <Table Name="dbo.ProjectPermission" Member="ProjectPermissions">
|
---|
| 271 | <Type Name="ProjectPermission">
|
---|
| 272 | <Column Name="ProjectId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 273 | <Column Name="GrantedUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 274 | <Column Name="GrantedByUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
| 275 | <Association Name="Project_ProjectPermission" Member="Project" ThisKey="ProjectId" OtherKey="ProjectId" Type="Project" IsForeignKey="true" />
|
---|
| 276 | </Type>
|
---|
| 277 | </Table>
|
---|
| 278 | <Table Name="dbo.AssignedTaskResource" Member="AssignedTaskResources">
|
---|
| 279 | <Type Name="AssignedTaskResource">
|
---|
| 280 | <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 281 | <Column Name="TaskId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 282 | <Association Name="Task_AssignedTaskResource" Member="Task" ThisKey="TaskId" OtherKey="TaskId" Type="Task" IsForeignKey="true" />
|
---|
| 283 | <Association Name="Resource_AssignedTaskResource" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" />
|
---|
| 284 | </Type>
|
---|
| 285 | </Table>
|
---|
[15528] | 286 | <Table Name="dbo.AssignedJobResource" Member="AssignedJobResources">
|
---|
| 287 | <Type Name="AssignedJobResource">
|
---|
| 288 | <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 289 | <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
| 290 | <Association Name="Resource_AssignedJobResource" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" />
|
---|
| 291 | <Association Name="Job_AssignedJobResource" Member="Job" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />
|
---|
| 292 | </Type>
|
---|
| 293 | </Table>
|
---|
[6983] | 294 | </Database> |
---|