Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8551931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:18:28+00:00 2026-06-11T14:18:28+00:00

Django allows auto database routing . It is possible to have different databases for

  • 0

Django allows auto database routing. It is possible to have different databases for test and production. The default for test is sqlite3. Will migrating from sqlite3 to couchdb will have any significant time improvement for unittests which take more than 10 mins. to run?

What other if any test db optimization can be done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:18:29+00:00Added an answer on June 11, 2026 at 2:18 pm

    Not sure that you could successful replace SQLite with CouchDB and save all his features unless your SQLite usage is very basic. Knowing how much sqlite allows to do, that couldn’t be so easy.

    CouchDB could speedup your tests if only you’re using quite trivial SQL queries or you have complex computations on query results. Since CouchDB views stores ready-to-use results with update-on-demand request semantic this could save you some CPU time.

    However, have you tried to use :memory: storage? Or work with test db on tmpfs? Also note, that with CouchDB your tests may suffer from network latency – HTTP requests are not so cheap as function calls through driver (sqlite is just database driver, not complete RDBMS).

    P.S. Note, that I’m not talking from position of Django ORM or others since normally they couldn’t provide good effectiveness as native libraries. For example, SQLite allows custom SELECT queries, while views are rarely used while CouchDB works better with predefined views rather than custom queries (temporary views).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Django application which allows different kinds of users: firms, administrators, external
I have a finite state machine (django-fsm) which allows an object to go from
I have a Django app that allows the user to create variables and name
I'm writing a django model that allows my site to have coupons. Coupons can
I'm building a django based database app that allows users to upload supporting documentation.
Say we have a Django page that shows a list of items and allows
I have a django form that allows a user to select multiple options: CARDS
I have a Django application that allows people to create a record. A record
Django only allows you to use one database in settings.py. Does that prevent you
I am using Django ModelForms. I have a dropdown selector that allows users to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.