From 2a30e85c97097794328b59c1c9691cd44e20b7b4 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 16 Jul 2008 22:16:46 +0000 Subject: [PATCH] added index to ParentID on prims, as this is sorted on for prim loading. This should speed up initial load of prims, especially on primy regions. --- OpenSim/Data/MySQL/Resources/012_RegionStore.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 OpenSim/Data/MySQL/Resources/012_RegionStore.sql diff --git a/OpenSim/Data/MySQL/Resources/012_RegionStore.sql b/OpenSim/Data/MySQL/Resources/012_RegionStore.sql new file mode 100644 index 0000000000..95c27573de --- /dev/null +++ b/OpenSim/Data/MySQL/Resources/012_RegionStore.sql @@ -0,0 +1,5 @@ +BEGIN; + +ALTER TABLE prims add index prims_parentid(ParentID); + +COMMIT; \ No newline at end of file