Claims
- 1. A method for requesting a tagged session from a session pool, the method comprising:
requesting a tagged session from a session pool, the tagged session associated with a first tag, the first tag corresponding to a configuration of attributes that may be configured for one or more sessions in the session pool; determining whether the tagged session is available; if the tagged session is not available, identifying an alternate session; configuring the alternate session such that the alternate session has a modified set of attributes; and associating the session with a second tag.
- 2. The method of claim 1 further comprising:
determining whether the alternate session is usable without further modifications of attributes for the alternate session.
- 3. The method of claim 1 in which the configuration of attributes associated with the first tag corresponds to an affinity for a language format, resource affinity, performance limit, or service time attribute.
- 4. The method of claim 1 in which the alternate session is selected based upon its relative similarity to the tagged session that was requested.
- 5. The method of claim 4 in which relative similarity is determined based upon similarity of attribute settings between the tagged session and the alternate session.
- 6. The method of claim 4 in which a keyword search is performed upon attributes.
- 7. The method of claim 4 in which a list of similar sessions is maintained.
- 8. The method of claim 1 in which the alternate session comprises a default set of attributes.
- 9. The method of claim 1 further comprising:
identifying differences between attribute settings of the tagged session and the alternate session.
- 10. The method of claim 9 in which the identified differences are used to configure the alternate session.
- 11. The method of claim 1 further comprising:
identifying attribute settings of the alternate session.
- 12. The method of claim 1 in which the modified set of attributes is the same as the configuration of attributes associated with the first tag.
- 13. The method of claim 12 in which the first tag is the same as the second tag.
- 14. The method of claim 1 in which the modified set of attributes is not the same as the configuration of attributes associated with the first tag.
- 15. The method of claim 12 in which the first tag is different from the second tag.
- 16. The method of claim 1 in which the act of configuring the alternate session is manually performed by a user.
- 17. The method of claim 1 in which the act of configuring the alternate session is automatically performed.
- 18. The method of claim 17 in which a callback operation is implemented to automatically configure the alternate session.
- 19. A method for configuring a session in a session pool, comprising:
identifying a session to configure; configuring the session such that the session has a first set of attributes; and associating the session with a first tag, the first tag corresponding to the set of attributes.
- 20. The method of claim 19 in which the first tag uniquely identifies the first set of attributes.
- 21. The method of claim 20 in which the first tag is associated with multiple sessions.
- 22. The method of claim 20 in which the first set of attributes corresponds to an affinity for a language format, resource affinity, performance limit, or service time attribute.
- 23. The method of claim 19 further comprising:
identifying a second session to configure; configuring the second session such that the second session has a second set of attributes, the second set of attributes being different from the first set of attributes; associating the second session with a second tag, the second tag corresponding to the second set of attributes.
- 24. The method of claim 19 further comprising:
identifying a second session to configure; configuring the second session such that the second session has a second set of attributes, the second set of attributes being the same as the first set of attributes; associating the second session with the first tag.
- 25. The first tag comprising a user-visible label that is associated with the first set of attributes.
- 26. A method for requesting a session from a session pool, the method comprising:
requesting a session from a session pool having a first set of attributes; determining whether a free session is available that corresponds to the first set of attributes; if the free session is not available that corresponds to the first set of attributes, then identifying an alternate session; configuring the alternate session such that the alternate session has a modified set of attributes.
- 27. The method of claim 26 in which the first set of attributes corresponds to an affinity for a language format, resource affinity, performance limit, or service time attribute.
- 28. The method of claim 26 in which the alternate session is selected based upon relative similarity of the alternate session attributes to the first set of attributes.
- 29. The method of claim 28 in which a keyword search is performed upon attributes.
- 30. The method of claim 28 in which a list of similar sessions is maintained.
- 31. The method of claim 26 further comprising:
identifying differences between the first set of attributes and alternate session attributes.
- 32. The method of claim 31 in which the identified differences are used to configure the alternate session.
- 33. The method of claim 26 in which the alternate session comprises a default set of attributes.
- 34. The method of claim 26 in which the modified set of attributes is the same as first set of attributes.
- 35. The method of claim 34 in which a tag is associated with the first set of attributes, wherein the alternate session is associated with the tag.
- 36. The method of claim 34 in which a first tag is associated with the first set of attributes, the alternate session is associated with the second tag, and wherein the second tag is different from the first tag.
- 37. The method of claim 26 in which the modified set of attributes is not the same as the first set of attributes.
- 38. The method of claim 26 in which the act of configuring the alternate session is manually performed by a user.
- 39. The method of claim 26 in which the act of configuring the alternate session is automatically performed.
- 40. The method of claim 39 in which a callback operation is implemented to automatically configure the alternate session.
- 41. A computer program product comprising a computer usable medium having executable code to execute a process for requesting a tagged session from a session pool, the process comprising:
requesting a tagged session from a session pool, the tagged session associated with a first tag, the first tag corresponding to a configuration of attributes that may be configured for one or more sessions in the session pool; determining whether the tagged session is available; if the tagged session is not available, identifying an alternate session; configuring the alternate session such that the alternate session has a modified set of attributes; and associating the session with a second tag.
- 42. A system for requesting a tagged session from a session pool, comprising:
means for requesting a tagged session from a session pool, the tagged session associated with a first tag, the first tag corresponding to a configuration of attributes that may be configured for one or more sessions in the session pool; means for determining whether the tagged session is available; means for identifying an alternate session if the tagged session is not available; means for configuring the alternate session such that the alternate session has a modified set of attributes; and means for associating the session with a second tag.
- 43. A computer program product comprising a computer usable medium having executable code to execute a process for configuring a session in a session pool, the process comprising:
identifying a session to configure; configuring the session such that the session has a first set of attributes; and associating the session with a first tag, the first tag corresponding to the set of attributes.
- 44. A system for configuring a session in a session pool, comprising:
means for identifying a session to configure; means for configuring the session such that the session has a first set of attributes; and means for associating the session with a first tag, the first tag corresponding to the set of attributes.
- 45. A computer program product comprising a computer usable medium having executable code to execute a process for requesting a session from a session pool, the process comprising:
requesting a session from a session pool having a first set of attributes; determining whether a free session is available that corresponds to the first set of attributes; if the free session is not available that corresponds to the first set of attributes, then identifying an alternate session; configuring the alternate session such that the alternate session has a modified set of attributes.
- 46. A system for requesting a session from a session pool, comprising:
means for requesting a session from a session pool having a first set of attributes; means for determining whether a free session is available that corresponds to the first set of attributes; means for identifying an alternate session if the free session is not available that corresponds to the first set of attributes; means for configuring the alternate session such that the alternate session has a modified set of attributes.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] The present application claims the benefit of U.S. Provisional Application Serial No. 60/379,663, entitled “Session Pooling and Statement Sharing”, filed on May 10, 2002, the contents of which are explicitly incorporated herein by reference in its entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60379663 |
May 2002 |
US |