# Large data tables missing?

**URL:** <https://forum.knime.com/t/large-data-tables-missing/13108>\
**Category:** KNIME Analytics Platform\
**Created:** [January 8, 2019, 5:00pm UTC](https://forum.knime.com/t/large-data-tables-missing/13108 "2019-01-08T17:00:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kolster](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/k/76d3ee/32.png) [@kolster](https://forum.knime.com/u/kolster)\
**Post date:** [January 8, 2019, 5:00pm UTC](https://forum.knime.com/t/large-data-tables-missing/13108/1 "2019-01-08T17:00:19Z")

</div>

Hi there,  
I have now a few times encountered that large data tables are not visible after e.g. a file reader node or various calculations/countings. We are talking about 150+ mio raw rows or something like that. My raw csv files looks good, but for some reason the reading of the whole file fails. I can do a limited number of row, which works fine.  
Are there any limitations on how many rows can be handled?

Hope you can help - getting somewhat frustrated

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [January 8, 2019, 6:34pm UTC](https://forum.knime.com/t/large-data-tables-missing/13108/2 "2019-01-08T18:34:03Z")

</div>

Will the large dataset be imported and the problems will occur later or do you experience problems also when loading data? If you have problems with import it might help to use the [R library Readr](https://forum.knime.com/t/error-with-file-reader-node-while-running-in-a-loop/11263/3) instead of KNIME file reader.

I know of no formal restriction for data in KNIME but it depends on how much power your system might bring. These points might be able to help you

- check out the links below with hints from KNIME and other information about performance
- with large datasets from CSV it might be worth having a separate workflow that stores them in a KNIME table or split up tasks into several workflows
- check the memory handling of critical nodes
- try to use the Parquet internal compression and see if that bringt any help
- then if mit comes to execution you might check if streaming is an option for you only to process several lines at once (of course if you need to do joint that might not be possible)  
([https://nodepit.com/workflow/public-server.knime.com%3A80%2F06\_Control\_Structures%2F01\_Meta\_Nodes\_and\_Wrapped\_Nodes%2F01\_Simple\_Streaming\_and\_Wrapped\_Nodes](https://nodepit.com/workflow/public-server.knime.com%3A80%2F06_Control_Structures%2F01_Meta_Nodes_and_Wrapped_Nodes%2F01_Simple_Streaming_and_Wrapped_Nodes))
- if you have a lot of large strings it could be possible to replace them with a dictionary and only deal with (long) integers - only if that fits your task

* * *

KNIME performance

> **[Optimizing KNIME workflows for performance | KNIME](https://www.knime.com/blog/optimizing-knime-workflows-for-performance)**
>
> KNIME provides performance extensions such as the KNIME Big Data Connectors for executing Hive queries on Hadoop, or the KNIME Extension for Apache Spark for training models on Hadoop using Apache Spark. But sometimes it doesn’t make sense to run...

> [@Knime 3.6 Crash when dealing with massive data](https://forum.knime.com/t/knime-3-6-crash-when-dealing-with-massive-data/12145/2):
>
> you could try and increase the assigned memory in the knime.ini configuration file but with only 4 GB there are limits to that ([https://www.knime.com/blog/optimizing-knime-workflows-for-performance](https://www.knime.com/blog/optimizing-knime-workflows-for-performance)). On other option is to set the “Memory Policy” of the (sorter) node to “Write tables to disc”. Obviously this increases the load on the hard drive but it might save on RAM. [image] Also you could try and close other workflows, restart KNIME an try to use the garbage collector. [image] [image] T…

> [@KNIME Takes Long to Load?](https://forum.knime.com/t/knime-takes-long-to-load/12669/4):
>
> You might want to check your virus scanner. On certain systems with quite aggressive virus scanners I experienced KNIME to be slow. Since it can contain several 1,000 single files an ‘agressive’ virus scanner might scan all of them every time they are accessed/opened. When we changed the settings KNIME started faster. Of course there is a trade off between security and speed. But modern virus scanners might be able to have a flexible configuration. But of course the number of AddOns and the ove…

> [@Knime is slowing down](https://forum.knime.com/t/knime-is-slowing-down/12619/2):
>
> That is certainly odd. To the best of my knowledge, there haven’t been any recent major changes to KNIME that are known to have a degrading effect on performance. From my experience, the most dominating performance factor in KNIME is the materialization of intermediate data tables on disk. Have you noticed the performance of your hard disk degrading independently of KNIME? While we have some performance improvements for KNIME in the pipeline, here are some small adjustments you can try out: Y…

---

<div class="post-metadata">

**Author:** ![kolster](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/k/76d3ee/32.png) [@kolster](https://forum.knime.com/u/kolster)\
**Post date:** [January 9, 2019, 9:13am UTC](https://forum.knime.com/t/large-data-tables-missing/13108/3 "2019-01-09T09:13:14Z")

</div>

Dear mlauber71

Thank you for the quick reply. Where can I find the R Library Reader you mention? Does that require additional extentions?

The problem seems to be in the importing/viewing of the data. I tried to increase the row limitation and somewhere between 140 and 150 mio rows, I can’t view the data table any more.  
Tried to add two screenshots: One shows the file table from node 18 which is blank (limited to a 150 mio rows) and the other node 19 displays a different file as intended (132+ mio rows)

![image](https://forum-cdn.knime.com/uploads/default/original/2X/a/a35c8693c8abe08218c6872b61f5aee2df92a46c.png)  
 ![image](https://forum-cdn.knime.com/uploads/default/original/2X/0/00e6b8e7eef958392ad8362efb96c140a5b6699b.png)

I am now trying to trim down the data to get below this limit or whatever it is. But really wish to solve this problem. My server has 56 GB ram allocated to KNIME and I have even set all nodes to write table to disc to save memory, but very little was actually used according to task manager.  
Will be happy to hear all suggestions.

---

<div class="post-metadata">

**Author:** ![marc-bux](https://forum-cdn.knime.com/user_avatar/forum.knime.com/marc-bux/32/1953_2.png) [@marc-bux](https://forum.knime.com/u/marc-bux)\
**Post date:** [January 9, 2019, 10:56am UTC](https://forum.knime.com/t/large-data-tables-missing/13108/4 "2019-01-09T10:56:31Z")

</div>

Hi @kolster,

I can replicate the behavior you described and will look into it. I’ll get back to you as soon as I have more information.

Cheers,

Marc

---

<div class="post-metadata">

**Author:** ![wiswedel](https://forum-cdn.knime.com/user_avatar/forum.knime.com/wiswedel/32/28273_2.png) [@wiswedel](https://forum.knime.com/u/wiswedel)\
**Post date:** [January 9, 2019, 12:18pm UTC](https://forum.knime.com/t/large-data-tables-missing/13108/5 "2019-01-09T12:18:58Z")

</div>

(Interesting this wasn’t caught earlier.)

I can reproduce the problem with 150M rows … the data seems intact but the table viewer doesn’t show it. A workaround is to always a row filter before viewing the data since you are not going to inspect that many rows anyway.

We’ll open a ticket.

Thanks,  
Bernd

PS: In KNIME 3.6 and 3.7 you can use Parquet as data storage, which will make table I/O more efficient, especially for this type of data – many rows, repeating data. (File -\> Preferences -\> KNIME -\> Data Storage … it requires the Parquet extension installed from KNIME Labs)

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [January 10, 2019, 10:03am UTC](https://forum.knime.com/t/large-data-tables-missing/13108/6 "2019-01-10T10:03:56Z")

</div>

> [@kolster](#):
>
> Thank you for the quick reply. Where can I find the R Library Reader you mention? Does that require additional extentions?

You will have to install the R extensions

> [@Importing R Code in Knime](https://forum.knime.com/t/importing-r-code-in-knime/11260/3):
>
> There are two basic possibilities to use R with KNIME you have a R version on your computer and you point KNIME to it (“KNIME Interactive R Statistics Integration”) KNIME provides you with an ‘integrated’ R package that sits somewhere deep in the KNIME folders (“KNIME R Statistics Integration (Windows Binaries)”) I would advise to use the first option. So first to proper install R (and maybe RStudio to have an easier handling) and then point KNIME to it. There are further R integrations but t…

Then you would have to add the readr package:

> **[readr: Read Rectangular Text Data](https://cran.r-project.org/web/packages/readr/index.html)**
>
> The goal of 'readr' is to provide a fast and friendly way to read rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed to flexibly parse many types of data found in the wild, while still cleanly failing when data unexpectedly changes.

I recommend also to install RStudio which makes it easier to handle package management.

> **[Posit](https://posit.co/download/rstudio-desktop/)**

Yes setting up R with KNIME needs some work but in the end you will have a very useful extension of functions.

---

<div class="post-metadata">

**Author:** ![kolster](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/k/76d3ee/32.png) [@kolster](https://forum.knime.com/u/kolster)\
**Post date:** [January 21, 2019, 10:26pm UTC](https://forum.knime.com/t/large-data-tables-missing/13108/7 "2019-01-21T22:26:48Z")

</div>

Hi again,

Any luck with resolving this issue? I found a work-around by running my data through a row splitter into two table of approx 75 mio rows, doing the cell replacer that I wanted to on both and summing the results, but it got a little more complex than required.

Would highly appreciate a fix for this in the future 🙂

---

<div class="post-metadata">

**Author:** ![kolster](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/k/76d3ee/32.png) [@kolster](https://forum.knime.com/u/kolster)\
**Post date:** [May 7, 2019, 10:00am UTC](https://forum.knime.com/t/large-data-tables-missing/13108/8 "2019-05-07T10:00:10Z")

</div>

Sorry to write again, but has there been found a fix for the data tables not displaying when going above 150 mio rows? Think this issue also causes problems with other respects (writing large files as csv, groupby nodes etc)  
Best  
Kolster

---

<div class="post-metadata">

**Author:** ![ipazin](https://forum-cdn.knime.com/user_avatar/forum.knime.com/ipazin/32/806_2.png) [@ipazin](https://forum.knime.com/u/ipazin)\
**Post date:** [May 21, 2019, 10:43am UTC](https://forum.knime.com/t/large-data-tables-missing/13108/9 "2019-05-21T10:43:57Z")

</div>

Hi there Kolster,

no progress on this one yet. Sry.

Br,  
Ivan

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:32pm UTC](https://forum.knime.com/t/large-data-tables-missing/13108/10 "2023-06-23T20:32:09Z")

</div>


