Is it possible to use PostgreSQL with Google AppMaker? - google-app-maker

The documentation mentions that MySQL can be used:
Your app can access tens of gigabytes of data stored in Google Cloud
SQL, a MySQL relational database hosted on Google Cloud Platform.
However, it seems to be have been written before PostgreSQL was available on Google Cloud SQL.

Support for PostgreSQL is not available. See https://developers.google.com/appmaker/models/cloudsql, it says:
Note: App Maker supports only MySQL databases. You can't use
PostgreSQL.

Related

Is it possible to easily migrate data from light SQL Server Express to Azure with a dacpac file?

I'm currently trying to deploy a website with Azure which I did following these steps
https://learn.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-aspnet-core-ef-step-05?view=vs-2019#publish-to-azure-app-service
however the data from the database didn't get saved, like it did in the video. I think this may be because I have 2 data contexts; one for users and one for general app models.
I believe I have to figure out how to migrate my data from SQL Server Express provided by Entity Framework to Azure.
It seems like it should be doable from this link
but then this one makes it sound like you need a .bak file.
Just want to know if my Visual Studio data can easily transferred to Azure this way. would it be easier to publish my "data tier application" or extract and copy what I need to azure. Kind of overwhelmed at all the documentation trying to find the easiest way the small amount of data for my test website.
How to migrate my data from SQL Server Express provided by Entity Framework to Azure?
No you can not do that, import and export feature is not available with SQL Server Express. You can reference this link: Limitations of SQL Server Express.
As you posted the screen shoot, no function can help you migrate the database to Azure.
So if you really want migrate the database from local SQL Server to Azure, you'd better using the Microsoft SQL Server Management Studio(SSMS). There are so many ways, such as:
Migrate on-premises SQL Server or SQL Server on Azure VMs to Azure SQL Database using the Data Migration Assistant
Tutorial: Migrate SQL Server to a single database or pooled database in Azure SQL Database offline using DMS
Copy data to and from SQL Server by using Azure Data Factory
Migrating SQL Database to Azure SQL Database using SSMS Export/Import
If you are first time to migrate, we suggest to you use the Azure Data Migration Assistant as Alberto Morillo said.
Hope this helps.
Before trying to migrate the database to Azure you need to first verify the database and its objects are compatible to Azure SQL Database. If you don't do that the migration may fail.
My suggestion is to use Azure Data Migration Assistant (DMA) to perform an assessment of your database and make sure there are no blocking points that can make the migration not possible. Make adjustments based on the report generated by the DMA tool and then use any migration method (including extracting\importing a Data-tier Application) to migrate your database to Azure SQL Database. DMA can also migrate your database to Azure SQL Database and for me is the easiest way to do it.
About restoring a native backup to Azure SQL Database, that is not possible. You can export your database as bacpac and then import it to Azure SQL Database, or you can use DMA or Data Migration Service to migrate your databases to Azure SQL Database.
Adding to what is already said . You can dump all the data in txt or csv file and put that in the local drive . In Azure we have the Azure data factory (ADF) , which has a copy activity , this is very powerful and looks like will be good for your scenario . As mentioned before the data types are the key . You will have to install something called integrated Runtime ( IR ) and it should work .

Does Pivotal Cloud Foundry support MariaDB?

I am currently self-learning on the basics of cloud foundry and i was wondering if Pivotal Cloud Foundry supports MariaDB or can PCF only link to similar databases such as MySQL or PostgreSQL?
PCF does not support mariadb for now but definitely they are going to support in near future....
It supports mysql for now. This should help you: https://docs.pivotal.io/p-mysql/1-10/

Enabling SQLite in Azure service?

Getting started with Azure services here and I'd like to be able to have a "lighter" datastore for smaller solutions. Can anyone explain how to enable/setup SQLite with an Azure service? Is that done from Visual Studio or do I have to enable it while deploying to Azure?
I have googled every conceivable combination of keywords I can think of and came up with nothing but a feeling it's "easily achievable" but no hints as to hos it's done.
What I have is actually a mobile back-end that is using SQLite but I have no clue how I did that! There where certainly no datastore-setup wizard when I created it but when I go to the "Quicklinks" to download staged projects for clint projects I see that the back-end is indeed configured to use SQLite. I have tried a couple of different approaches to try and reproduce it but so far I have failed.
As far as I know, the azure mobile app doesn't support enable the SQLite from the azure.
In the azure portal you could only enable the azure table storage and azure sql database as the mobile app's backend database.
You could see this image:
If you want to use SQLite in your mobile app's backend, you need enable it by yourself in the project.
You need firstly install the System.Data.SQLite package and replace the connection string as SQLite connection string. At last you need deploy your mobile backend to the azure with the SQLite file. More details about how to install the SQLite in your mobile beckend, you could refer to this article.
Notice:
1.SQLite EF provider doesn't support the EDM.DateTimeOffset type. But the azure mobile app quick start backend sample use the DateTimeOffset. So if you want to use the SQLite as your mobile app backend, you need write your own model.
The mobile app backend EntityData class:
2.After you published the application to the mobile app, you need also copy the SQLite.Interop.dll to your application root folder.

Hosting SQLite DB on Azure Storage?

I need to host an SQLite database on Azure that will be shared among several web apps. My only options seem to be Azure Blob or File Storage (since they got rid of the "Azure Websites" that provided dedicated storage shared among web instances). However, there does not appear to be any way to map an Azure Storage share to a drive that the Web App will recognize, and thus no way to generate a path that SQLite can use. And obviously, SQLite can't use REST APIs to access the DB without tremendous hacking in the SQLite VFS.
So I'm wondering if anyone has successfully hosted an SQLite DB on Azure Storage such that it was accessible to a Web App?
Azure Web Apps (formerly known as Web Sites) still exists, and still has durable, shared storage across your web app instances.
You cannot use a blob to hold SQLite, as it is not compatible with file I/O (it has a REST API for access). And you cannot simply attach an Azure File Storage volume (you can use one, via API, but cannot mount it to an Azure Web App instance).
Nothing's changed with Web Apps: just place your SQLite database in a directory underneath your app's root directory.

Can I use the SQLite as a db storage for cloud-based websites?

Has anyone ever launched cloud-based apps / websites that use a local SQLite DB as the primary data source?
Are there any warnings about this?
My environment:
C# 3.0 app
currently uses a sql server 2008 db
current db size 30 mb-
If you expect a lot of traffic, you really shouldn't. SQLite is meant to be used as a lightweight SQL database, and is not meant for highly concurrent access (since it locks the whole database file) which could be an important requirement in this case.
Read:
Appropriate uses for SQLite

Resources