server/conf/jts/indices grows to 7GB, normal?
Frank Ning (500●25●119●133)
| asked Dec 02 '12, 4:39 p.m.
retagged Dec 03 '12, 2:27 p.m. by Bo Chulindra (1.3k●2●7●18) Hello, I did upgrade from 4.0.0.0 to 4.0.0.1 and then 4.0.1.0. I noticed that the <JazzInstallDir>/server/conf/jts/indicies grew bigger and bigger without new projects/artifactes. It possibly grew from ~3GB to 7GB now. Is this expected? Any way for me to reduce its size (clean it up)? Thanks and Regards PS. DB2 V9.7 and WAS 8.0.3 are used. |
2 answers
Benjamin Silverman (4.1k●6●10)
| answered Dec 02 '12, 11:18 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Frank. There are a few ways you can trim the size of the index/database. The first is to use repotools -deleteJFSResources on archived projects you know you no longer need to remove the data associated with the projects. This method may require a -reindex as noted in the documentation before you realize any difference in the index size. The second being repotools -compacttdb to compact the index. Hope it helps,
Comments 1
Simon Helsen
commented Dec 03 '12, 9:34 a.m.
This doesn't feel right. A migration to 4.0.1 should not have increased the index. In fact, a migration should have kept the index the same since 4.0.0.1 and 4.0.1 indices are compatible (even though this step upgrades the underlying technology). It looks like the size got duplicated, which to me looks like something went wrong in the upgrade process. Frank, under indices/ you should find a number of subdirectories with consumer keys. Do you know/recall how many you had in 4.0 and how many you have now in 4.0.1? There should not be more subdirectories in indices/ than you have registered consumers (in your admin web ui)
Frank Ning
commented Dec 03 '12, 11:11 a.m.
Hi Simon,
Simon Helsen
commented Dec 03 '12, 12:29 p.m.
Frank, there was a bug fixed in 4.0.1 that could have duplicated the index. However, this issue should not be present in the GA. What version of 4.0.1 are you using? Can you point to the download page?
1
Simon Helsen
commented Dec 03 '12, 1:44 p.m.
After some more communication, it appears the upgrade from 4.0 to 4.0.0.1 may have introduced the subdirectory indices under conf/jts/indices as I explained in my previous comment. Frank, please let me know if there is this subdirectory. The fix is then to simply delete conf/jts/indices/indices and you won't have to run any commands or do anything else. thanks
1
Frank Ning
commented Dec 03 '12, 2:50 p.m.
Hi Simon,
1
Frank Ning
commented Dec 04 '12, 8:19 a.m.
After the rebuild, the indices came down to 2GB from 7GB. Cheers!
showing 5 of 6
show 1 more comments
|
Answer from Simon Helsen is the solution to this issue. I hope Rational can fix the duplication problem and if not, at least document in the upgrade guide.
You can always completely rebuild the indices by a) removing everything under conf/jts/indices and b) running 2 repotool commands. The first one would be "repotools -reindex all" and the second one would be "repotools -rebuildTextIndices". These two commands should be run while the server is down though. Comments This problem has been fixed in 4.0.1 but is still a problem when upgrading to 4.0.0.1 (and possibly when upgrading to 4.0). I have created a work item to create a tech note describing the problem and possible solutions.
Frank Ning
commented Dec 04 '12, 9:23 a.m.
Thanks, Bo.
|
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.