Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

What is the correct syntax for run repotools -compacttdb?

Occasionally support or development may request that you compress the tdb indexes used by the CLM repositories.

https://jazz.net/help-dev/clm/topic/com.ibm.jazz.install.doc/topics/r_repotools_compacttdb.html

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

1

0 votes



One answer

Permanent link
 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]# ./repotools-jts.sh -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/teamserver.properties".
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: 10.8.2.3 - (1212722)
  Db URL: jdbc:derby:conf/jts/derby/repositoryDB;create=true
  Jdbc Driver Name: Apache Derby Embedded JDBC Driver
  Jdbc Driver Version: 10.8.2.3 - (1212722)
CRJAZ1971I The server is configured with:
  Public URI: "https://arc.swg.usma.ibm.com:9443/jts" (https://arc.swg.usma.ibm.com:9443/jts%27)
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. 

3 votes

Comments

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014

Question asked: Apr 24 '13, 2:14 p.m.

Question was seen: 5,260 times

Last updated: Apr 24 '13, 6:20 p.m.

Confirmation Cancel Confirm