Home | 
Previous Page | Next Page   Improving UDR Performance > I/O Considerations >  
If you have a large number of UDRs
that span multiple extents, you can spread the system catalog tables
across separate physical devices (chunks) within the same dbspace
to balance the I/O activities.
To spread user-defined routine catalogs across devices
- Create the dbspace for the UDR system
catalog tables with several chunks. Create each chunk for the dbspace
on a separate disk.
 
- Use the CREATE DATABASE statement with
the IN dbspace clause to isolate the system
catalog tables in their own dbspace.
 
- Load approximately half of your UDRs
with the CREATE PROCEDURE or CREATE FUNCTION statement.
 
- Create a temporary table in the dbspace with an extent size
large enough to use the remainder of the disk space in the first
chunk.
 
- Load the remainder of the UDRs. The
last half of the routines should spill into the second chunk.
 
- Drop the temporary table.
 
 
Home | 
[ Top of Page | Previous Page | Next Page | Contents |
Index ]