• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aiidateam / aiida_core / 6219
74%

Build:
DEFAULT BRANCH: develop
Ran 29 May 2019 08:56PM UTC
Jobs 4
Files 387
Run time 26min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6219

push

travis-ci

web-flow
<a href="https://github.com/aiidateam/aiida_core/commit/<a class=hub.com/aiidateam/aiida_core/commit/6da891fee53ca6aaaf95930d038d9a29d339f7df">6da891fee<a href="https://github.com/aiidateam/aiida_core/commit/6da891fee53ca6aaaf95930d038d9a29d339f7df">&quot;&gt;Improve the efficiency of `DbLog` migration for Django (#2949)

The old implementation was using Django&amp;#39;s ORM to get the count and rows
of certain rows in the `DbLog` table. However, this was generating
extremely inefficient queries that made the migration run for days on
big databases. A similar problem was encountered with the original
SqlAlchemy implementation. That was solved in an earlier commit
`</a><a class="double-link" href="https://github.com/aiidateam/aiida_core/commit/<a class="double-link" href="https://github.com/aiidateam/aiida_core/commit/80a0aa9117f399a5385a30ba0ce3e2afc7016a4e">80a0aa911</a>">80a0aa911</a><a href="https://github.com/aiidateam/aiida_core/commit/6da891fee53ca6aaaf95930d038d9a29d339f7df">`, which created a more
efficient query. We now replace the Django ORM solution with the same
custom SQL query as used for SqlAlchemy. This should significantly
improve the efficiency of this migration.

23693 of 32591 relevant lines covered (72.7%)

2.72 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6219.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 29 May 2019 08:56PM UTC 0
66.56
Travis Job 6219.5
6 6219.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 29 May 2019 09:02PM UTC 0
66.5
Travis Job 6219.6
7 6219.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 29 May 2019 09:01PM UTC 0
69.37
Travis Job 6219.7
8 6219.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 29 May 2019 09:22PM UTC 0
69.3
Travis Job 6219.8
Source Files on build 6219
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6219
  • 6da891fe on github
  • Prev Build on develop (#6216)
  • Next Build on develop (#6222)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc