Creating and Editing Node Groups
A node group is a named set of one or more database partitions. A node group can have 2 to 32 nodes defined for it. The number of nodes that is defined for the node group determines the number of systems across which the database file is created.
You may need to create a node group when you want the database files to be visible across a set of System i models in a load sharing and balancing environment. Nodegroups enable workload to be processed in parallel across a partitioned database for large tables, while smaller tables can be stored on one partition or on a small number of partitions if desired.
The following database platforms support node groups:
- IBM DB2 for LUW 5.x, 6.x, 7.x, 8.x, 9.x, 10.x
Create a Node Group
- In the Data Model Explorer, expand the physical Main Model, right-click the Node Groups node, and then click New Nodegroup.
- Complete the Node Groups Wizard and then click Finish to create the node group.
Tip: Once you have created the auxiliary table, you can edit it by right-clicking the node group you want to change, and then clicking Edit Node Group.
- What is the name of the NodeGroup? The name must not begin with SYS or IBM.
- Enter the nodes (partitions) to include: Specify the partition number(s). This must be a valid partition number between 0 - 999
Enter or edit a definition for the node group. If the target database supports it, ER/Studio Data Architect adds this definition as a comment when generating SQL code.
Displays the CREATE NODEGROUP statement needed to build the node group. ER/Studio Data Architect uses the platform-specific parser of the model's selected database platform to generate the node group.
Attachment Bindings tab
Bind an external piece of information, or attachment to the node group. You can also remove an attachment from an object, override an attachment binding's default value, or change the position of a bound attachment. To override the value of the attachment you have moved to the Selected Attachments grid, double-click the Value field of the target attachment. ER/Studio Data Architect opens the Value Override Editor or a list depending on the attachment datatype. Attachments are created in the Attachments folder of the Data Dictionary. For more information, see Attaching External Documents to the Data Model.