Commit 70dc39cc authored by Leo Gordon's avatar Leo Gordon
Browse files

new schema (v.58) diagram

parent 82f2ceab
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="http://static.ensembl.org/minified/fb4f89868f04f558d1d4421999719047.css" />
<title>Hive Schema Documentation</title>
<meta name="order" content="2" />
<link rel="stylesheet" type="text/css" media="all" href="http://static.ensembl.org/minified/9256d71d74fd7c3e9e2b7815edb7812b.css" />
<script language="Javascript" type="text/javascript">
var img_plus = '<img src="/i/16/plus-button.png" style="width:12px;height:12px;vertical-align:middle" alt="show"/>';
......@@ -71,7 +73,14 @@
</head>
<body>
<h1>Ensembl Hive Schema Documentation</h1>
<P>
This document describes the tables that make up the Hive schema. Tables are grouped into categories, and the purpose of each table is explained.<BR>
You can toggle the display of individual columns using [Show/Hide columns] buttons.
</P>
<P>
<A HREF=hive_schema.png>Hive schema diagram</A> links the tables together.
</P>
<h3 id="top">List of the tables:</h3>
<div>
......@@ -82,6 +91,8 @@
<h2 style="margin-left:8px;display:inline;color:#FFF;vertical-align:middle">Pipeline structure</h2>
</div>
<ul style="padding:0px 4px 0px 22px;margin-bottom:2px">
<li><a href="#hive_meta"><b>hive_meta</b></a></li>
<li><a href="#pipeline_wide_parameters"><b>pipeline_wide_parameters</b></a></li>
<li><a href="#analysis_base"><b>analysis_base</b></a></li>
<li><a href="#analysis_stats"><b>analysis_stats</b></a></li>
<li><a href="#dataflow_rule"><b>dataflow_rule</b></a></li>
......@@ -112,8 +123,6 @@
<li><a href="#job_file"><b>job_file</b></a></li>
<li><a href="#accu"><b>accu</b></a></li>
<li><a href="#analysis_data"><b>analysis_data</b></a></li>
<li><a href="#hive_meta"><b>hive_meta</b></a></li>
<li><a href="#meta"><b>meta</b></a></li>
</ul>
</div>
......@@ -140,7 +149,6 @@
<ul style="padding:0px 4px 0px 22px;margin-bottom:2px">
<li><a href="#log_message"><b>log_message</b></a></li>
<li><a href="#analysis_stats_monitor"><b>analysis_stats_monitor</b></a></li>
<li><a href="#monitor"><b>monitor</b></a></li>
</ul>
</div>
......@@ -155,6 +163,48 @@
<h2 id="1" style="display:inline;color:#000">Pipeline structure</h2>
</div>
<div id="hive_meta" style="width:820px;height:20px;border: 2px groove #CCC;background-color:#FAFAFF;padding:2px;margin-top:35px;margin-bottom:2px">
<div style="float:left;padding:0px;height:20px;width:10px;background-color:#C70C09;margin-right:10px"></div>
<div style="float:left;text-align:left;font-size:11pt;font-weight:bold">hive_meta</div>
<div style="float:right;text-align:right;padding-right:1px">
<a id="a_hive_meta" style="cursor:pointer;text-decoration:none" onclick="show_hide('hive_meta')">
<img src="/i/16/plus-button.png" style="width:12px;height:12px;vertical-align:middle" alt="show"/>
<span style="vertical-align:middle">Show columns</span>
</a>
<b> | </b> <a href="#top">[Back to top]</a>
</div>
</div>
<p style="padding:5px 0px;margin-bottom:0px;width:800px">This table keeps several important hive-specific pipeline-wide key-value pairs such as hive_sql_schema_version, hive_use_triggers and hive_pipeline_name.</p>
<div id="div_hive_meta" style="display:none">
<table style="border:1px solid #667aa6;padding:0px;min-width:1000px;max-width:1200px">
<tr class="center" style="color:#FFFFFF;background-color:#667aa6"><th style="color:#FFF;padding:2px">Column</th><th style="color:#FFF;padding:2px">Type</th><th style="color:#FFF;padding:2px;min-width:80px">Default value</th><th style="color:#FFF;padding:2px;min-width:500px">Description</th><th style="color:#FFF;padding:2px;min-width:100px">Index</th></tr>
<tr class="bg1"><td><b>meta_key</b></td><td>VARCHAR(255)</td><td></td><td>the KEY of KEY-VALUE pairs (primary key)</td><td></td></tr>
<tr class="bg2"><td><b>meta_value</b></td><td>TEXT</td><td></td><td>the VALUE of KEY-VALUE pairs</td><td></td></tr>
</table>
</div>
<div id="pipeline_wide_parameters" style="width:820px;height:20px;border: 2px groove #CCC;background-color:#FAFAFF;padding:2px;margin-top:35px;margin-bottom:2px">
<div style="float:left;padding:0px;height:20px;width:10px;background-color:#C70C09;margin-right:10px"></div>
<div style="float:left;text-align:left;font-size:11pt;font-weight:bold">pipeline_wide_parameters</div>
<div style="float:right;text-align:right;padding-right:1px">
<a id="a_pipeline_wide_parameters" style="cursor:pointer;text-decoration:none" onclick="show_hide('pipeline_wide_parameters')">
<img src="/i/16/plus-button.png" style="width:12px;height:12px;vertical-align:middle" alt="show"/>
<span style="vertical-align:middle">Show columns</span>
</a>
<b> | </b> <a href="#top">[Back to top]</a>
</div>
</div>
<p style="padding:5px 0px;margin-bottom:0px;width:800px">This table contains a simple hash between pipeline_wide_parameter names and their values. The same data used to live in 'meta' table until both the schema and the API were finally separated from Ensembl Core.</p>
<div id="div_pipeline_wide_parameters" style="display:none">
<table style="border:1px solid #667aa6;padding:0px;min-width:1000px;max-width:1200px">
<tr class="center" style="color:#FFFFFF;background-color:#667aa6"><th style="color:#FFF;padding:2px">Column</th><th style="color:#FFF;padding:2px">Type</th><th style="color:#FFF;padding:2px;min-width:80px">Default value</th><th style="color:#FFF;padding:2px;min-width:500px">Description</th><th style="color:#FFF;padding:2px;min-width:100px">Index</th></tr>
<tr class="bg1"><td><b>param_name</b></td><td>VARCHAR(255)</td><td></td><td>the KEY of KEY-VALUE pairs (primary key)</td><td>key: value_idx</td></tr>
<tr class="bg2"><td><b>param_value</b></td><td>TEXT</td><td></td><td>the VALUE of KEY-VALUE pairs</td><td></td></tr>
</table>
</div>
<div id="analysis_base" style="width:820px;height:20px;border: 2px groove #CCC;background-color:#FAFAFF;padding:2px;margin-top:35px;margin-bottom:2px">
<div style="float:left;padding:0px;height:20px;width:10px;background-color:#C70C09;margin-right:10px"></div>
<div style="float:left;text-align:left;font-size:11pt;font-weight:bold">analysis_base</div>
......@@ -426,50 +476,6 @@
</table>
</div>
<div id="hive_meta" style="width:820px;height:20px;border: 2px groove #CCC;background-color:#FAFAFF;padding:2px;margin-top:35px;margin-bottom:2px">
<div style="float:left;padding:0px;height:20px;width:10px;background-color:#1D73DA;margin-right:10px"></div>
<div style="float:left;text-align:left;font-size:11pt;font-weight:bold">hive_meta</div>
<div style="float:right;text-align:right;padding-right:1px">
<a id="a_hive_meta" style="cursor:pointer;text-decoration:none" onclick="show_hide('hive_meta')">
<img src="/i/16/plus-button.png" style="width:12px;height:12px;vertical-align:middle" alt="show"/>
<span style="vertical-align:middle">Show columns</span>
</a>
<b> | </b> <a href="#top">[Back to top]</a>
</div>
</div>
<p style="padding:5px 0px;margin-bottom:0px;width:800px">This table keeps several important hive-specific pipeline-wide key-value pairs such as hive_sql_schema_version, hive_use_triggers and hive_pipeline_name.</p>
<div id="div_hive_meta" style="display:none">
<table style="border:1px solid #667aa6;padding:0px;min-width:1000px;max-width:1200px">
<tr class="center" style="color:#FFFFFF;background-color:#667aa6"><th style="color:#FFF;padding:2px">Column</th><th style="color:#FFF;padding:2px">Type</th><th style="color:#FFF;padding:2px;min-width:80px">Default value</th><th style="color:#FFF;padding:2px;min-width:500px">Description</th><th style="color:#FFF;padding:2px;min-width:100px">Index</th></tr>
<tr class="bg1"><td><b>meta_key</b></td><td>VARCHAR(255)</td><td></td><td>the KEY of KEY-VALUE pairs (primary key)</td><td></td></tr>
<tr class="bg2"><td><b>meta_value</b></td><td>TEXT</td><td></td><td>the VALUE of KEY-VALUE pairs</td><td></td></tr>
</table>
</div>
<div id="meta" style="width:820px;height:20px;border: 2px groove #CCC;background-color:#FAFAFF;padding:2px;margin-top:35px;margin-bottom:2px">
<div style="float:left;padding:0px;height:20px;width:10px;background-color:#1D73DA;margin-right:10px"></div>
<div style="float:left;text-align:left;font-size:11pt;font-weight:bold">meta</div>
<div style="float:right;text-align:right;padding-right:1px">
<a id="a_meta" style="cursor:pointer;text-decoration:none" onclick="show_hide('meta')">
<img src="/i/16/plus-button.png" style="width:12px;height:12px;vertical-align:middle" alt="show"/>
<span style="vertical-align:middle">Show columns</span>
</a>
<b> | </b> <a href="#top">[Back to top]</a>
</div>
</div>
<p style="padding:5px 0px;margin-bottom:0px;width:800px">This table comes from the Ensembl core schema. It is created here with the 'IF NOT EXISTS' option to avoid a potential clash if we are dealing with core-hive hybrid that is created in the wrong order. At the moment meta table is used (1) for compatibility with the Core API ('schema_version'), (2) to keep pipeline-wide parameters.</p>
<div id="div_meta" style="display:none">
<table style="border:1px solid #667aa6;padding:0px;min-width:1000px;max-width:1200px">
<tr class="center" style="color:#FFFFFF;background-color:#667aa6"><th style="color:#FFF;padding:2px">Column</th><th style="color:#FFF;padding:2px">Type</th><th style="color:#FFF;padding:2px;min-width:80px">Default value</th><th style="color:#FFF;padding:2px;min-width:500px">Description</th><th style="color:#FFF;padding:2px;min-width:100px">Index</th></tr>
<tr class="bg1"><td><b>meta_id</b></td><td>INTEGER</td><td></td><td>auto-incrementing primary key, not really used per se</td><td></td></tr>
<tr class="bg2"><td><b>species_id</b></td><td>INTEGER</td><td>1</td><td>always 1, kept for compatibility with the Core API</td><td>unique key: species_key_value_idx<br />key: species_value_idx</td></tr>
<tr class="bg1"><td><b>meta_key</b></td><td>VARCHAR(255)</td><td></td><td>the KEY of KEY-VALUE pairs</td><td>unique key: species_key_value_idx</td></tr>
<tr class="bg2"><td><b>meta_value</b></td><td>TEXT</td><td></td><td>the VALUE of KEY-VALUE pairs</td><td>unique key: species_key_value_idx<br />key: species_value_idx</td></tr>
</table>
</div>
<br /><br />
<div style="background-color:#F2F2F2;padding:5px;margin:5px 0px;border-top:2px solid #24DA06">
<h2 id="4" style="display:inline;color:#000">worker table</h2>
......@@ -580,30 +586,6 @@
</table>
</div>
<div id="monitor" style="width:820px;height:20px;border: 2px groove #CCC;background-color:#FAFAFF;padding:2px;margin-top:35px;margin-bottom:2px">
<div style="float:left;padding:0px;height:20px;width:10px;background-color:#F4D20C;margin-right:10px"></div>
<div style="float:left;text-align:left;font-size:11pt;font-weight:bold">monitor</div>
<div style="float:right;text-align:right;padding-right:1px">
<a id="a_monitor" style="cursor:pointer;text-decoration:none" onclick="show_hide('monitor')">
<img src="/i/16/plus-button.png" style="width:12px;height:12px;vertical-align:middle" alt="show"/>
<span style="vertical-align:middle">Show columns</span>
</a>
<b> | </b> <a href="#top">[Back to top]</a>
</div>
</div>
<p style="padding:5px 0px;margin-bottom:0px;width:800px">A regular collated snapshot of the Worker table.</p>
<div id="div_monitor" style="display:none">
<table style="border:1px solid #667aa6;padding:0px;min-width:1000px;max-width:1200px">
<tr class="center" style="color:#FFFFFF;background-color:#667aa6"><th style="color:#FFF;padding:2px">Column</th><th style="color:#FFF;padding:2px">Type</th><th style="color:#FFF;padding:2px;min-width:80px">Default value</th><th style="color:#FFF;padding:2px;min-width:500px">Description</th><th style="color:#FFF;padding:2px;min-width:100px">Index</th></tr>
<tr class="bg1"><td><b>time</b></td><td>TIMESTAMP</td><td>CURRENT_TIMESTAMP</td><td>when this snapshot was taken</td><td></td></tr>
<tr class="bg2"><td><b>workers</b></td><td>INTEGER</td><td>0</td><td>number of running workers</td><td></td></tr>
<tr class="bg1"><td><b>throughput</b></td><td>FLOAT</td><td>NULL</td><td>average numb of completed Jobs per sec. of the hive (this number is calculated using running workers only)</td><td></td></tr>
<tr class="bg2"><td><b>per_worker</b></td><td>FLOAT</td><td>NULL</td><td>average numb of completed Jobs per sec. per Worker (this number is calculated using running workers only)</td><td></td></tr>
<tr class="bg1"><td><b>analysis</b></td><td>TEXT</td><td>NULL</td><td>a comma-separated list of analyses running at the time of snapshot</td><td></td></tr>
</table>
</div>
</body>
</html>
<P>
This document describes the tables that make up the Hive schema. Tables are grouped into categories, and the purpose of each table is explained.<BR>
You can toggle the display of individual columns using [Show/Hide columns] buttons.
</P>
<P>
<A HREF=hive_schema.png>Hive schema diagram</A> links the tables together.
</P>
No preview for this file type
docs/hive_schema.png

236 KB | W: | H:

docs/hive_schema.png

235 KB | W: | H:

docs/hive_schema.png
docs/hive_schema.png
docs/hive_schema.png
docs/hive_schema.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -3,11 +3,13 @@
It has been annotated with @-tags.
The following command is used to create HTML documentation:
perl $ENSEMBL_CVS_ROOT_DIR/ensembl-production/scripts/sql2html.pl -i $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/sql/tables.mysql \
-o $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.html -d Hive -sort_headers 0 -sort_tables 0
perl $ENSEMBL_CVS_ROOT_DIR/ensembl-production/scripts/sql2html.pl \
-i $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/sql/tables.mysql -d Hive -intro $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.inc \
-sort_headers 0 -sort_tables 0 -o $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.html
Adding the following line into the header of the previous output will make it look prettier (valid in rel.72):
<link rel="stylesheet" type="text/css" media="all" href="http://static.ensembl.org/minified/eb8658698ad4d45258b954c2d3f35bad.css" />
Adding the following line into the header of the previous output will make it look prettier (valid in rel.75):
<link rel="stylesheet" type="text/css" media="all" href="http://static.ensembl.org/minified/fb4f89868f04f558d1d4421999719047.css" />
LICENSE
......@@ -35,6 +37,45 @@ CONTACT
@colour #C70C09
*/
/**
@table hive_meta
@colour #000000
@desc This table keeps several important hive-specific pipeline-wide key-value pairs
such as hive_sql_schema_version, hive_use_triggers and hive_pipeline_name.
@column meta_key the KEY of KEY-VALUE pairs (primary key)
@column meta_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE hive_meta (
meta_key VARCHAR(255) NOT NULL PRIMARY KEY,
meta_value TEXT
) COLLATE=latin1_swedish_ci ENGINE=InnoDB;
/**
@table pipeline_wide_parameters
@colour #000000
@desc This table contains a simple hash between pipeline_wide_parameter names and their values.
The same data used to live in 'meta' table until both the schema and the API were finally separated from Ensembl Core.
@column param_name the KEY of KEY-VALUE pairs (primary key)
@column param_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE pipeline_wide_parameters (
param_name VARCHAR(255) NOT NULL PRIMARY KEY,
param_value TEXT,
KEY value_idx (param_name(255))
) COLLATE=latin1_swedish_ci ENGINE=InnoDB;
/**
@table analysis_base
......@@ -381,45 +422,6 @@ CREATE TABLE analysis_data (
) COLLATE=latin1_swedish_ci ENGINE=InnoDB;
/**
@table hive_meta
@colour #000000
@desc This table keeps several important hive-specific pipeline-wide key-value pairs
such as hive_sql_schema_version, hive_use_triggers and hive_pipeline_name.
@column meta_key the KEY of KEY-VALUE pairs (primary key)
@column meta_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE hive_meta (
meta_key VARCHAR(255) NOT NULL PRIMARY KEY,
meta_value TEXT
) COLLATE=latin1_swedish_ci ENGINE=InnoDB;
/**
@table pipeline_wide_parameters
@colour #000000
@desc This table contains a simple hash between pipeline_wide_parameter names and their values.
The same data used to live in 'meta' table until both the schema and the API were finally separated.
@column param_name the KEY of KEY-VALUE pairs (primary key)
@column param_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE pipeline_wide_parameters (
param_name VARCHAR(255) NOT NULL PRIMARY KEY,
param_value TEXT,
KEY value_idx (param_name(255))
) COLLATE=latin1_swedish_ci ENGINE=InnoDB;
/**
@header worker table
@colour #24DA06
......
......@@ -3,11 +3,14 @@
It has been annotated with @-tags.
The following command is used to create HTML documentation:
perl $ENSEMBL_CVS_ROOT_DIR/ensembl-production/scripts/sql2html.pl -i $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/sql/tables.pgsql \
-o $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.html -d Hive -sort_headers 0 -sort_tables 0
perl $ENSEMBL_CVS_ROOT_DIR/ensembl-production/scripts/sql2html.pl \
-i $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/sql/tables.pgsql -d Hive -intro $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.inc \
-sort_headers 0 -sort_tables 0 -o $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.html
Adding the following line into the header of the previous output will make it look prettier (valid in rel.75):
<link rel="stylesheet" type="text/css" media="all" href="http://static.ensembl.org/minified/fb4f89868f04f558d1d4421999719047.css" />
Adding the following line into the header of the previous output will make it look prettier (valid in rel.72):
<link rel="stylesheet" type="text/css" media="all" href="http://static.ensembl.org/minified/eb8658698ad4d45258b954c2d3f35bad.css" />
LICENSE
......@@ -35,6 +38,45 @@ CONTACT
@colour #C70C09
*/
/**
@table hive_meta
@colour #000000
@desc This table keeps several important hive-specific pipeline-wide key-value pairs
such as hive_sql_schema_version, hive_use_triggers and hive_pipeline_name.
@column meta_key the KEY of KEY-VALUE pairs (primary key)
@column meta_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE hive_meta (
meta_key VARCHAR(255) NOT NULL PRIMARY KEY,
meta_value TEXT
);
/**
@table pipeline_wide_parameters
@colour #000000
@desc This table contains a simple hash between pipeline_wide_parameter names and their values.
The same data used to live in 'meta' table until both the schema and the API were finally separated from Ensembl Core.
@column param_name the KEY of KEY-VALUE pairs (primary key)
@column param_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE pipeline_wide_parameters (
param_name VARCHAR(255) NOT NULL PRIMARY KEY,
param_value TEXT
);
CREATE INDEX ON pipeline_wide_parameters (param_value);
/**
@table analysis_base
......@@ -238,7 +280,6 @@ CREATE TABLE resource_class (
@column resource_class_id foreign-keyed to the ResourceClass entry
@column meadow_type if the Worker is about to be executed on the given Meadow...
@column parameters ... the following resource line should be given to it.
@column submission_cmd_args ... these are the resource arguments (queue, memory,...) to give to the submission command
@column worker_cmd_args ... and these are the arguments that are given to the worker command being submitted
*/
......@@ -385,45 +426,6 @@ CREATE TABLE analysis_data (
CREATE INDEX ON analysis_data (data);
/**
@table hive_meta
@colour #000000
@desc This table keeps several important hive-specific pipeline-wide key-value pairs
such as hive_sql_schema_version, hive_use_triggers and hive_pipeline_name.
@column meta_key the KEY of KEY-VALUE pairs (primary key)
@column meta_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE hive_meta (
meta_key VARCHAR(255) NOT NULL PRIMARY KEY,
meta_value TEXT
);
/**
@table pipeline_wide_parameters
@colour #000000
@desc This table contains a simple hash between pipeline_wide_parameter names and their values.
The same data used to live in 'meta' table until both the schema and the API were finally separated from Ensembl Core.
@column param_name the KEY of KEY-VALUE pairs (primary key)
@column param_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE pipeline_wide_parameters (
param_name VARCHAR(255) NOT NULL PRIMARY KEY,
param_value TEXT
);
CREATE INDEX ON pipeline_wide_parameters (param_value);
/**
@header worker table
@colour #24DA06
......
......@@ -3,11 +3,14 @@
It has been annotated with @-tags.
The following command is used to create HTML documentation:
perl $ENSEMBL_CVS_ROOT_DIR/ensembl-production/scripts/sql2html.pl -i $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/sql/tables.sqlite \
-o $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.html -d Hive -sort_headers 0 -sort_tables 0
perl $ENSEMBL_CVS_ROOT_DIR/ensembl-production/scripts/sql2html.pl \
-i $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/sql/tables.sqlite -d Hive -intro $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.inc \
-sort_headers 0 -sort_tables 0 -o $ENSEMBL_CVS_ROOT_DIR/ensembl-hive/docs/hive_schema.html
Adding the following line into the header of the previous output will make it look prettier (valid in rel.75):
<link rel="stylesheet" type="text/css" media="all" href="http://static.ensembl.org/minified/fb4f89868f04f558d1d4421999719047.css" />
Adding the following line into the header of the previous output will make it look prettier (valid in rel.72):
<link rel="stylesheet" type="text/css" media="all" href="http://static.ensembl.org/minified/eb8658698ad4d45258b954c2d3f35bad.css" />
LICENSE
......@@ -35,6 +38,45 @@ CONTACT
@colour #C70C09
*/
/**
@table hive_meta
@colour #000000
@desc This table keeps several important hive-specific pipeline-wide key-value pairs
such as hive_sql_schema_version, hive_use_triggers and hive_pipeline_name.
@column meta_key the KEY of KEY-VALUE pairs (primary key)
@column meta_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE hive_meta (
meta_key VARCHAR(255) NOT NULL PRIMARY KEY,
meta_value TEXT
);
/**
@table pipeline_wide_parameters
@colour #000000
@desc This table contains a simple hash between pipeline_wide_parameter names and their values.
The same data used to live in 'meta' table until both the schema and the API were finally separated from Ensembl Core.
@column param_name the KEY of KEY-VALUE pairs (primary key)
@column param_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE pipeline_wide_parameters (
param_name VARCHAR(255) NOT NULL PRIMARY KEY,
param_value TEXT
);
CREATE INDEX pipeline_wide_parameters_value_idx ON pipeline_wide_parameters (param_value);
/**
@table analysis_base
......@@ -375,45 +417,6 @@ CREATE TABLE analysis_data (
CREATE INDEX analysis_data_idx ON analysis_data (data);
/**
@table hive_meta
@colour #000000
@desc This table keeps several important hive-specific pipeline-wide key-value pairs
such as hive_sql_schema_version, hive_use_triggers and hive_pipeline_name.
@column meta_key the KEY of KEY-VALUE pairs (primary key)
@column meta_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE hive_meta (
meta_key VARCHAR(255) NOT NULL PRIMARY KEY,
meta_value TEXT
);
/**
@table pipeline_wide_parameters
@colour #000000
@desc This table contains a simple hash between pipeline_wide_parameter names and their values.
The same data used to live in 'meta' table until both the schema and the API were finally separated from Ensembl Core.
@column param_name the KEY of KEY-VALUE pairs (primary key)
@column param_value the VALUE of KEY-VALUE pairs
*/
CREATE TABLE pipeline_wide_parameters (
param_name VARCHAR(255) NOT NULL PRIMARY KEY,
param_value TEXT
);
CREATE INDEX pipeline_wide_parameters_value_idx ON pipeline_wide_parameters (param_value);
/**
@header worker table
@colour #24DA06
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment