opendolphin (1.9.4) | 2013-04-08 09:52 |
OpenDolphin1.9(2011/4/6時点)では、23個のテーブルと1個のシーケンス ならびに、BLOB(ラージオブジェクト)を使用している。
$ sudo -u postgres psql dolphin -c "\d;" List of relations Schema | Name | Type | Owner --------+--------------------+----------+--------- public | d_appo | table | dolphin public | d_diagnosis | table | dolphin public | d_document | table | dolphin public | d_facility | table | dolphin public | d_health_insurance | table | dolphin public | d_image | table | dolphin public | d_karte | table | dolphin public | d_labo_item | table | dolphin public | d_labo_module | table | dolphin public | d_labo_specimen | table | dolphin public | d_letter | table | dolphin public | d_module | table | dolphin public | d_observation | table | dolphin public | d_patient | table | dolphin public | d_patient_memo | table | dolphin public | d_patient_visit | table | dolphin public | d_published_tree | table | dolphin public | d_radiology_method | table | dolphin public | d_roles | table | dolphin public | d_stamp | table | dolphin public | d_stamp_tree | table | dolphin public | d_subscribed_tree | table | dolphin public | d_users | table | dolphin public | hibernate_sequence | sequence | dolphin (24 rows)
ラージオブジェクトの実体は、pg_largeobjectテーブルに格納される。 ラージオブジェクトのID一覧は以下の通り。 $ sudo -u postgres psql dolphin -c "\dl;" Large objects ID | Description -------+------------- 25579 | 25580 | 25581 | 25582 | (略) 25841 | (257 rows)