Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
613d0bc5
Commit
613d0bc5
authored
14 years ago
by
Andreas Kusalananda Kähäri
Browse files
Options
Downloads
Patches
Plain Diff
Added text about populate_analysis_description.pl and modified other
text.
parent
4dbe69a6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
misc-scripts/production_database/scripts/README
+49
-4
49 additions, 4 deletions
misc-scripts/production_database/scripts/README
with
49 additions
and
4 deletions
misc-scripts/production_database/scripts/README
+
49
−
4
View file @
613d0bc5
...
...
@@ -2,7 +2,7 @@
== About the scripts here ==
========================================================================
update_database_list.pl
==>
update_database_list.pl
- Purpose
...
...
@@ -37,13 +37,14 @@ update_database_list.pl
Running it twice will have no adverse effects.
populate_production_db_tables.pl
==>
populate_production_db_tables.pl
- Purpose
Takes the data from the four views 'attrib_type', 'external_db',
'misc_set', and 'unmapped_reason' in the production database and
copies them to one or several other databases.
'misc_set', and 'unmapped_reason' views in the production database
and copies them to one or several other Core-like databases. These
views are supported by the 'master_%' tables.
- Who runs this and when?
...
...
@@ -55,6 +56,8 @@ populate_production_db_tables.pl
- How to run it?
Running the script without any options will display usage info.
To insert the four tables into one single database:
populate_production_db_tables.pl -h HOST \
...
...
@@ -88,3 +91,45 @@ populate_production_db_tables.pl
The script will notify you of any new or deleted entries (compared
to the entries in the backed up tables) and will give you an SQL
statement that may be use to study these.
==> populate_analysis_description.pl
- Purpose
Populates the 'analysis_description' table in all
Core-like databases on the staging servers from the
'full_analysis_description' view in the production database.
This view is supported by various other views and tables in the
production database.
- Who runs this and when?
This script will be run by the release coordinator before handover
to the web-team. Since the script relies on the database names
stored in the production database, one can only run it on databases
detected by the update_database_list.pl script (see above).
- How to run it?
Running the script without any options will display usage info.
The options are very similar to those of the
populate_production_db_tables.pl script (see above), and the mode of
operation is likewise similar to that script.
- What to look out for?
As for the populate_production_db_tables.pl script, this script also
creates a backup of the analysis_description table which needs to be
removed.
The script will also warn about analyses that it expected to find
in the database but didn't (they are expected since they are linked
to the database in the production database, but might have gone out
of use since the last update, so this is not a big deal), and will
flag as errors any analysis that is found but that does not have a
corresponding analysis description in the production database. If
this happens, the release coordinator must either add a new analysis
description to the production database, or connect an existing
analysis description to the target database.
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment