Overview
Instructions on loading a full database.
Details
- Create a separate working dir, e.g. c:/ncifull
- Create config/config.properties file for this work -e.g. config.properties
- set all directories to c:/ncifull instead of c:/umlsserver
- Set up a second "server" in Eclipse to run with this config file.
- Set up secondary run configurations that use this config.properties file
- Create config/config.properties file for this work -e.g. config.properties
- Truncate your db (or prepare a fresh db)
- Make sure you are using collation utf8_bin
- ALTER DATABASE ncifulldb DEFAULT CHARACTER SET utf8 COLLATE utf_bin
- Pull and build the project and make sure your config file is completely up to date
- Clear your indexes directory of all files
- Download the data from https://wci1.s3.amazonaws.com/NCI/umls.sql.gz
- gunzip the file (may require cygwin)
- Import the file into your database (with MySQL workbench → see the Management/Data Import tool)
- Reindex your database (run the Reindex profile on the admin/lucene project)
- NOTE: make sure your indexed.objects property is blank.
With that, you should be able to build and deploy a server.
NOTE: on certain unix environments MySQL table names are case sensitive and will need to be corrected (ask BAC if needed)
Scale Testing Insertions
Full data for insertions can be downloaded from S3
- Download the "full" SRC data - https://wci1.s3.amazonaws.com/NCI/NCI-srcDataDir-full.zip
- Unzip this into c:/umlsserver/data
- Edit config-full.properties so that source.data.dir points to c:/umlsserver/data
- Run a server, and perform NCI, SNOMEDCT_US, or MTH insertion.
Scale Testing Release
- Download the "mr" package data - https://wci1.s3.amazonaws.com/NCI/NCI-srcDataDir-full.zip
- Unzip this into c:/umlsserver/data
- Edit config-full.properties so that source.data.dir points to c:/umlsserver/data
- Run a server, and perform NCI, SNOMEDCT_US, or MTH insertion.
References/Links
- n/a