DataGrip usage tips

Introduction to DataGrip

DataGrip is a developer-oriented database management product from JetBrains. Provides intelligent query console, efficient architecture navigation, intelligent SQL completion and other functions.

Similar products include navicat and dbeaver. The DataGrip version used in this article is 2023.1

Display the database structure of other types of databases

If the number of a certain type of database structure is 0 in DataGrip, the database structure type will not be displayed. The following configuration is required:
Check Show Empty Groupsto display.
Insert image description here

Group functions and stored procedures

The default functions and stored procedures in DataGrip are placed in the routine. If you need to display the functions and stored procedures separately, you need to configure the following:
Check Separate Procedures and Functionsto group.
Insert image description here

Add Dameng data source

There is no Damon database in the DataGrip general type, but users can add Damon database by themselves.

Add Dameng database driver

Insert image description here
Insert image description here
1. Name the driver;
2. Add the driver file
3. Select the driver type dm.jdbc.driver.DmDriver
4. Set the URL template. You can use the following template

jdbc:dm://{
    
    host::localhost}?[:{
    
    port::5236}][/{
    
    database}?]
jdbc:dm://{
    
    host::localhost}?[:{
    
    port::5236}][/DMSERVER?schema={
    
    database}]

Add Dameng database connection information

When adding a new data source at this time, you can select DM
Insert image description here

Add NPC Jincang data source

By referring to the Dameng database process, you can create the data source of the National People's Congress Golden Warehouse.
The URL template is as follows:

jdbc:kingbase8://[{
    
    host::localhost}[:{
    
    port::5432}]]/[{
    
    database:database/[^?]+:postgres::%}?][\?<&,user={
    
    user:param},password={
    
    password:param},{
    
    :identifier}={
    
    :param}>]

Guess you like

Origin blog.csdn.net/Loiterer_Y/article/details/131242316