简体   繁体   English

我在 Notepad++ 中可以看到的最大记录数是多少?

[英]What is the maximum number of records i can see in Notepad++?

I have a file with the name ABC.D110111 which is of 10GB size.我有一个名为 ABC.D110111 的文件,大小为 10GB。 I have to load this huge data to database table.我必须将这些庞大的数据加载到数据库表中。 So i created a DTS package to load from file to table.所以我创建了一个 DTS 包来从文件加载到表。 before loading i just want to see how many records exist in the file.在加载之前,我只想查看文件中存在多少条记录。 So i opened it in notepad++.所以我在记事本++中打开它。 It is showing around 2.1 millions (21 lakhs) records.它显示了大约 210 万条(210 万条)记录。

Since it is a 10GB file, it will definitely have more than 2.1 millions records.既然是10GB的文件,肯定会有超过210万条记录。 But i am able to see only 0.2 millions (2 lakhs) records.但我只能看到 20 万(20 万)条记录。 Is there any row limitation in Notepad++? Notepad++ 中是否有任何行限制? If yes, how many rows or how much size?如果是,有多少行或多少大小?

If load it as it is by running my DTS package, will i get all records or few records?如果通过运行我的 DTS 包按原样加载它,我会得到所有记录还是少数记录?

If you load it using a DTS package, it will serially process the file chunks at a time.如果使用 DTS 包加载它,它将一次串行处理文件块。 It won't attempt to load everything into memory first, so you will get all your records.它不会首先尝试将所有内容加载到内存中,因此您将获得所有记录。

It looks like Notepad++ has a limit of 2G and will load that much of the file without crashing.看起来 Notepad++ 有 2G 的限制,可以加载那么多文件而不会崩溃。 If you see 2lakhs rows, then each row probably consumes 10K of space.如果您看到 20 万行,那么每行可能会消耗 10K 的空间。

Notepad++ v7.9 行数限制为 25165891

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM