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

Are there ant way for me to reduce size of the RTC DB?

We use the DB2 database for our RTC server and find the backup image of the database become larger and larger.(0.5G->1G->1.5G->2G).

Are there ant way for me to reduce the size of the RTC DB?

0 votes



4 answers

Permanent link
Yes - additional information:
TechNote: http://www-01.ibm.com/support/docview.wss?rs=3488&uid=swg21390701

Jazz.net: http://jazz.net/wiki/bin/view/Main/DatabaseMaintenanceFAQ

Eric.

nedgar a crit :
Can you determine what is causing this growth? Try looking at the
Reports page in the web UI, and examine the Repository reports
'Metrics by Namespace' and 'Latest Metrics by Namespace'.

One common candidate is if large artifacts from builds are published
back to the main server. If this is the case, another option is to
publish links instead.

1 vote


Permanent link
Change Events are primarity created to track the different events and for sending feeds to the user. For e.g. change events are created when you change a Work item, deliver a change set, change a process specification, create a dashboard, errors or warnings on the server etc.

Change events are automatically deleted after a certain period. The type of change event (change event category) is used to calculate the expiration time of a change event. The tech note http://www-01.ibm.com/support/docview.wss?rs=3488&uid=swg21390701 describes how to scrub the change events in the database.

You might want to run a SQL query to find out the count of different types of change events. This would give you an idea on the type of change events that are present in the database. On DB2, the following query returns the count of every change event category.

db2 "select substr(event_category, 1, 50), count(*) from repository.change_event group by event_category"

--- Balaji
Jazz Server Team


Can you determine what is causing this growth? Try looking at the Reports page in the web UI, and examine the Repository reports 'Metrics by Namespace' and 'Latest Metrics by Namespace'.

One common candidate is if large artifacts from builds are published back to the main server. If this is the case, another option is to publish links instead.


I run the report and find the following data:

Parameters
Namespace:*
(14 items selected)
ItemType:
(56 items selected)
Duration:
Last 3 Months

Footprint:
Attribute:800M-1200M
ChangeEvent:400M-800M

Uncompressed Footprint:
Attribute:800M-1800M
ChangeEvent:400M-800M

Item count:
ChangeEvent:150,000-350,000

State count:
ChangeEvent:150,000-350,000

Can you give me some suggestions to reduce the size of databases?

1 vote


Permanent link
Can you determine what is causing this growth? Try looking at the Reports page in the web UI, and examine the Repository reports 'Metrics by Namespace' and 'Latest Metrics by Namespace'.

One common candidate is if large artifacts from builds are published back to the main server. If this is the case, another option is to publish links instead.

0 votes


Permanent link
Can you determine what is causing this growth? Try looking at the Reports page in the web UI, and examine the Repository reports 'Metrics by Namespace' and 'Latest Metrics by Namespace'.

One common candidate is if large artifacts from builds are published back to the main server. If this is the case, another option is to publish links instead.


I run the report and find the following data:

Parameters
Namespace:*
(14 items selected)
ItemType:
(56 items selected)
Duration:
Last 3 Months

Footprint:
Attribute:800M-1200M
ChangeEvent:400M-800M

Uncompressed Footprint:
Attribute:800M-1800M
ChangeEvent:400M-800M

Item count:
ChangeEvent:150,000-350,000

State count:
ChangeEvent:150,000-350,000

Can you give me some suggestions to reduce the size of databases?

0 votes

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

Question asked: Jul 13 '09, 2:12 a.m.

Question was seen: 8,962 times

Last updated: Jul 13 '09, 2:12 a.m.

Confirmation Cancel Confirm