On Jul 12, 2008, at 3:26 AM, Antony T Curtis wrote:
Here is my $0.02...
Table/view/schema object definitions should all be persistent
(forever). This makes it cheap to check if a table exists without
having to hit the disk. An async event notification system should
exist so that a storage engine can inform the server of the creation
of a new table so that the server can request and cache it.
The S3 storage engine doesnt know if an underlying table exists until
it tries to access it. New underlying tables could be created and
existing ones deleted at any time. S3 has no way of informing the
engine that a table has been created or deleted, thus the engine cant
inform the server either.
The IBM DB2 SE has this same problem.
Your idea has a lot of merit. But engines have to have a way of
saying "i cant tell you if a table exists until you try to look for
it, and you cant trust your cache to be utterly sure that the table
still exists".
--
Mark Atwood <http://mark.atwood.name>
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp