Change Password

Please enter the password.
Please enter the password. Between 8-64 characters. Not identical to your email address. Contain at least 3 of: uppercase, lowercase, numbers, and special characters.
Please enter the password.
Submit

Change Nickname

Current Nickname:
Submit

Apply New License

License Detail

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

The MAC address of the server you want to deploy.

Please complete this required field.

Please complete this required field.

Cancel
Apply
ID
Product
Status
Cores
Applied Validity Period(days)
Effective Date
Excpired Date
Mac Address
Apply Comment
Review Comment
Close
Profile
  • Full Name:
  • Phone:
  • Company:
  • Company Email:
  • Country:
  • Language:
Change Password
Apply

You have no license application record.

Apply
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

Product Created On ID Amount (USD) Invoice
Product Created On ID Amount (USD) Invoice

No Invoice

v5.0
Search
    English
    v5.0

      Export to CSV

      This page demonstrates the process of exporting data from an Ultipa graphset to CSV file(s).

      From Ultipa to CSV

      Generate Configuration File

      Execute the following command in your command line tool.

      ./ultipa-exporter --sample
      

      The export.sample.yml file will be generated in the same directory as ultipa-exporter.exe. If a export.sample.yml file already exists in that directory, it will be overwritten.

      Modify Configuration File

      The configuration file consists of several sections. Modify the configuration file according to your needs.

      If SFTP is not used, remove the section involving SFTP server configurations from the configuration file below.

      # Ultipa server configurations
      server:
        # Host IP/URI and port
        # If it is a cluster, separate hosts with commas, i.e., "<ip1>:<port1>,<ip2>:<port2>,<ip3>:<port3>"
        host: "10.11.22.33:1234"
        username: "admin"
        password: "admin12345"
        # The target graphset from which data will be exported
        graphset: "trading"
        # Path of the certificate file for TLS (optional)
        crt: ""
      
      # SFTP server configurations
      sftp:
        # Host IP/URI and port
        host: "10.12.23.34:4567"
        username: "yourUsername"
        password: "yourPassword"
        # SSH Key path for SFTP (if set, password will not be used)
        key: "./my_secret"  
      
      # Node configurations
      nodeConfig:
        # Specify the schema of the data to be exported. Use "*" to include all schemas with all properties
        - schema: "customer"
        # Specify the properties to be exported. If not set, all properties will be exported
          properties:
            - name: "_id"
            - name: "name"
            - name: "level"
        - schema: "merchant"
      
      # Edge configurations
      edgeConfig:
        - schema: "transaction"
      
      # Global settings
      settings:
        # Data export supports csv/json/jsonl/graphml
        fileType: csv
        # Specify whether to include a header in the file
        writeHeader: true
        # Specify the path to output the exported file. If SFTP is configured, the SFTP path will be used
        outPath: "./export/data"
        # Stops the exporting process when error occurs
        stopWhenError: true
        # The maximum threads
        threads: 32
        # The maximum size (in MB) of each packet
        maxPacketSize: 40
        # The gRPC timeout limit (in seconds) for exporting large datasets
        timeout: 1000
        # Timestamp value unit, supports ms/s
        timestampUnit: s
      

      Configuration Items

      Ultipa server configurations

      Field
      Type
      Description
      host String IP address or URI of the Ultipa database.
      username String Database username.
      password String Password of the above user.
      graphset String Name of the Ultipa graphset.
      crt String Path to the certificate (CRT) file used for TLS encryption.

      SFTP server configurations

      Field
      Type
      Description
      host String IP address or URI of the SFTP server.
      username String SFTP server username used for authentication.
      password String Password of the above user.
      key String Path to the SSH key for SFTP authentication. If set, the password will be ignored.

      Node/Edge configurations

      Field
      Type
      Description
      schema String The schema of the data to be exported. Use * to include all schemas with all properties.
      name String Name of the property to be exported.

      Global settings

      Field
      Type
      Default
      Description
      fileType String csv Specifies the file type to be exported, with options including CSV, JSON, JSONL and GraphMl.
      writeHeader Bool true Whether to include a header in the file.
      outPath String "./export" The path to save the log file.
      stopWhenError Bool false Whether to stop the export process when an error occurs.
      threads Integer 32 The maximum number of threads. 32 is suggested.
      maxPacketSize Integer 40 The maximum size of data packets in MB that can be sent or received.
      timeout Integer 1000 The gRPC timeout limit (in seconds) for exporting large datasets. Set to 0 to use the default 1000-second timeout. Set to <0 to ignore the timeout option during export.
      timestampUnit String s The unit of measurement for timestamp data. Supported units are ms (milliseconds) and s (seconds).

      Execute Import

      The export process uses the configuration file specified by the -config parameter to export data from Ultipa graph database to CSV file(s).

      ./ultipa-exporter --config export.sample.yml
      
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写