It's all about the answers!

Ask a question

What is the correct syntax for run repotools -compacttdb?

Josh Crawford (984615) | asked Apr 24 '13, 2:14 p.m.
Occasionally support or development may request that you compress the tdb indexes used by the CLM repositories.

The syntax example does not provide an example of exactly where that index is.

One answer

permanent link
Josh Crawford (984615) | answered Apr 24 '13, 2:14 p.m.
 Currently the user must navigate into the directories under the indices folder to find the correct index to compact:

[crawfomj@arc indices]# ll
total 12
drwxr-xr-x. 6 root root 4096 Apr  4 17:16 708dbe90f5464a6eadc7b141cb0fc7e5
drwxr-xr-x. 6 root root 4096 Mar  4 14:17 _97phEYT_EeKmEct7X3mtRQ
drwxr-xr-x. 2 root root 4096 Nov 14 01:01 workitemindex

In one of those directories is the RDF index which you can pass to the repotools command. 

[root@arc server]# ./ -compacttdb srcdir=conf/jts/indices/708dbe90f5464a6eadc7b141cb0fc7e5/jfs-rdfindex tempdir=/tmp
Repo Tools
Provisioning using "./conf/jts/provision_profiles".
  Jazz Foundation - Core Libraries, Version 4.0.1 (RJF-I20121109-1457)

CRJAZ1363I Loading the configuration from "file:conf/jts/".
CRJAZ1779I This server is configured as a JTS.
CRJAZ2558I Setting the local server rename state to false and the openServerDescriptionServiceTemporarily state to false.
CRJAZ1365I The server is attempting to connect to the following database: "conf/jts/derby/repositoryDB"
CRJAZ1364I The connection to the following database was successful:
 Db Product Name: Apache Derby
  Db Product Version: - (1212722)
  Db URL: jdbc:derby:conf/jts/derby/repositoryDB;create=true
  Jdbc Driver Name: Apache Derby Embedded JDBC Driver
  Jdbc Driver Version: - (1212722)
CRJAZ1971I The server is configured with:
  Public URI: "" (
CRJAZ2523I Setting the global server rename state to false and the validation state to false.
CRJAZ2105I Checking for a running server...
CRJZS5454I Compacting RDF index located at /opt/IBM/Jazz401/server/conf/jts/indices/708dbe90f5464a6eadc7b141cb0fc7e5/jfs-rdfindex/
[root@arc server]# x was compacted in 2 seconds.

Hopefully this saves some people some time. 

Josh Crawford commented Apr 24 '13, 6:20 p.m.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.