-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add support to pg_bulkload for hight speed data insertion and automatic scan on insert #922
base: master
Are you sure you want to change the base?
Conversation
Hi @w1ld3r Your PR is a valuable one 👍 As the v2 has just been released, there are a lot of db model modifications. Once done, I will test your PR and we will integrate it ASAP if everything is OK |
Shameless self-promotion, but we use https://github.com/fopina/django-bulk-update-or-create/ in https://github.com/surface-security/surface/ |
After some deep use and the integration of the Django debug toolbar, real problem cames from the related table data gathering. |
Thanks for.this I will have a look |
Could you rebase your PR on master ? |
@psyray look into select_related and prefetch_related to optimize those |
Thanks 👍 |
Add support for pg_bulkload to provide high-speed data loading capability and automatic start scan on inserted domains.
Principal changes made:
./db/imports
) for pg_bulkload data import and logging./db/scripts/bulk_insert_domains.sh
)Security changes made:
5432
) and web server (port8000
)TO-DO: