Skip to content

force download = true #29

@ericemc3

Description

@ericemc3

This isn’t really an issue,
but I observed a noticeable speed improvement (about 2×) with SET force_download = TRUE;.

set zipfs_extension_remove = TRUE ;
set zipfs_extension = '!!' ;

SET force_download = TRUE ;

FROM 'zip://https://api.insee.fr/melodi/file/DS_TOUR_CAP/DS_TOUR_CAP_CSV_FR!!*_data.csv' ;

-> 4 s

SET force_download = FALSE; -- default setting

FROM 'zip://https://api.insee.fr/melodi/file/DS_TOUR_CAP/DS_TOUR_CAP_CSV_FR!!*_data.csv' ;

-> 8 s

I assume it involves a trade-off between bandwidth, the number of HTTP HEAD/GET requests, and performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions