jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krohne, Frank - ENCOWAY" <kro...@encoway.de>
Subject Performance while using jackrabbit and indexing configuration
Date Thu, 02 Oct 2008 05:56:16 GMT
Hi!

 

First of all to our solution:

 

We have the following repository workspace configuration and note type
definition. 

We have some (about 15) independent junit tests that are creating some
(not that much in each test, maybe about 5-10) nodes (i.e.: create a
projectgroup (see node definition), add some projects and to the
projects some documentenvelopes and salesdocuments, ...) and reads or
searches for them (always in the same independent test).

So if we have a clean repository then the time to run all the tests is
about 10 seconds.

If we run the same tests again the time for it just grows about 2-3
seconds (for overall 15 tests).

The most time for each test seems to be used while indexing the nodes we
save (sometimes over 500 ms). Is the is normal value?

By now we don't have an own indexing configuration so it will be all
indexed (?).

Will we get some performance if we configure our own indexing
configuration?`

Is the growth of testing time normally for that sum of nodes we are
creating?

Is our repository and workspace configuration ok or can/must we changes
this a bit?

 

Any ideas?

 

Thanks in advance

Frank

 

 

 

<?xml version="1.0"?>

<Repository>

    <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">

        <param name="driver"
value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>

        <param name="url"
value="jdbc:sqlserver://ecs-sqlserver1:1433;databaseName=jackrabbit_type
based"/>

        <param name="schema" value="mssql"/>

        <param name="user" value="test"/>

        <param name="password" value="test"/>

        <param name="schemaObjectPrefix" value="rep_"/>

    </FileSystem>

    <Security appName="Jackrabbit">

        <AccessManager
class="org.apache.jackrabbit.core.security.SimpleAccessManager">

            <!-- <param name="config" value="${rep.home}/access.xml"/>
-->

        </AccessManager>

        <LoginModule
class="org.apache.jackrabbit.core.security.SimpleLoginModule">

           <!-- <param name="defaultUserId" value="superuser"/> -->

        </LoginModule>

    </Security>

    <Workspaces rootPath="${rep.home}/workspaces"
defaultWorkspace="default" configRootPath="/wspConfigs"/>

    <Workspace name="default">

        <FileSystem
class="org.apache.jackrabbit.core.fs.db.DbFileSystem">

            <param name="driver"
value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>

            <param name="url"
value="jdbc:sqlserver://ecs-sqlserver:1433;databaseName=jackrabbit_typeb
ased"/>

            <param name="schema" value="mssql"/>

            <param name="user" value="test"/>

            <param name="password" value="test"/>

            <param name="schemaObjectPrefix" value="wks_"/>

        </FileSystem>

        <PersistenceManager
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">

            <param name="driver"
value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>

            <param name="url"
value="jdbc:sqlserver://ecs-sqlserver:1433;databaseName=jackrabbit_typeb
ased"/>

            <param name="schema" value="mssql"/>

            <param name="user" value="test"/>

            <param name="password" value="test"/>

            <param name="schemaObjectPrefix" value="default_"/>

            <param name="externalBLOBs" value="false"/>

        </PersistenceManager>

        <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">

            <param name="path" value="${wsp.home}/index"/>

            <param name="textFilterClasses"
value="org.apache.jackrabbit.extractor.MsWordTextExtractor,org.apache.ja
ckrabbit.extractor.MsExcelTextExtractor,org.apache.jackrabbit.extractor.
MsPowerPointTextExtractor,org.apache.jackrabbit.extractor.PdfTextExtract
or,org.apache.jackrabbit.extractor.OpenOfficeTextExtractor,org.apache.ja
ckrabbit.extractor.RTFTextExtractor,org.apache.jackrabbit.extractor.HTML
TextExtractor,org.apache.jackrabbit.extractor.XMLTextExtractor"/>

            <param name="extractorPoolSize" value="2"/>            

            <param name="supportHighlighting" value="true"/>

        </SearchIndex>

    </Workspace>

    <Versioning  rootPath="${rep.home}/version" >

        <FileSystem
class="org.apache.jackrabbit.core.fs.db.DbFileSystem">

            <param name="driver"
value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>

            <param name="url"
value="jdbc:sqlserver://ecs-sqlserver:1433;databaseName=jackrabbit_typeb
ased"/>

            <param name="schema" value="mssql"/>

            <param name="user" value="test"/>

            <param name="password" value="test"/>

            <param name="schemaObjectPrefix" value="vsn_"/>

        </FileSystem>

        <PersistenceManager
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">

            <param name="driver"
value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>

            <param name="url"
value="jdbc:sqlserver://ecs-sqlserver:1433;databaseName=jackrabbit_typeb
ased"/>

            <param name="schema" value="mssql"/>

            <param name="user" value="test"/>

            <param name="password" value="test"/>

            <param name="schemaObjectPrefix" value="version_"/>

            <param name="externalBLOBs" value="false"/>

        </PersistenceManager>

    </Versioning>

 

    <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">

        <param name="path" value="${rep.home}/repository/index"/>

        <param name="textFilterClasses"
value="org.apache.jackrabbit.extractor.MsWordTextExtractor,org.apache.ja
ckrabbit.extractor.MsExcelTextExtractor,org.apache.jackrabbit.extractor.
MsPowerPointTextExtractor,org.apache.jackrabbit.extractor.PdfTextExtract
or,org.apache.jackrabbit.extractor.OpenOfficeTextExtractor,org.apache.ja
ckrabbit.extractor.RTFTextExtractor,org.apache.jackrabbit.extractor.HTML
TextExtractor,org.apache.jackrabbit.extractor.XMLTextExtractor"/>

        <param name="extractorPoolSize" value="2"/>

        <param name="supportHighlighting" value="true"/>

    </SearchIndex>

</Repository>

 

<ns = 'http://www.encoway.de/ns'>

[ns:projectgroup] > nt:hierarchyNode, mix:versionable

    - ns:userid (String) mandatory

    - ns:name (String) mandatory

    - ns:description (String)

    - ns:deleted (boolean) = false autocreated

    - jcr:lastModified (date) ignore

    - * (UNDEFINED) COPY

    - * (UNDEFINED) multiple COPY

    + project (ns:project) = ns:project multiple

 

[ns:project] > nt:hierarchyNode, mix:versionable

    - ns:userid (String) mandatory

    - ns:name (String) mandatory

    - ns:customerid (String) mandatory

    - ns:description (String)

    - ns:deleted (boolean) = false autocreated

    - jcr:lastModified (date) ignore

    - * (UNDEFINED) COPY

    - * (UNDEFINED) multiple COPY

    + documentenvelope (ns:documentenvelope) = ns:documentenvelope
multiple

 

[ns:documentenvelope] > nt:hierarchyNode, mix:versionable

    - ns:name (String) mandatory

    - ns:description (String)

    - ns:deleted (boolean) = false autocreated

    - jcr:lastModified (date) ignore

    + salesdocument (ns:salesdocument) = ns:salesdocument

    + attachmentfolder (ns:attachmentfolder) = ns:attachmentfolder 

 

[ns:salesdocument] > nt:hierarchyNode, mix:versionable

    - ns:salesdocumentid (String) mandatory

    - ns:name (String) mandatory

    - ns:description (String)

    - ns:deleted (boolean) = false autocreated

    - jcr:lastModified (date) ignore

    - * (UNDEFINED) COPY

    - * (UNDEFINED) multiple COPY

    

[ns:attachmentfolder] > nt:folder

    - ns:name (String) = 'attachementfolder' mandatory autocreated

    + attachment (ns:attachment) = ns:attachment multiple

 

[ns:attachment] > nt:resource, nt:hierarchyNode, mix:versionable

    - ns:name (String) mandatory

    - ns:description (String)

    - ns:deleted (boolean) = false autocreated

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message