It happens to me several times each month, that my Oracle Cloud ATP database service becomes unavailable for the ORDS. Anyone having a similar experience? What can be done in such a situation as Oracle does not have any direct support options?
Related
How to prevent automatic updates being applied to the Cloud SQL instance. I see Type as Update and Status as Done for many entries. Its a MySQL 5.7 instance. How should I prevent Updates on my Cloud SQL instance?
https://cloud.google.com/sql/faq#maintenancerestart
Cloud SQL is a fully-managed database service, so it's not possible to prevent automatic updates. As you can see in the FAQ, minor updates are deployed as they are released. If you have a second-generation instance, you might want to consider a preferred maintenance window that will be less disruptive for your application.
Unfortunately, this is probably not possible. Cloud SQL is a hosted service, and comes with built-in infrastructure support. AFAIK the only way to have absolute control over your DB software is to run it on a GCE instance, rather than on a Cloud SQL instance.
I have a bluemix app that is currently setup with the ClearDB MySQL 3rd party bluemix service through PHP. The service works well, however I noticed that there is a limit of 5mb of space for the free version (you can upgrade from there). I recently looked into Bluemix's own SQL Database service and it offers up to 100mb of space free per instance running on Bluemix. What are the advantages of the ClearDB service? To me it seems that Bluemix's own service would be a lot more cost effective. What are the considerations?
Thank you,
--
They are based on different RDBMS: ClearDB is based on MySQL while SQL Database is powered by IBM DB2, so that should be the first thing to consider when choosing between them. For example if you are deploying an existing application that works on MySQL you may want to use the same DBMS.
If the underlying technology is not important (or you don't have any constraint on it) please note that, as you can see in the Bluemix Catalog, ClearDB is a Third Party while SQL Database is an IBM service. This means that the latter is developed by IBM and you can get a quicker support when experiencing issues with your database.
BACKGROUND-
I am planning to make a website that will accept data from users to store them in a database(MySQL).The website would be served from google cloud servers.I have installed MAMP on my mac for web development.
PROBLEM-
Google cloud services also provide Cloud SQL.Now I have a few doubts-
1)Once I finish designing my website on MAMP and want to deploy it on cloud servers I would have database settings of my local machine.Does this mean that before putting it on cloud and in order to use Cloud SQL as database I would have to change code on back-end side that specifies database settings?If yes then how tedious is it to do so?(Changing database from testing environment from MySQL to deployment environment Cloud SQL).
2)Also is there a way to use cloud and not use Cloud SQL?
3)What else combination can be chosen with database to deploy website on cloud?
Usually changing the database needs huge efforts(testing and some config changes) as all the databases provide many additional features which doesn't work directly on another database.
You can use Cloud(Cloud SQL is just part of it).
But the Cloud SQL is mysql only as per the information given on the below link by google
https://cloud.google.com/products/
So, it should not be a big deal for you to migrate the project to cloud from your local system. Only you have to configure the connection details(it will not be simply localhost).
I just wanted to ask if we can access an external MySQL server from Google App Engine...
The only way to communicate with other hosts is by using UrlFetch that only provides HTTP and HTTPS requests.
So, you can't do it out of the box.
Anyway, if you really need to access an external MySQL server database, you should consider to expose it through a Web API (RESTful, Soap web-services for example).
In this way your data would be available also via UrlFetch.
I am still in the learning phase of all this, but I am fairly certain you can do this now a few ways:
Link Apps Scripts to App Engine and use the JDBC
Link it to Google
Cloud SQL Store your SQL database on Google Cloud Store
Connect Apps Scripts via spreadsheet scripting
"Google Apps Script has the ability to make connections to databases via JDBC with the Jdbc Service. The current support extends to MySQL, Microsoft SQL Server and Oracle. Apps Script makes it easy to connect to databases hosted on Google Cloud SQL, but also works with other cloud hosting platforms and even local databases." https://developers.google.com/apps-script/jdbc
(edited for structure)
It is still not possible to native connect GAE to an external MySQL server the only exception is Googles Cloud SQL. We are using it in our production environment and like the experience. Stable and the performance is good.
GAEs own database scales well and we are using it in most situations, but in cases where we need to ask more complex questions or need aggregate functions, we use Googles Cloud SQl.
These answers are a bit outdated. Google App Engine instances can connect to external database servers.
The ability to connect externally requires that the account the App Engine is running under be a "paid account" a/k/a "billing enabled".
References:
-https://cloud.google.com/appengine/docs/php/using-third-party-databases
-https://cloud.google.com/appengine/docs/php/runtime#PHP_Functions_that_requires_billing_enabled
I am tasked with building an application whose database backend needs to be replicated in both directions over an unknown number of clients who are usually offline. Before I explain in detail, my question is whether MySQL replication is feasible for this project or if I should look into other technologies.
Here's the general use case:
User installs software on personal laptop.
User loads data from the master database server onto her laptop.
User disconnects from the network and proceeds to operate on this data remotely.
User remotely connects back to the master database server to commit her changes and retrieve any changes that have since been committed by other people (two-way synchronisation).
I have no experience with database replication of any kind, so this is quite an interesting challenge. Can MySQL replication accomplish what I'm looking for? Or, do you know of another technology that will accomplish this more effectively that MySQL? I've read through the docs ( http://dev.mysql.com/doc/refman/5.0/en/replication.html ) and it looks like it is more geared towards master/slave replication.
MySQL supports one-way replication only.
While this doesn't directly answer your question, MS SQL Server 2008 supports this scenario (merge replication) very well.
In fact, you can use the free MS SQL Server 2008 Express on clients, reducing the need to have multiple SQL Server licenses.
Also, take a look at the Microsoft Sync Framework.
SQL Express - Client Synchronization Sample on MSDN
Microsoft Sync Framework Support in Visual Studio 2008
There are also forums here: SyncFx - Microsoft Synchronization Services
The type of multi-master replication that you are describing is one of the primary use cases for CouchDB.
CouchDB Technical Overview