SQL Database - Import Specific Rows from Large file
3 次查看(过去 30 天)
显示 更早的评论
Hello!
I am dealing with some fairly large SQL Database Tables, some that can take multiple minutes to fetch/read. Is there a way to import select rows from the table to decrease processing time? This processing time extendings the loading time for an app that I am designing.
(Parralell Computing Toolbox is not an option)
0 个评论
采纳的回答
Srija Kethiri
2023-4-18
Hi Hayden,
I understand that you have a large database and want to import only a few rows from it, to decrease the processing time.
You can use the “databaseImportOptions” function and set the “RowFilter” property of the function, to the desired condition to import the data you required.
To know more about “databaseImportOptions”, please refer to the following documentation:
Hope this helps!
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!