System and method for overflow queue processing
First Claim
1. A method for managing a plurality of data structures stored in a computer storage medium, the computer storage medium comprising a primary storage medium and an overflow storage medium, the method comprising the steps of:
- (1) receiving a request to store a data object in a target data structure;
(2) determining whether an overflow mode condition currently exists;
(3) if an overflow mode condition does not currently exist, then determining whether a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold;
(4) if a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold, then;
(a) entering an overflow mode such that an overflow mode condition exists;
(b) selecting one or more data structures currently stored in the primary storage medium; and
(c) moving said selected data structures from the primary storage medium to the overflow storage medium, wherein said selected data structures are retained in the overflow storage medium and not moved back to the primary storage medium as long as the overflow mode condition exists, even if adequate storage capacity becomes available in the primary storage medium.
0 Assignments
0 Petitions
Accused Products
Abstract
A database management system is described. The system includes a computer storage medium having a primary storage medium and an overflow storage medium. The system also includes a manager for managing a plurality of data structures (queues) stored in the computer storage medium. The manager receives a request to store a data object in a target data structure. The manager determines whether an overflow mode condition currently exists. If an overflow mode condition does not currently exist, then the manager determines whether a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold. If a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold, then the manager enters an overflow mode. Also, the manager selects one or more data structures currently stored in the primary storage medium, and moves the selected data structures from the primary storage medium to the overflow storage medium. The overflow storage medium is then directly accessed to process any subsequent actions involving these data structures.
62 Citations
42 Claims
-
1. A method for managing a plurality of data structures stored in a computer storage medium, the computer storage medium comprising a primary storage medium and an overflow storage medium, the method comprising the steps of:
-
(1) receiving a request to store a data object in a target data structure; (2) determining whether an overflow mode condition currently exists; (3) if an overflow mode condition does not currently exist, then determining whether a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold; (4) if a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold, then; (a) entering an overflow mode such that an overflow mode condition exists; (b) selecting one or more data structures currently stored in the primary storage medium; and (c) moving said selected data structures from the primary storage medium to the overflow storage medium, wherein said selected data structures are retained in the overflow storage medium and not moved back to the primary storage medium as long as the overflow mode condition exists, even if adequate storage capacity becomes available in the primary storage medium. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A manager for managing a plurality of data structures stored in a computer storage medium, the computer storage medium comprising a primary storage medium and an overflow storage medium, the manager comprising:
-
receiving means for receiving a request to store a data object in a target data structure; overflow determining means for determining whether an overflow mode condition currently exists; threshold determining means, responsive to a determination that an overflow mode condition does not currently exist, for determining whether a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold; overflow mode means, responsive to a determination that a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold, for entering an overflow mode such that an overflow mode condition exists; data structure selecting means, responsive to said overflow mode means, for selecting one or more data structures currently stored in the primary storage medium; and data structure moving means, responsive to said data structure selecting means, for moving said selected data structures from the primary storage medium to the overflow storage medium, wherein said selected data structures are retained in the overflow storage medium and not moved back to the primary storage medium as long as the overflow mode condition exists, even if adequate storage capacity becomes available in the primary storage medium. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A system, comprising:
-
a computer storage medium having a primary storage medium and an overflow storage medium; and a manager for managing a plurality of data structures stored in said computer storage medium, said manager comprising; receiving means for receiving a request to store a data object in a target data structure; overflow determining means for determining whether an overflow mode condition currently exists; threshold determining means, responsive to a determination that an overflow mode condition does not currently exist, for determining whether a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold; overflow mode means, responsive to a determination that a combined size of all data structures stored in the primary storage medium plus a size of the data object is greater than a predetermined threshold, for entering an overflow mode such that an overflow mode condition exists; data structure selecting means, responsive to said overflow mode means, for selecting one or more data structures currently stored in the primary storage medium; and data structure moving means, responsive to said data structure selecting means, for moving said selected data structures from the primary storage medium to the overflow storage medium, wherein said selected data structures are retained in the overflow storage medium and not moved back to the primary storage medium as long as the overflow mode condition exists even if adequate storage capacity becomes available in the primary storage medium. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42)
-
Specification