Skip to main content

Teradata In-database Graph Analytics functions

Project description

Teradata add-on package:

Teradata In-database Graph Analytics

Vantage Graph Engine is a distributed designed specifically to handle large-scale graph data—data made of nodes and relationships. Vantage Graph Engine combines:

  • A flexible graph data model
  • Utilize Teradata MPP architecture Together, these components allow fast graph traversal, querying, analytics, and real‑time processing.

Why use Vantage Graph Engine: Graph Engines excel where data is heavily interconnected and must be queried quickly. Examples include:

  • Finding shortest paths
  • Exploring neighborhood relationships
  • Running graph neural network workloads
  • Performing multi-hop queries
  • Real-time analytics

Prerequisites: • Database: o Teradata database V17.20 or above. o A database [GraphDB] for Stored Procedure Installation. o Database Privileges for installer. 1. GRANT CREATE Procedure on [GraphDB] to [Installer]; 2. GRANT EXECUTE Procedure on [GraphDB] to [GraphDB]; 3. GRANT ALL on [TargetDB] to [GraphDB] with grant option; o Database Privileges for user. 1. GRANT EXECUTE Procedure on [GraphDB] to [User]; • Client: o Python 3.8 or above o The following packages are required: 1. teradataml>=20.0.0.9 2. teradatasql>=20.0.0.40 3. pandas>=2.2.0 4. pathlib>=1.0.1 5. plotly>=6.3.1

Installation: • Download and install TeradataGE python package from PyPI: o Command: pip install teradatage • Install Graph Analysis SPs from python with TeradataML and TeradataGE packages:

Teradata python package

from teradataml import * import getpass from TeradataGE import td_graph_function, configure, install_db_objects

Database locator: where graph functions are being installed

configure.graph_install_location = "GraphLib"

Connect to Teradata database

hostname = "xx.xx.xx.xx" user = input(prompt=f"Username for SPs instalation:") password = getpass.getpass(prompt=f"Database password for {user}:") logmech = "TD2" eng = create_context(host = hostname, username = user, password = password, logmech = logmech) print(eng)

Install stored procedures

install_db_objects.install_graph_functions()

Disconnect from database

remove_context()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teradatage-0.1.3.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teradatage-0.1.3-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file teradatage-0.1.3.tar.gz.

File metadata

  • Download URL: teradatage-0.1.3.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for teradatage-0.1.3.tar.gz
Algorithm Hash digest
SHA256 099bd1d3f545caca0f32e1c83377d06f98e5c0a14528ea71b471d9deed9ac238
MD5 d9368f4c07dd92f31b1d15c405aafa7c
BLAKE2b-256 33d3dc119a9c917ab08a913e29fd02a8d467a63bc8dba09a8c92fd488de6b55e

See more details on using hashes here.

File details

Details for the file teradatage-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: teradatage-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for teradatage-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e1a75fbfe1d5c00b5d002e8208ff715d28b400ef501e1f0b0ec76bd8517562
MD5 02685bd44bdb90ba00ff473686da3c56
BLAKE2b-256 3e280fec20261f3a7fc7388309adf3fdc3a4ec0ddc12722190b8b2b41534f206

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page