mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

ludovicp
30.52.2010 b12119c55b89ece2495e84fba229d96439e8219b
refs
author ludovicp <ludovicp@localhost>
Friday, July 30, 2010 16:52 +0200
committer ludovicp <ludovicp@localhost>
Friday, July 30, 2010 16:52 +0200
commitb12119c55b89ece2495e84fba229d96439e8219b
tree 2098e9cca81d05971e6ca2533f6c7fe9e2d363f2 tree | zip | gz
parent 4ac4b275bdde78a84b8330e421ce54b11e981049 view | diff
Implements index analysis features.
There are 2 components:
Index Filter Analyzer : Part of DatabaseEnvironmentProvider, it gathers search filter statistics and displays the index filter, number of hits, max matching entries, and a message. Compound filters are broken down to their basic elements. f an index was not utilized while evaluating the search filter, max matching entries will be -1 and a diagnostic message will be included. The monitor entry also includes when the analyzer was enabled along with the number of total index and unindexed searches processed.

Attribute Index Analysis, part of the dbtest tool. It cursors through all the indexes and finds the number of 100%, 95%, 90%, and 80% undefined index keys. It also displays the value of the undefined keys along with the total number of keys in the index. The process is currently single threaded and might not scale to 10 mil+ DBs. However, this is currently unavoidable without the ability for JE to cursor through the records in log order.
15 files modified
1044 ■■■■■ changed files
opends/resource/schema/02-config.ldif 9 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/LocalDBBackendConfiguration.xml 54 ●●●●● diff | view | raw | blame | history
opends/src/admin/messages/LocalDBBackendCfgDefn.properties 4 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/jeb.properties 9 ●●●●● diff | view | raw | blame | history
opends/src/messages/messages/tools.properties 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/AttributeIndex.java 354 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 11 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/Index.java 11 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/IndexFilter.java 147 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/IndexQuery.java 28 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/IndexQueryFactoryImpl.java 61 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/RootContainer.java 8 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/monitors/DatabaseEnvironmentMonitor.java 250 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/DBTest.java 95 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/ValidateConfigDefinitionsTest.java 1 ●●●● diff | view | raw | blame | history