Repository tools command to compact index files

Use the compacttdb command to make database indexes more compact.

Purpose

Note: This command is not supported in a cluster environment.
Jazz Foundation Services use the Jena TDB database to store and query over RDF data. Special circumstances can cause the TDB indexes to grow large. The compacttdb command alleviates this problem by forcing a compaction of the indexes.
Important: You must shut down the server before you run the command.

Parameters

Attribute Description Required Default
srcdir The directory containing the RDF indexes to be compacted. Yes N/A
tempdir The temporary directory to use while compacting the RDF indexes No tmp
teamserver.properties Path to the teamserver.properties file. No conf/application/teamserver.properties

where application is jts, ccm, am, rm, qm, gc, dcc, or relm.

force It forces all indexes to be compacted. If it is set to false, only indexes managed by the server is compacted. No False

Example

The following example is for Jazz™ Team Server. To use this command for other applications, run these options from the server directory:
  • Change and Configuration Management: repotools-ccm
  • Rhapsody Model Manager: repotools-am
  • Requirements Management: repotools-rm
  • Quality Management: repotools-qm
  • Global Configuration Management: repotools-gc
  • Data Collection Component: repotools-dcc
  • IBM® Engineering Lifecycle Optimization - Engineering Insights: repotools-relm

For Windows operating system Open a command prompt and enter this command:

cd C:\Program Files\IBM\JazzTeamServer\server\
repotools-jts.bat -compacttdb srcdir=C:\RDF_indexes tempdir=C:\tmp
Note: On UNIX platforms such as Linux or AIX, the compacttdb command must be run with the same user ID that will start the application. This ensures that the application can access the files and change them when needed.

For Unix operating systems Open a command line and enter this command:

cd opt/IBM/JazzTeamServer/server
./repotools-jts.sh -compacttdb srcdir=opt/RDF_indexes tempdir=opt/tmp

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki