Coder Social home page Coder Social logo

Comments (3)

Moohan avatar Moohan commented on August 15, 2024

https://ursalabs.org/blog/2019-10-columnar-perf/

from slfhelper.

Moohan avatar Moohan commented on August 15, 2024

I looked into this today and it's definitely promising. The write times (on PWB) were super slow to make a parquet file, I partitioned it by hscp2018.

Rough results

  • The total space usage is about 50% greater than fst but I think that's fine. - Possibly this could be improved with better compression settings.
  • The read speed of a full file is marginally slower than fst, as is the read speed for variable selections.
  • The memory usage is absolutely tiny compared to fst on everything I checked.
  • The huge advantage comes when filtering on things which we filtered, so reading in a single partnerships data was much faster than with fst. The trick here will be to pick the partitions well so that we capture most use cases!
  • The other big advantage is we could return an apache dataset, where the user could do more manipulation using dplyr before finally calling collect(), we could make this optional and if the user doesn't want it, just do the collect() behind the scenes.

from slfhelper.

Moohan avatar Moohan commented on August 15, 2024

Public-Health-Scotland/R-Resources/blob/master/posit_workbench_writing_and_reading_data.md Also relevant - apparently the parquet files should read about as fast as fst (ignoring the other benefits) but will write much faster as for some reason writing fst on PWB is super slow.

from slfhelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.