[英]Query runtime in Access 2016
I have two very large files of which both field 1's have similar data. 我有两个非常大的文件,其中两个字段1的数据都相似。 Now I want to use a query to compare these two files and output all rows of a particular column (Field3) in which file1.field1==file2.field1. 现在,我想使用一个查询来比较这两个文件,并输出其中file1.field1 == file2.field1的特定列(Field3)的所有行。 This can of course be done with a simple query. 当然,这可以通过简单的查询来完成。 I can not use join since there is too much text in the fields, so I use WHERE but this apparantly slows down the query by a lot. 由于字段中文本过多,因此无法使用连接,因此我使用WHERE,但这显然会使查询速度大大降低。
Query: 查询:
SELECT Category_list.Field3
FROM Category_list, Uri_list
WHERE (Category_list.Field1=Uri_list.Field1);
Now this query is running, but I have no idea how long it will take. 现在,此查询正在运行,但是我不知道它将花费多长时间。 It could be a few hours but it wouldn't surprise me if it takes days. 可能要花几个小时,但是要花几天的时间也不会令我感到惊讶。 Is it possible to see in access how far into the query it is, so that I can get at least an idea of what the runtime will be? 是否有可能在访问中看到查询有多远,以便至少可以了解运行时将是什么?
Category_list has about 2.8 million rows and Uri_list has about 4 million rows. Category_list大约有280万行,Uri_list大约有400万行。 If needed I could lower the Uri_list to about 100.000 rows minimum, but that depends on the runtime.. 如果需要,我可以将Uri_list降低到至少约100.000行,但这取决于运行时。
Thanks in advance for the help :) 先谢谢您的帮助 :)
My suggestion: 我的建议:
This should run fast enough. 这应该运行得足够快。
Is it possible to see in access how far into the query it is, so that I can get at least an idea of what the runtime will be? 是否有可能在访问中看到查询有多远,以便至少可以了解运行时将是什么?
Sometimes (especially for Update queries), Access shows a progress bar. 有时(尤其是对于Update查询),Access显示进度条。 But if not, no - there is no way to see the progress. 但是,如果没有,那么-无法看到进度。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.