[Liblas-commits] hg: use composite compressed index for the obj_id/blk_id index

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Oct 23 15:43:58 EDT 2009


changeset 143e29a52de4 in /home/www/liblas.org/hg
details: http://hg.liblas.org/main/hg?cmd=changeset;node=143e29a52de4
summary: use composite compressed index for the obj_id/blk_id index

diffstat:

 apps/las2oci.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5355055d225d -r 143e29a52de4 apps/las2oci.cpp
--- a/apps/las2oci.cpp	Fri Oct 23 14:12:47 2009 -0500
+++ b/apps/las2oci.cpp	Fri Oct 23 14:41:00 2009 -0500
@@ -493,7 +493,7 @@
     if (statement != 0) delete statement; else return false;
     oss.str("");
 
-    oss << "CREATE INDEX "<< tableName <<"_objectid_idx on "<<tableName<<"(OBJ_ID)" ;
+    oss << "CREATE INDEX "<< tableName <<"_objectid_idx on "<<tableName<<"(OBJ_ID,BLK_ID) COMPRESS 2" ;
     statement = Run(connection, oss);
     if (statement != 0) delete statement; else return false;
     oss.str("");    


More information about the Liblas-commits mailing list