Skip to content

Bug: Hang during COPY with large set #643

Description

@mahlonsmith

Ladybug version

v0.18.0

What operating system are you using?

Linux

What happened?

I've got an importer I use for a dataset generator (here) -- under v0.16.0, the import takes about 10 seconds.

% ./imdb_import
Skipping name.basics, csv already exists.
Skipping title.basics, csv already exists.
Skipping title.principals, csv already exists.
Created database schema in 24ms.
COPY Actor FROM "./name.basics.csv" (header=true)
COPY Movie FROM "./title.basics.csv" (header=true)
COPY ActedIn FROM "./title.principals.csv" (header=true, ignore_errors=true)
COPY ActedIn FROM "./known.principals.csv" (header=true, ignore_errors=true)
Imported data in 10.802s.
Done!

Under v0.18.0, it hangs with 100% CPU during the "title.principals.csv" import (the largest one) -- I've let it churn for about 2 hours before cancelling. Looks like the behavior started in v0.17.0.

Interestingly, I can EXPORT the v0.16.0 data, and IMPORT it into v0.18.0 without any problem. Not sure how to go about diagnosing this further, but figure it's worth reporting.

Are there known steps to reproduce?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions