From 6f30e76071641ac7db18e2e9ebc35d2997584f76 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 24 Mar 2008 21:04:30 +0000 Subject: [PATCH] Implement - [ 1924635 ] Performance enhancement - Indexes on M_CostDetail --- migration/331b-trunk/130_FR1924635.txt | 7 +++++++ migration/331b-trunk/postgresql/130_FR1924635.txt | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 migration/331b-trunk/130_FR1924635.txt create mode 100644 migration/331b-trunk/postgresql/130_FR1924635.txt diff --git a/migration/331b-trunk/130_FR1924635.txt b/migration/331b-trunk/130_FR1924635.txt new file mode 100644 index 0000000000..bcb5eb9676 --- /dev/null +++ b/migration/331b-trunk/130_FR1924635.txt @@ -0,0 +1,7 @@ +-- [ 1924635 ] Performance enhancement - Indexes on M_CostDetail + +DROP INDEX M_COSTDETAIL_PRODUCT; + +CREATE INDEX M_COSTDETAIL_PRODUCT ON M_COSTDETAIL (M_PRODUCT_ID, processed); + +CREATE INDEX M_COSTDETAIL_ASI ON M_COSTDETAIL (M_AttributeSetInstance_ID); \ No newline at end of file diff --git a/migration/331b-trunk/postgresql/130_FR1924635.txt b/migration/331b-trunk/postgresql/130_FR1924635.txt new file mode 100644 index 0000000000..bcb5eb9676 --- /dev/null +++ b/migration/331b-trunk/postgresql/130_FR1924635.txt @@ -0,0 +1,7 @@ +-- [ 1924635 ] Performance enhancement - Indexes on M_CostDetail + +DROP INDEX M_COSTDETAIL_PRODUCT; + +CREATE INDEX M_COSTDETAIL_PRODUCT ON M_COSTDETAIL (M_PRODUCT_ID, processed); + +CREATE INDEX M_COSTDETAIL_ASI ON M_COSTDETAIL (M_AttributeSetInstance_ID); \ No newline at end of file