Iam testing on mongodb here I need to validate the data fields and values my source Data base is SQL and target data base is mongodb. Query surge is best option for data validation but it is not supporting in my Mac,Is there any alternatives for query surge in Mac?
Related
I'm wondering if there's a way where if given a schema.graphql file Hasura can create the required tables for the GraphQL endpoint? I'm looking for something similar to what keystonejs provides.
My current understanding is
Hasura
Tables --> GraphQL
KeystoneJS
Schema --> GraphQL (With automatic creation of tables)
You can use graphql-to-sql, here's an example (click "run"):
https://repl.it/repls/DangerousOutlyingSolution#index.js
I could not find anything about seeding or migrating in existing GraphQL file.
Maybe because they only operate on a PostgreSQL DB? You can just go a little more low level and seed the underlying PostgreSQL DB with some DDL.
Using add-graphql-datasource, appsync is supposed to generate a graphql endpoint based on the existing structure of an aurora mysql serverless database. The database already has data in it.
Relational Databases Section at
https://aws-amplify.github.io/docs/cli-toolchain/graphql
However, the generated endpoint just has flat representations of the data - none of the relations that exist in database.
How can you use add-graphql-datasource to generate the relations as well?
As of writing, the add-graphql-datasource command does not support auto-generating logic for relations. You can use the add-graphql-datasource command to get started and then write your own resolver logic to implement the relations.
I recently was working with liquibase which is capable of generating the initial DDL script for my JPA entities.
I am trying to do the same for my entities which has Neo4j as the store. Is there any library like liquibase which I can use to get my work done. Can someone put light on this ?
Is there a need in Neo4j to have initial scripts just like rdbms store needs initial CREATE(and other DDL scripts) scripts to insert,update etc ?
I don't want to use the auto capability of spring boot.
There is no need in Neo4j to create or update schema itself, as you're doing in SQL. Schema is dynamically builds from the data you have in your database.
But if you're trying to manage migration of the data stored in your database, you can take a look at liquigraph. It's able to manage a CYPHER queries within changesets.
I wish to use MongoDB as source and target, and perform ETL using Informatica PowerCenter 9.1.
I currently use Oracle 11g as the primary database and wish to migrate to MongoDB to see if MongoDB could be a better database. I also have MongoDB as the database for a few UI tools and wish to migrate the data to Oracle for reporting needs.
I have fair knowledge of Informatica. I would like to use MongoDB as a source and target.
Is this possible and if someone could guide me with some information.
It should be possible as long as you can create the sources in Mapping Designer => Source Analyzer, Sources top-bar menu. I'm not sure if you can access it by ODBC defined on your client machine, or if you need a dedicated connector that should be listed in the menu I've mentioned.
Once you import the source (and target respectively, in Target Designer), you should be able to create a copy of your mapping and replace the source and target with the new ones. Then you just need to create a workflow and set proper connections using server-defined ones.
I am trying to create db link from Oracle 11g to SQL Server 2005 using DG4MSQL gateway.
After creating db link I am not able to query SQL Server system views (sys.services or sys.objects) using JDBC driver, but I am able to query all user tables using JDBC driver.
If I use sqlplus, I am able to query all tables including system tables. Since my project is Java project, I am bound to use JDBC driver.
One more observation I made is that, if I use DG4ODBC instead of DG4MSQL gateway, then I am able to query all SQL Server tables including system tables using JDBC driver.
Please let me know if there are any ways I can query SQL Server system tables using DG4MSQL and JDBC driver?
this one is a little bit tricky to explain
An Oracle Gateway performs 3 types of operations:
SQL translations (when you query regular tables, views etc)
Data Dictionary translations (when you query system views)
Data Type transformations (for example Microsoft's date to Oracle's date)
In case of JDBC, the JDBC-ODBC bridge makes the JDBC driver perfectly compatible with the drivers included in DG4ODBC. Therefore, JDBC plus DG4ODBC allows you to perform all the transformations above.
The problem is that DG4MSQL uses a proprietary driver and only SQL translations can be bridged to JDBC.
As a solution to your issue, you could try to create local views on your Oracle schema, based on the remote SQL server system views. Depending on your requirements, you can even create them as materialized views.
CREATE OR REPLACE VIEW sys_services
AS SELECT *
FROM sys.services#dblink;
and then query sys_services instead of directly querying sys.services#dblink