Subject | Re: [Firebird-Architect] Extending execution path information in Vulcan |
---|---|
Author | Arno Brinkman |
Post date | 2006-10-03T14:58:01Z |
Hi,
For Cost 100 would be enough, because this should reflect the number of page fetches. Selectivity otoh can rarely go
above 1 thus should have a high number instead.
Not a very nice solution IMO, but it's way of doing it and easily to handle at all clients.
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
General database developer support:
http://www.databasedevelopmentforum.com
Firebird open source database (based on IB-OE) with many SQL-99 features:
http://www.firebirdsql.org
http://www.firebirdsql.info
Support list for Interbase and Firebird users:
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep:
news://newsgroups.firebirdsql.info
>> Now is my proposal to extend these information items with isc_info_rsb_estimation and under this item the items forIn that case it would indeed be a simple integer, so that i can use the standard routines.
>> cardinality, selectivity and cost.
>> If nobody has objects i'll add this functionality to Vulcan.
>> The next question is how to represent a double (which data structure) in those information items.
> Do you actually need the precision of a double? A simpler alternative
> is to use a number with an implicit denominator, e.g. 200 meaning 200 /
> 10000. If 10,000 isn't fine enough, pick a different implicit denominator.
For Cost 100 would be enough, because this should reflect the number of page fetches. Selectivity otoh can rarely go
above 1 thus should have a high number instead.
Not a very nice solution IMO, but it's way of doing it and easily to handle at all clients.
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
General database developer support:
http://www.databasedevelopmentforum.com
Firebird open source database (based on IB-OE) with many SQL-99 features:
http://www.firebirdsql.org
http://www.firebirdsql.info
Support list for Interbase and Firebird users:
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep:
news://newsgroups.firebirdsql.info