Disk Space
Before running the SNOMED CT load script, ensure you have at least 10Gb of free disk space. Once the load is completed 4Gb can be released by deleting the Release package folder and zip file.
The following figures apply to the SNOMED CT International Release package 2019-07-31.
- Release Package zip file: 0.5 Gb
- Release Package folder: 3.5 Gb
- Installed database up to: 5.5 Gb
Open the Command Prompt in Administrator Mode
- In the main Window menu locate the Command Prompt Desktop app.
- Right-click on this item to show the drop down menu
- Select the Run as administrator option.
- This is necessary as some steps below require adminstrator status.
Change Directories to the SnomedRfsMySql Folder
You must change directories to the SnomedRfsMySql folder before starting the loader script.
cd "C:\SnomedRfsMySql" |
Start the SNOMED CT Loader Script for MySQL
As shown above you must be in the SnomedRfsMySql folder to run the loader script. Additionally as shown below you must include the name of the subfolder (win) when running the loader script. The script may not run correctly if called from a different current folder or without the including the subfolder name.
win\snomed_wload_mysql |
Respond to Prompts from the Script
You will be prompted to enter the following data when the script is run.
Prompt | Response options | Notes |
Loader script identifying tag | Leave blank to accept the default | Recommended option Uses the default create_latest script in the SnomedRfsMySql package. |
Enter the name of one of the available scripts (these are listed above the prompt) | Uses the specified script to control the process of loading the SNOMED CT data into the database.
The suffix indicates the edition and version to which this applies:
| |
Release package path | You must enter the full path of the release package folder or release package zip archive. You will not be prompted for this if you select an update script option. | The path specified must point to a release package zip archive or an unzipped release package folder.
|
Database name | Leave blank to accept the default | Default option
|
Specify a name (must begin with the letter s followed by lowercase letters and/or digits) | Uses the database name provided.
| |
MySQL username | Leave blank to accept the default | The default is root. |
Enter your MySQL username | The username chosen must be an account with administrator access rights enabling database creation. |
Wait for the Database Password Prompt
Before the creating the database the script generates an additional release file containing the transitive closure (this is used to optimize testing and listing of subtypes). This may take between 2 and 5 minutes to complete.
- If you rerun the loader script again on the same release, you will be offered the option to reuse the existing transitive closure. If you accept the options, there will be no delay while the rebuild occurs.
Respond to the Database Password Prompt
When the script starts to access MySQL you will then be prompted for your database password.
Note that the required password here is the password associated with your MySQL account.
As noted earlier the account used for the SNOMED CT load process must have appropriate access permissions and its username should match your Mac login name.
Wait for the Load Process to Complete
- Depending on system performance the process may take between 20 and 90 minutes to complete. It may take longer with National Editions that contain additional content.
- As the MySQL script runs it will report progress on the screen. Some steps take much longer than others. For example, loading data into the database tables and adding or building indexes take much longer than any of the other steps. So if the message about these steps are showing for a long time don't worry. Let the process continue.
- When the script completes, scroll back up the command window to check for any ERROR reports for MySQL ... there should not be any!
- Now it is time to open MySQL Workbench to view your SNOMED CT database.
Feedback