20

If a gis application has some tables which don't have gis related columns, does the performance better when use multiple databases (django.db.backends.postgresql_psycopg2 and django.contrib.gis.db.backends.postgis) compared using django.contrib.gis.db.backends.postgis only?

Multiple Databases also introduce some performance overhead and complexity. Could anyone show me the best practice for this scenario?

1
  • Have you figured this out?? I started a gis app today and am wondering the same thing. any advice would be appreciated. Commented Feb 29, 2012 at 23:21

1 Answer 1

22

The performance difference will be almost completely invisible. django.contrib.gis.db.backends.postgis just extends django.db.backends.postgresql_psycopg2 to add the PostGiS types. It is definitely not worth going through the complexity of multiple databases just to use the two different backends.

Sign up to request clarification or add additional context in comments.

1 Comment

Your answer save my day.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.