Skip to content

Commit 396776b

Browse files
committed
tidy readme
1 parent b535bf4 commit 396776b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mimic-iv-ed/buildmimic/postgres/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ After the database exists, the schema and tables can be created under this datab
4949
psql -d mimic -f create.sql
5050
```
5151

52-
Finally, loading the data into this data requires specifying the database name with `-d mimicived` again:
52+
Finally, loading the data into this data requires specifying the database name with `-d mimic` again:
5353

5454
```sh
5555
psql -d mimic -v ON_ERROR_STOP=1 -v mimic_data_dir=<INSERT MIMIC FILE PATH HERE> -f load.sql
@@ -93,10 +93,6 @@ NOTICE: table "XXXXXX" does not exist, skipping
9393

9494
This is normal. By default, the script attempts to delete tables before rebuilding them. If it cannot find the table to delete, it outputs a notice letting the user know.
9595

96-
## Older versions of PostgreSQL
97-
98-
If you have an older version of PostgreSQL, then it is still possible to load MIMIC, but modifications to the scripts are required. In particular, the scripts use declarative partitioning for larger tables to speed up queries. To read more about [declarative partitioning, see the PostgreSQL documentation](https://www.postgresql.org/docs/10/static/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE). You can remove declarative partitionining by modifying the create script, and removing it for each affected table. For example, chartevents in the `mimic_icu` schema uses declarative partitioning, and thus the create.sql script creates many partitions for chartevents: chartevents_01, chartevents_02, ..., etc. Replacing these with a single create statement for chartevents will make the script compatible for older versions of PostgreSQL.
99-
10096
### Other
10197

10298
Please see the [issues page](https://github.com/MIT-LCP/mimic-code/issues) to discuss other issues you may be having.

0 commit comments

Comments
 (0)