Subject | Re: [Firebird-Architect] Cross database queries: Requirements |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2007-08-09T22:57:55Z |
Vlad Horsun wrote:
remote data-sources.
The data-source provider will need to have an API exposing this info.
BTW, IMHO MON$ is much more like views than tables.
Having obsolete metadata copy of it doesn't do anything good.
Adriano
>> I think is wrong to put external metadata in tables, be it the currentNot real tables... Something like MON$ querying local system tables more
>> ones or new ones.
>>
>
>
> We must put it somewhere. And we need to give easy interface to drivers
> to retrieve info.
>
>
>> It should be a system view IMO...
>>
>
>
> As soon as we give access via SQL to external metadata i have no problem
> with view\relation\etc. Just not mix it into existing RDB$xxx and don't move it into
> mega-database ;)
>
> What tables would query your system view ?
>
remote data-sources.
The data-source provider will need to have an API exposing this info.
BTW, IMHO MON$ is much more like views than tables.
>Yes, but external database can and will change.
>> AFAIR, Oracle stores only a timestamp of the original object, and the
>> timestamp is also in the original database.
>>
>> If timestamp of object (in "client" and "server" databases of dblink)
>> are different, the procedure/trigger are compiled again when executed,
>> and if necessary invalidated.
>>
>
>
> This is depends if remote database have this info. Firebird, as you know,
> didn't track such timestamps.
Having obsolete metadata copy of it doesn't do anything good.
Adriano