Skip to content

Add paging for large data files #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RandomFractals opened this issue Jan 4, 2022 · 3 comments
Closed

Add paging for large data files #60

RandomFractals opened this issue Jan 4, 2022 · 3 comments
Labels

Comments

@RandomFractals
Copy link
Owner

RandomFractals commented Jan 4, 2022

Switching to CSV data parsing with fs.ReadStream and Papa.parse in a worker thread added in #59 now loads larger data files with millions of rows and up to 1Gb of data in a reasonable time frame.

There seems to be an issue with Tabulator virtual DOM setup recorded in #58.

As a short term solution, we'll add paging for large data files to navigate large datasets in table view after data is parsed and loaded into memory.

RandomFractals added a commit that referenced this issue Jan 5, 2022
- add paging and page sizes config to Tabulator setup in tableView.js
- change data loading page size to 100K in tableView.ts
- clear loading data status message when all data is read and total rows counter is set
- add starting CSS for the Tabulator footer row in table-view.css
RandomFractals added a commit that referenced this issue Jan 7, 2022
and comment out data load debug logging for now
@RandomFractals
Copy link
Owner Author

table view with new simple data page selector and 100K rows per page default:

image

@RandomFractals
Copy link
Owner Author

data loading stats and paging with larger data file (~1.1GB & ~5.3M rows):

tabular-data-5M-rows-paging

@RandomFractals
Copy link
Owner Author

Closing this for now. See new Limitations section in docs related to large data files streaming, pagination, display, tabulator sort and save data functionality:

https://github.com/RandomFractals/tabular-data-viewer#limitations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant