Claims
- 1. Apparatus for selecting objects to be copied from objects in a database system, the objects in the database system including at least database tables and being organized into a schema associated with a user of the database system andthe apparatus comprising: a template creator that receives one or more object descriptions and produces a template therefrom; and an object selector that receives the template and makes a list of objects therefrom, the list of objects including the objects described in the template and other objects that belong to the described objects' schema and are dependent from a table object in the list that belongs to the described objects' schema.
- 2. The apparatus set forth in claim 1 wherein:the object description does not include a DDL specification of the object.
- 3. The apparatus set forth in claim 2 wherein:the object description includes specifications of the object's name, type, and schema.
- 4. The apparatus set forth in claim 1 wherein:the list of objects is in a form such that an export utility can make a dump file of at least the objects on the list.
- 5. The apparatus set forth in claim 4 wherein:the export utility further includes objects that are dependent on the objects on the list in the dump file.
- 6. The apparatus set forth in claim 1 wherein:the copied objects will be incorporated into another database system; and the object selector further makes an object that includes information needed to set up the copied objects in the other database system and includes the made object in the list.
- 7. The apparatus set forth in claim 6 wherein:the database system and the other database system belong to a distributed database system; and the made object specifies at least a link between the database system and the other database system.
- 8. The apparatus set forth in claim 7 wherein:the made object further specifies an additional user in the other database system that is a user of the link.
- 9. The apparatus set forth in claim 8 wherein:the object selector further makes objects in the database system including a user object for the additional user and a grant object that grants the additional user a privilege in the database.
- 10. The apparatus set forth in claim 9 wherein:the additional user is an authentication proxy that authenticates a user in the other database system to the database system and the grant object grants the authentication proxy a connection privilege.
- 11. The apparatus set forth in claim 1 wherein:the copied objects will be incorporated into another database system that is a cache with regard to the database system.
- 12. The apparatus set forth in claim 11 wherein:the object selector further makes an object that includes information needed in the other database system to establish a miss redirection link between the other database system and the database system and includes the made object in the list.
- 13. The apparatus set forth in claim 12 wherein:the made object further includes information needed in the other database to establish an authentication proxy for the redirection link in the other database and the object selector further makes a grant object in the database system that grants the authentication proxy a connect privilege in the database system.
- 14. Apparatus for providing a first database system and a second database system with objects necessary to make the first database system a cache of the second database system, the apparatus comprising:an object selector, the object selector selecting objects from the second database system that are to have copies in the first database system and making a list of the selected objects, the object selector further making an object that contains information necessary in the first database system to establish a miss redirection link between the first database system and the second database system and adding the made object to the list and an exporter that makes a file from at least the objects on the list that can be used to instantiate the objects on the list in the first database system.
- 15. The apparatus set forth in claim 14 wherein:the object selector further makes an object in the second database system that is necessary to establish the miss redirection link.
- 16. A method of selecting objects to be copied from objects in a database system, the objects in the database system including at least database tables and being organized into a schema associated with a user of the database system,the method comprising the steps performed in the database system of: producing a template from one or more object descriptions; and making a list of objects from the template, the list of objects including the objects described in the template and other objects that belong to the described objects' schema and are dependent from a table object in the list that belongs to the described objects' schema.
- 17. The method set forth in claim 16 wherein:in the step of producing a template, the object description does not include a DDL specification of the object.
- 18. The method set forth in claim 17 wherein:in the step of producing a template, the object description includes specifications of the object's name, type, and schema.
- 19. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 18.
- 20. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 17.
- 21. The method set forth in claim 16 wherein:in the step of making a list, the list of objects is in a form such that an export utility can make a dump file of at least the objects on the list.
- 22. The method set forth in claim 21 wherein:in the step of making a list, the export utility further includes objects that are dependent on the objects on the list in the dump file.
- 23. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 22.
- 24. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 21.
- 25. The method set forth in claim 16 whereinthe copied objects will be incorporated into another database system; and the method further comprises the step of: making an object that includes information needed to set up the copied objects in the other database system and including the made object in the list.
- 26. The method set forth in claim 25 wherein:the database system and the other database system belong to a distributed database system; and in the step of making the object, the made object specifies at least a link between the database system and the other database system.
- 27. The method set forth in claim 26 wherein:in the step of making the object, the made object further specifies an additional user in the other database system that is a user of the link.
- 28. The method set forth in claim 27 wherein:the step of making the object further includes making objects in the database system including a user object for the additional user and a grant object that grants the additional user a privilege in the database.
- 29. The method set forth in claim 28 wherein:in the step of making the object, the additional user is an authentication proxy that authenticates a user in the other database system to the database system and the grant object grants the authentication proxy a connection privilege.
- 30. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 29.
- 31. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 26.
- 32. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 27.
- 33. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 28.
- 34. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 25.
- 35. The method set forth in claim 16 wherein:in the step of making a list, the copied objects will be incorporated into another database system that is a cache with regard to the database system.
- 36. The method set forth in claim 35 wherein:the step of making an object further includes making an object that includes information needed in the other database system to establish a miss redirection link between the other database system and the database system and includes the made object in the list.
- 37. The method set forth in claim 36 wherein:the made object further includes information needed in the other database to establish an authentication proxy for the redirection link in the other database; and the step of making the object further includes making a grant object in the database system that grants the authentication proxy a connect privilege in the database system.
- 38. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 37.
- 39. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claims 36.
- 40. A data storage device characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 35.
- 41. A data storage device, characterized in that:the data storage device contains code which when executed by a processor performs the method set forth in claim 16.
CROSS REFERENCES TO RELATED APPLICATIONS
The present patent application is being filed on even date with three other patent applications addressed to techniques for improving queryable caches. The present patent application is also related to pending U.S. Ser. No. 09/294,656, Cusson, et al., Web servers with queryable dynamic caches, filed Apr. 19, 1999 and to its PCT counterpart, PCT/US00/10516, which was published Oct. 26, 2000 as WO 00/63800. All of the related applications have a common assignee.
US Referenced Citations (3)