Add support to pg_bulkload for hight speed data insertion and automatic scan on insert#922
Add support to pg_bulkload for hight speed data insertion and automatic scan on insert#922w1ld3r wants to merge 18 commits intoyogeshojha:masterfrom
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: