加快对CSV链接表的访问查询 [英] Speed Up Access Query to CSV Linked Tables

查看:76
本文介绍了加快对CSV链接表的访问查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个微软访问数据库版本。 2003与链接表到一个巨大的csv文件。这个csv文件大小约为800 MB,无法通过任何方式导入访问,因为每次我尝试导入它时,它都超过了访问数据库的最大大小。我需要对这个链接表进行搜索查询,但是当我运行这样的查询时,它会挂起并冻结,因为链接表无法编入索引。所以,我需要你的建议来解决这个问题,并能够通过访问查询或vb代码在这个csv链接表中进行搜索。

I have a microsoft access database ver. 2003 with linked table to a huge csv file. This csv file is about 800 MB size what couldn''t be imported to access by any way because each time I am trying to import it, it exceeds the max size of an access database. I need to make a search query into this linked table but when I am running such query it hangs and freezes because the linked tables couldn''t be indexed. So, I need your advice to fix this issue and to be able to search in this csv linked table via access query or vb code.

推荐答案

你做不了多少。您是否尝试将文件导入空白数据库文件并链接到该文件?这样你就可以创建合适的索引。如果空间有问题,请确保使用您可以使用的最小数据类型。除此之外,唯一的另一个选择是将数据库升迁到另一个系统。
Not much you can do. Have you tried importing the file into a blank database file and linking to that? That way you can create the proper indexes. And if space is an issue, make sure to use the smallest data types you can get away with. Other than that, the only other option is to upsize your database to a different system.


Rabbit,

i我在导入文件时使用所有字段作为文本但是访问并不让我完成这个过程,因为它显示了一个错误##无效的参数因为达到了最大尺寸。
Rabbit,
i am using all fields as text while importing the file but access doesn''t let me completing the process as it shows me an error ## invalid argument coz the max size was reached.


只是一个想法:

创建尽可能多的数据库,以便导入部件(不是所有.csv文件)。

然后创建一个前端数据库来管理所有这些。


希望你明白我的意思。
Just an idea:
Create as much databases as you need in order to import parts (not all the .csv file).
Then create a Front End database to manage all this.

Hope you understand what I mean.


这篇关于加快对CSV链接表的访问查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆