Revision 3504
Added by Jing Tao about 17 years ago
src/xmltables-postgres.sql | ||
---|---|---|
168 | 168 |
*/ |
169 | 169 |
CREATE INDEX xml_documents_idx1 ON xml_documents (docid, doctype); |
170 | 170 |
CREATE INDEX xml_documents_idx2 ON xml_documents (lower(user_owner)); |
171 |
CREATE INDEX xml_documents_idx3 ON xml_documents (rootnodeid); |
|
171 | 172 |
|
172 | 173 |
/* |
173 | 174 |
* Revised Documents -- table to store XML documents saved after an UPDATE |
... | ... | |
247 | 248 |
*/ |
248 | 249 |
CREATE INDEX xml_index_idx1 ON xml_index (path); |
249 | 250 |
CREATE INDEX xml_index_idx2 ON xml_index (docid); |
251 |
CREATE INDEX xml_index_idx3 ON xml_index (nodeid); |
|
250 | 252 |
|
251 | 253 |
CREATE SEQUENCE xml_relation_id_seq; |
252 | 254 |
CREATE TABLE xml_relation ( |
Also available in: Unified diff
Add two indexes to improve deleting and update speed.