{"id":1893,"date":"2022-05-16T21:58:05","date_gmt":"2022-05-17T02:58:05","guid":{"rendered":"https:\/\/www.dpriver.com\/blog\/?p=1893"},"modified":"2022-05-16T22:02:21","modified_gmt":"2022-05-17T03:02:21","slug":"how-to-use-grabit-to-analyze-the-data-lineage-in-mysql-database","status":"publish","type":"post","link":"https:\/\/www.dpriver.com\/blog\/2022\/05\/how-to-use-grabit-to-analyze-the-data-lineage-in-mysql-database\/","title":{"rendered":"How to use grabit to analyze the data lineage in mysql database?"},"content":{"rendered":"

Grabit is a helper tool for collecting SQL scripts and stored procedures from various sources such as databases, revision systems like GitHub, bitbucket, and filesystems, and pushes them to SQLFlow server for analysis and generating metadata and data lineage<\/a><\/strong>.\u00a0Grabit official access address<\/a><\/strong>.<\/p>\n

## Main uses of grabit:<\/h2>\n

\n
1. connect to database: <\/strong>Extracting SQL queries such as creating tables, creating views and stored procedures from databases such as Oracle and SQL Server, and sending them to SQLFlow for analysis.<\/li>\n
2. connect to the SQLFlow system:<\/strong>\u00a0Get SQL files from revision systems like Github, Bitbucket, etc. and send to SQLFlow for data lineage.<\/li>\n
3. search file system:\u00a0<\/strong>Find the SQL file in the local file system and push it to SQLFlow to visualize data lineage.<\/li>\n<\/ol>\n

   This article introduces how to use grabit to analyze data lineage in a mysql database.<\/strong><\/p>\n

   ## How to configure the grabit environment?<\/h2>\n

   The environment for running grabit needs to be configured with Java 8 and above, and the following information needs to be configured in the system variables. Please pay attention to the replacement installation path of java when deploying:<\/p>\n

   <\/p>\n

   run grab<\/p>\n

   Taking the Windows environment as an example, you need to execute start.bat in the grabit installation directory.<\/p>\n

   <\/p>\n

   ## How to connect to the database?<\/h2>\n

   On the grabit startup page, there are various data sources such as Database, Github, Bitbucket, Single File, etc. This article focuses on using the database method to obtain data sources.<\/p>\n

   For other methods, please refer to here<\/a><\/strong>.<\/p>\n

   Select the mysql database type and click next<\/p>\n

   <\/p>\n

   Click next to go to the database configuration information page, where the first four items are required items, and the latter items are optional items. Please refer to here<\/a><\/strong> for more detailed information about the specific information in the optional items.<\/p>\n

   <\/p>\n

   <\/p>\n

   <\/p>\n

   After configuring the above information, click [upload] to upload to the sqlflow server and generate the corresponding job, as shown in the following figure:<\/p>\n

   If you are using the cloud version of sqlflow, you need to register for a premium membership.<\/p>\n

   <\/p>\n

   You can click [save config] to save the current configuration file, and then click close to close the grabit.<\/p>\n

   ## How to use sqlflow to obtain data lineage analysis results?<\/h2>\n

   You need to check on the sqlflow server. You can see that the corresponding job has been created and can easily obtain the data lineage of automatic analysis, as shown in the following figure:<\/p>\n

   <\/p>\n

   At this point, the introduction of using grabit to analyze the data lineage in the mysql database is completed.<\/p>\n

   ## Conclusion<\/h2>\n

   Thank you for reading our article and if you’ve enjoyed it, we would be very happy. If you want to learn more about data lineage, we would like to advise you to visit Gudu SQLFlow<\/a><\/strong> for more information. As one of the best data lineage tools<\/a><\/strong>, Gudu SQLFlow can not only analyze SQL script files, obtain data lineage, and perform visual display, but also allow users to provide data lineage in CSV format and perform visual display.<\/p>\n","protected":false},"excerpt":{"rendered":"

   Grabit is a helper tool for collecting SQL scripts and stored procedures from various sources such as databases, revision systems like GitHub, bitbucket, and filesystems, and pushes them to SQLFlow server for analysis and generating metadata and data lineage.\u00a0Grabit official access address. Main uses of grabit: connect to database: Extracting SQL queries such as creating tables, creating views and stored procedures from databases such as Oracle and SQL Server, and sending them to SQLFlow for analysis. connect to the SQLFlow system:\u00a0Get SQL files from revision systems like Github, Bitbucket, etc. and send to SQLFlow for data lineage. search file system:\u00a0Find\u2026<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25,8,10],"tags":[26,35,27,37],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":5}},"yoast_head":"\nHow to use grabit to analyze the data lineage in mysql database?<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n