When I examine the output tab while opening the Data tab in the Database Browser, I notice the TDA does a select * from the appropriate table. This brings up a couple of questions:
-
We have a setting that allows us to limit the records retrieved via a data grid. Why is a select * from the table being done if we limit the records retrieved?
-
When we filter the records, in the data grid, is there another hit to the database to retrieve all of the records shown in the filter list? One might suspect that we already have the records if we’re executing a select * against the table. Is the list also subject to the limits established in the options for number of records to retrieve?
There is an option under Database general regarding how many rows to fetch initialing in the data tab. This limit can also be applied to editors if you like. It is executing a select * from table but pauses the retrieval at your selected rows. If you request more rows, then it will reopen and retrieve the rest. This is similar to how Toad for Oracle does this. Only the number of rows are brought back that you requested. The default value is 1000.
When filtering the data in the grid, there are two filters. The list that you get as a drop down list from any column does not re-query the database but truly just applies a filter to the rows in the data grid. If you use the custom filter, which is the funnel icon on the top left of the grid, this will re-query the database. This is a custom filter where you basically define your filter through a where condition.
Debbie
I am attracted by this title. Since I am new to this field, I never considered these things. Seems that I need to know more about the data grid records and data grid filter. Thanks to this thread, I think I found my motivation for grasping this well.