Q: What is the largest possible size of an ext3 filesystem and of files on ext3?
Ext3 can support files up to 1TB. With a 2.4 kernel the filesystem size is limited by the maximal block device size, which is 2TB. In 2.6 the maximum (32-bit CPU) limit is of block devices is 16TB, but ext3 supports on
我有一个包含2.37亿行的MySQL表。我想处理所有这些行,并用新值更新它们。
我有顺序ID,所以我可以使用很多select语句:
where id = '1'
where id = '2'
这就是中提到的方法。
但我想知道是否有一种更快的方法,可以使用像光标这样的东西来顺序读取大文件,而不需要将整个文件集加载到内存中。在我看来,一个游标比运行数百万条select语句以可管理的块形式返回数据要快得多。