Patent attributes
A computer program and system for redistributing data in a relational data base management system includes storing one or more rows of a database table in an allocated buffer associated with a program. The program is associated with a transmitting processing module and is capable of managing a redistribution of one or more rows associated with one or more database tables. The method includes comparing the allocated buffer to a portion of the buffer to be occupied by the one or more rows. If the allocated buffer is larger than the portion of the buffer to be occupied by the one or more rows, then the method includes communicating a message to one or more destination processing modules, the message comprising at least some of the one or more rows stored in the allocated buffer. Otherwise, the method includes executing a many-rows method to redistribute the one or more rows.