Siebel Database Upgrade Guide > Tuning the Siebel Upgrade Files >
Managing Parallel Threads Using Siebel Upgrade Tuner
Upgrades from: All Supported Siebel releases.
Environments: Production test environment only. Does not apply to production environment.
Platforms: Windows and UNIX only.
Databases: Oracle only.
Upgrade Tuner allows you to create, edit, and delete parallel thread for table and index creation. This improves upgrade performance by reducing the amount of time required to complete table and index creation.
You create, edit, and delete threads in the Parallelize Table Creation page and the Parallelize Index Creation page. These two pages have the same layout.
You can view and sort the contents of threads or view items sorted across threads:
- Default sort. The default sort is all the items in the Serial Thread sorted from highest to lowest cost. The default sort displays when you start Upgrade Tuner, add a thread, or remove a thread. To reverse the sort order, click on the Serial Thread column head.
- Contents of a thread. Click on the column head for that thread. To reverse the sort-order, click on the column head again.
- All items in all threads sorted by cost. Click on the Cost per Table column head. To reverse the sort-order, click on the column head again.
Creating Parallel Threads
Use this procedure to create a parallel thread for table creation or index creation. Upgrade Tuner automatically names threads Parallel Thread 1, Parallel Thread 2, and so on. You cannot edit thread names.
You start creating parallel threads by creating Parallel Thread 1 and Parallel Thread 2 together. You must assign at least one table or index to each of these threads.
All threads you create must contain at least one table or index.
To create Parallel Thread 1 and Parallel Thread 2
- In the Serial Thread, select a table or index, and move it to the right using the arrow key on the keyboard.
Upgrade Tuner creates Parallel Thread 1 and Parallel Thread 2. It then assigns the table or index to Parallel Thread 1.
- Move at least one table or index to Parallel Thread 2, to populate both threads.
To create additional parallel threads
TIP: Another way to create a new thread is to right-click in a row. In the drop-down menu, select the last thread listed.
Moving Items Between Threads
Use the left and right arrow keys to move tables or indexes between threads, including the Serial Thread.
NOTE: You cannot save and exit if any thread is empty.
Deleting a Thread
Use this procedure to delete an existing thread. You cannot delete the Serial Thread.
You must delete Parallel Thread 1 and Parallel Thread 2 together. You must delete all other threads before deleting Parallel Thread 1 and Parallel Thread 2.
To delete a thread other than Parallel Thread 1 or Parallel Thread 2
- Click the column head for the desired thread.
This action sorts the list so that all items in that thread appear at the top.
- Right-Click in the column head, and choose "Move all items to the serial thread" from the pop-up menu.
- Right-Click in the column head, and choose "Remove thread" from the pop-up menu.
Upgrade Tuner deletes the thread and renames all higher-numbered threads.
To delete Parallel Thread 1 and Parallel Thread 2
- Right-Click the column head for Parallel Thread 2, and choose "Move all items to the serial thread" from the pop-up menu.
- Right-Click the column head for Parallel Thread 1, and choose "Move all items to the serial thread" from the pop-up menu.
- Right-Click in the column head for Parallel Thread 2, and choose "Remove thread" from the pop-up menu.
Upgrade Tuner deletes Parallel Thread 1 and Parallel Thread 2.
Evaluating Upgrade Performance Improvement
To evaluate production upgrep performance improvement, use the two fields at the top of the page:
- Total cost of sequential table (or index) creation. Displays the time to create tables or indexes when no parallel threads are used.
- Total cost of parallelized table (or index) creation. Displays the time to complete the upgrade using the parallel threads you have created. The time is computed by adding the Serial Thread time and the longest-running parallel thread time.
The difference between the sequential creation time and the parallelized creation time is an estimate of the reduction in upgrade time from using parallel threads.
You can reduce upgrade time further by performing the following actions:
- Move additional items from the Serial Thread to a parallel thread
- Move items from the longest-running parallel thread to other threads or a new thread
The goal is to reduce both the Serial Thread time and longest-running parallel thread time to a minimum. Because each new parallel thread requires additional memory and CPU cycles, you may need to experiment with the number of parallel threads to optimize upgrade performance.