Db2 wlm setup
That said, I've seen that some companies have their DDF-related dispatching priorities set up in a less-than-ideal way. In this blog entry I'll give you my recommendations on assigning priorities to DDF-related tasks in your system. Too often, I see that people have assigned a too-low priority to DDF. The fact of the matter is that the DDF address space should have the same priority as the other DB2 address spaces those being the database services and system services address spaces, also known as DBM1 and MSTR, respectively.
For years and years its been the case that SQL coming through DDF executes under tasks called enclave SRBs more specifically, preemptible SRBs , and the priority of these tasks is determined according to the service class to which network-attached application processes have been mapped in the active WLM policy more on this momentarily -- NOT by the priority of the DDF address space. There are people who see a high level of DDF CPU utilization in an environment with a large amount of DB2 client-server activity, and don't know what to make of that.
Were they to do a little investigation using DB2 monitor data as I described in the aforementioned blog entry , they'd see that only a very small portion of that DDF CPU time is associated with DDF "system" tasks those that run at the priority of the DDF address space. So, do the right thing and assign the DDF address space to the same high-priority service class that you use for the DB2 DBM1 and MSTR address spaces; and, while we're on the subject of address spaces, I'll tell you that your WLM-managed stored procedure address spaces if you use external DB2 stored procedures should also have the same priority as DBM1 and MSTR, and for the same reason that I make this recommendation for DDF: the "main tasks" of these stored procedure address spaces use very little CPU time, and they need to be very quickly dispatched when they have work to do if you want optimal stored procedure performance.
A stored procedure that executes in one of these WLM-managed address spaces inherits the dispatching priority of the application task that called it -- it does NOT run at the priority of the stored procedure address space a native SQL procedure, which runs in the DB2 DBM1 address space, also inherits the priority of the task of the application process that called it.
We've established that the priority of these tasks is NOT tied to the priority of the DDF address space; rather, they are determined according to the service class or classes to which network-attached application processes are assigned in the system's WLM policy.
Create this account and assign privileges according to the following guidelines. To monitor Oracle GoldenGate processing accurately, do not permit other applications or processes to operate as the Oracle GoldenGate user. Assign the DB2 privileges listed in Table to the user by which Extract and Replicat will be running default is the user who starts Manager.
All Extract privileges apply to initial-load and log-based Extract processes, except where noted. Foot 6. Load Libraries PDS are not supported. The library must be authorized program facility APF helps your installation protect the system. No special requirements beyond what capture already has are necessary for Oracle GoldenGate delivery. Capture is not support in this scenario. Although it is possible to run over a wide area network, the performance suffers due to the increased network latency.
Otherwise, systems connected with OSA adapters in the same machine room, would be the next best choice. Alternatively, the fastest Ethernet connection between the systems that is available would be acceptable. This is the system on which Oracle GoldenGate is installed.
In this command, the copy target is double-quote forward-slash forward-slash single-quote authorized PDSE name single-quote double quote. The -X is an uppercase capital X not a lowercase x. This script should be run on the v Oracle does not recommended that you make the BLOB size any larger than necessary. The procedure names are not configurable. The exact value of the buffer depends heavily on the workload being processed by the Extract so heavier loads may require a larger buffer to enable Extract to be able to keep up with the application.
This feature was designed to be used for runaway stored procedures. Therefore, this is not a strict control on how much CPU time a stored procedure can use. This is where WLM is also beneficial. WLM allows you to establish priorities and service goals, providing an additional mechanism for tight control of system resource use. Programs that run in WLM environments can be defined to execute as subprograms or as main programs.
Subprograms execute more efficiently but must take care to clean up resources and close files. Programs that run as subprograms must be dynamically fetchable. C programs must be defined as fetchable, as in the following:. They stop and start the procedure but do not cause the load module to be reloaded by DB2.
To refresh a stored-procedure load module, you must use the following command from the console:. New environment address spaces are started, and any new work is routed to the new address spaces. Threads executing in the existing address spaces are allowed to complete in the old environment before it is brought down.
The output for this dump waits to print until the stored-procedures address space terminates. The dump is obtained by stopping the stored-procedures address space running the stored procedure. Previous page. Table of content. Next page. Program Type Programs that run in WLM environments can be defined to execute as subprograms or as main programs.
Authors: Susan Lawson. Special Edition Using FileMaker 8. Python Programming for the Absolute Beginner, 3rd Edition. Digital Character Animation 3 No. If you may any questions please contact us: flylib qtcs.
0コメント