I have a sql query (MyQSL DB using .Net SqlClient) that returns a dataset. If the dataset is 4,000 rows or 20, is there a significant difference in runtime?
In addition, how much time the request took to open the connection, etc. Compared to the time it takes to populate the results table?
Thank.
Explanation (change):
Each of the 4000 lines represents a folder name. I want to filter them so that users do not have to see them all, except for those that are interesting to them.
I'm not sure which is better: Filtering to get names from the database (this is on another computer), which can make my query more complex or just filter the view (the tree that the user sees). These 4,000 lines can turn into 40,000, but I'm not sure if this will be relevant for this problem. Thanks again.
Editing again: the
database is online, but the connection is pretty fast, say 100 Mbps.
Noich source
share