Method of optimizing propagation of non-persistent messages from a source database management system to a destination database management system
First Claim
1. A method of optimizing propagation of non-persistent messages from a source database management system (DBMS) to a destination database management system (DBMS), said method comprising:
- receiving, by said destination DBMS, one or more non-persistent messages from a source non-persistent message queue of said source DBMS at a destination non-persistent message queue of said destination DBMS;
consuming, by said destination DBMS, said non-persistent messages from said destination non-persistent message queue such that consumed non-persistent messages are removed from said destination non-persistent message queue;
generating, by said destination DBMS, a sparseness factor based at least in part on a number of non-persistent messages in said destination non-persistent message queue, the highest non-persistent message number of said destination non-persistent message queue, and the lowest non-persistent message number of said destination non-persistent message queue;
selectively spilling, by said destination DBMS, at least a portion of said non-persistent messages from said destination non-persistent message queue to a destination persistent message queue of said destination DBMS based on at least one parameter selected from a group consisting of;
said sparseness factor, said number of non-persistent messages in said destination non-persistent message queue, and an amount of memory resources utilized by said destination non-persistent message queue; and
sending, by said destination DBMS to said source DBMS, an acknowledgment including a watermark indication of consumed non-persistent messages from said destination non-persistent message queue, wherein spilled non-persistent messages that have not yet been consumed are characterized in the watermark indication as consumed.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of optimizing propagation of non-persistent messages from a source database management system (DBMS) to a destination database management system (DBMS) is described and provided. The method comprises receiving one or more nonpersistent messages from a source non-persistent message queue of the source DBMS at a destination non-persistent message queue of the destination DBMS. The nonpersistent messages are consumed from the destination non-persistent message queue such that consumed non-persistent messages are removed from the destination non-persistent message queue. Further, at least a portion of the non-persistent messages are spilled from the destination non-persistent message queue to a destination persistent message queue of the destination DBMS based on at least one parameter selected from a group consisting of a sparseness factor, number of nonpersistent messages in the destination non-persistent message queue, and amount of memory resources utilized by the destination non-persistent message queue. Moreover, to the source DBMS is sent an acknowledgment including a watermark indication of consumed non-persistent messages from the destination non-persistent message queue. Spilled non-persistent messages are characterized as consumed.
-
Citations
21 Claims
-
1. A method of optimizing propagation of non-persistent messages from a source database management system (DBMS) to a destination database management system (DBMS), said method comprising:
-
receiving, by said destination DBMS, one or more non-persistent messages from a source non-persistent message queue of said source DBMS at a destination non-persistent message queue of said destination DBMS; consuming, by said destination DBMS, said non-persistent messages from said destination non-persistent message queue such that consumed non-persistent messages are removed from said destination non-persistent message queue; generating, by said destination DBMS, a sparseness factor based at least in part on a number of non-persistent messages in said destination non-persistent message queue, the highest non-persistent message number of said destination non-persistent message queue, and the lowest non-persistent message number of said destination non-persistent message queue; selectively spilling, by said destination DBMS, at least a portion of said non-persistent messages from said destination non-persistent message queue to a destination persistent message queue of said destination DBMS based on at least one parameter selected from a group consisting of;
said sparseness factor, said number of non-persistent messages in said destination non-persistent message queue, and an amount of memory resources utilized by said destination non-persistent message queue; andsending, by said destination DBMS to said source DBMS, an acknowledgment including a watermark indication of consumed non-persistent messages from said destination non-persistent message queue, wherein spilled non-persistent messages that have not yet been consumed are characterized in the watermark indication as consumed. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable medium comprising computer-executable instructions stored therein for optimizing propagation of non-persistent messages from a source database management system (DBMS) to a destination database management system (DBMS), the computer-executable instructions comprising:
-
instructions that cause said destination DBMS to receive one or more non-persistent messages from a source non-persistent message queue of said source DBMS at a destination non-persistent message queue of said destination DBMS; instructions that cause said destination DBMS to consume said non-persistent messages from said destination non-persistent message queue such that consumed non-persistent messages are removed from said destination non-persistent message queue; instructions that cause said destination DBMS to generate a sparseness factor based at least in part on a number of non-persistent messages in said destination non-persistent message queue, the highest non-persistent message number of said destination non-persistent message queue, and the lowest non-persistent message number of said destination non-persistent message queue; instructions that cause the destination DBMS to spill at least a portion of said non-persistent messages from said destination non-persistent message queue to a destination persistent message queue of said destination DBMS based on at least one parameter selected from a group consisting of said sparseness factor, said number of non-persistent messages in said destination non-persistent message queue, and an amount of memory resources utilized by said destination non-persistent message queue; and instructions that cause the destination DBMS to send to said source DBMS an acknowledgment including a watermark indication of consumed non-persistent messages from said destination non-persistent message queue, wherein spilled non-persistent messages that have not yet been consumed are characterized in the watermark indication as consumed. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An apparatus comprising:
-
a memory comprising instructions stored therein; and a processor for executing said instructions to optimize propagation of non-persistent messages from a source database management system (DBMS) to a destination database management system (DBMS), the processor being configured to; receive one or more non-persistent messages from a source non-persistent message queue of said source DBMS at a destination non-persistent message queue of said destination DBMS; consume said non-persistent messages from said destination non-persistent message queue such that consumed non-persistent messages are removed from said destination non-persistent message queue; generate a sparseness factor based at least in part on a number of non-persistent messages in said destination non-persistent message queue, the highest non-persistent message number of said destination non-persistent message queue, and the lowest non-persistent message number of said destination non-persistent message queue; selectively spill at least a portion of said non-persistent messages from said destination non-persistent message queue to a destination persistent message queue of said destination DBMS based on at least one parameter selected from a group consisting of;
said sparseness factor, said number of non-persistent messages in said destination non-persistent message queue, and an amount of memory resources utilized by said destination non-persistent message queue; andsend to said source DBMS an acknowledgment including a watermark indication of consumed non-persistent messages from said destination non-persistent message queue, wherein spilled non-persistent messages that have not yet been consumed are characterized in the watermark indication as consumed. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification