Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
7df9afd6
Commit
7df9afd6
authored
Jun 08, 2004
by
Jessica Severin
Browse files
added dataflow_rule_id to table dataflow_rule
added default values of 1 to batch_size and hive_capacity
parent
6cfdad9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sql/tables.sql
sql/tables.sql
+5
-2
No files found.
sql/tables.sql
View file @
7df9afd6
...
...
@@ -79,15 +79,18 @@ CREATE TABLE simple_rule (
-- databases, with the default being the database the analysis is on
--
-- semantics:
-- dataflow_rule_id - internal ID
-- from_analysis_id - foreign key to analysis table analysis_id
-- to_analysis_url - foreign key to net distributed analysis logic_name reference
-- branch_code - joined to analysis_job.branch_code to allow branching
CREATE
TABLE
dataflow_rule
(
dataflow_rule_id
int
(
10
)
unsigned
default
'0'
not
null
auto_increment
,
from_analysis_id
int
(
10
)
unsigned
NOT
NULL
,
to_analysis_url
varchar
(
255
)
default
''
NOT
NULL
,
branch_code
int
(
10
)
default
1
NOT
NULL
,
PRIMARY
KEY
(
dataflow_rule_id
),
UNIQUE
(
from_analysis_id
,
to_analysis_url
)
);
...
...
@@ -203,8 +206,8 @@ CREATE TABLE analysis_stats (
analysis_id
int
(
10
)
NOT
NULL
,
status
enum
(
'BLOCKED'
,
'READY'
,
'WORKING'
,
'ALL_CLAIMED'
,
'DONE'
)
DEFAULT
'READY'
NOT
NULL
,
batch_size
int
(
10
)
NOT
NULL
,
hive_capacity
int
(
10
)
NOT
NULL
,
batch_size
int
(
10
)
default
1
NOT
NULL
,
hive_capacity
int
(
10
)
default
1
NOT
NULL
,
total_job_count
int
(
10
)
NOT
NULL
,
unclaimed_job_count
int
(
10
)
NOT
NULL
,
done_job_count
int
(
10
)
NOT
NULL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment