I created one project.i want to use google Big table as my database.
so that i used JPA datastore.I created one JPA program(using eclipse) in that i selected ODBC database.I display lot of option like MySQL etc.. What option i select to interact with Bigtable.
Yes, you an use JPA with App Engine's data store. There is no connection to MySQL.
Related
I am using Google Sheets to create a database that is connected to Google Data Studio. But the database is growing fast and will soon overgrow Sheets limits.
I am looking for a cloud service that is simple to use like Sheets, where I can manually add data, do calculations (like formulas in Sheets) and also use Python to update the data there. I also need it to connect to Google Data Studio for visualisation.
I got recommended Firestore, Cloud SQL, Bigquery, but I still do not understand the difference between them. I am looking for something cheap where I can do the things I mentioned above.
P.S. I am new to SQL, so I would prefer a visual database (like Sheets).
Thank you all!
Sheet is not a database, but you can use as is. You have other type of database on Google Cloud, such as
Firestore a document oriented database, not really similar to a tabular Sheet
BigQuery which is a datawarehouse very powerful and the most similar to sheet in its design, checks and controls
Cloud SQL hosts relational database engine, similar to BigQuery but with, in addition, the capacity to create contraint (unique value, primary key, external (foreign) key in relation with another value in another table.
However, no one offer the easiness of Sheet in term of graphical interface. The engine are powerful but are developer oriented and not desktop user oriented.
I am tasked with creating a reporting application working off a internal database.
The database is populated by some other tools, and the aim of the application is basically to read from the DB, and display some charts.
To that end, the application will only ever connect with a read-only account.
I have been reading about ORM, especially Entity Framework, but is seems to be very focused of making DB structure, and DB updating easier.
Since the only purpose of the app is reading from the DB, will I gain anything from using an ORM such as Entity Framework or Linq2SQL, or should I stick with good-ol' SqlCommands?
If you need some kind of dashboard to display aggregated data from a SQL Server database I would recommend Reporting Services. You would need a SQL Server license on the machine that serves the site.
You can of course create a dashboard from scratch using Entity Framework, but hey, why reinvent the wheel?
On the azure page I can create my tables but there are only 4 data types and no option to create or relate the tables using foreign keys and SQL.
What I want to do is have a user and contact table with userId in contact table as a foreign key.
I am using apache cordova and angularJs on the front end in visual studio. I have already added the mobile service to my project.
Mobile Services does not directly support relationships in the backend, but you can customize the data using server scripts and the mssql object. Alternatively, you can create database views that have relationships between tables.
For an example of mapping relationships using database views, please see my post in this forum thread: Best Practice For Syncing Related Tables in Offline Mode.
For more information on managing the database directly, see this article: Scale mobile services backed by Azure SQL Database.
I am looking for an example of a project where a SmartGWT Hibernate Datasouce is connected to a Google Cloud SQL database using GAE as the server. I would be surprised to be the first one in this world to have attempted.
We'd recommend using SQLDataSource instead (simpler, faster, more flexible). Google documents appropriate JDBC settings here:
https://developers.google.com/appengine/docs/java/cloud-sql/developers-guide#use_with_lang
SmartGWT documents how to provide JBDC settings to SQLDataSource here:
http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/SqlSettings.html
You would use MySQL as the database type since CloudSQL is MySQL-compatible.
If you choose to use Hibernate, we haven't tried this, but presumably the same JDBC settings can be provided to Hibernate - see Hibernate docs.
I know how to create a table in Google Big Table. But with my constraints I want to create database and store all the tables inside that database.
Start with the Getting Started documentation for Java or Python. The App Engine environment provides your app with a connection to a single datastore instance - you can't create new datastores for your app, so you'll need to partition your data yourself, inside the datastore.
The datastore also doesn't use 'tables' as you may be used to with a relational database, but instead uses 'entity types' to break data up similarly to tables. The documentation has more information on how it all works.