I have a project in Flask that I was using SQLite to create and manage, but it won't work for big and heavy databases, so then I was thinking in another db and found Firebird. Is it possible to connect Firebird with Flask using SQLAlchemy?
Related
I am testing WSO2 API Manager locally and using the in-built database. I want to change the database form the internal database to MSSQL. Is there a way I can do this easily? Any tools/ scripts?
Trying to migrate from internal database to MSSQL
WSO2 doesn't provide any tools to do Cross Database data migrations. But there are third-party tools that can do Data migration between H2 and MSSQL, but attempting a direct Data migration may be tricky, you may have to perform the migration and test the deployment thoroughly.
The most straightforward option is to create a new deployment with MSSQL and use API Controller to Migrate the APIs and Applications from the old environment to the new one.
I was going through the Airflow documentation and as per the documentation
As Airflow was built to interact with its metadata using the great SqlAlchemy library, you should be able to use any database backend supported as a SqlAlchemy backend.
Although Cassandra doesn't support SqlAlchemy, I see the project Flask-CQLAlchemy provides and SQLAlchemy like API.
Flask-CQLAlchemy handles connections to Cassandra clusters and provides a Flask-SQLAlchemy like interface to declare models and their columns in a Flask app Links
I am just getting started with Airflow and trying to setup its backend Db, will Cassandra with Flas-CQLAlchemy works for Airlow metadata repo?
I'm curious if it is possible to use CosmosDB as the database backend for Django projects.
There's a fork that supports MongoDB as a Django database:
https://github.com/django-nonrel/mongodb-engine
You just need to select the MongoDB Api in your Azure Cosmos DB.
mongodb-engine seems dead, but I found djongo, which seems to be active:
https://github.com/nesdis/djongo
It's a connector that lets you use Django with MongoDB without changing the Django ORM.
You would need to configure your Azure Cosmos DB for MongoDB.
Once a day a database is pushed to my server where I am hosting my Django application. I want to use this local postgreSQL database for queries the user can perform and the pre-installed sqlite3 database to hold users.
I've tried integrating the local postgreSQL database and successfully migrated the table schema but I have no idea how to push all of the data.
Should I attempt to create a fixture and upload this data daily or is there another way I am not seeing.
Any help is greatly appreciated :)
Can we use relational and nosql database in same django project.
As django package for relational and no-sql(django-nonrel) are different. Is there a way we can use both kind of databases in same project ?
Yes, although it depends on the backend for the NoSQL database. Django-nonrel is not necessarily required for a NoSQL database backend. From my experience, it is possible to use SQLite and Cassandra in the same project. We don't use django-nonrel because the Cassandra backend for Django works fine on vanilla Django.