Welcome! Teradata Developer Exchange is a community-oriented tech website that connects Teradata engineers with developers and customers who are building and deploying solutions on our platforms. Think of it as a digital community of technical experts sharing ideas, code, best practices and lessons on solving problems. Sounds great doesn't it? So sign up and join the community now!

Expand All Syndicate content The Latest
External Data formats supported by the TPT DataConnector Operator

The TPT DataConnector Operator is the mechanism by which TPT obtains data from or sends data to external native operating system flat (sequential) files or attached access modules.

This article will address the data formats usable with the TPT DataConnector Operator. For each format, we will first deal with the concept of a record, which roughly maps to a DBS table row. Secondly, we will address how these data are resolved to row columns using the TPT data schema. When these two requirements are validated, we will have converted the external data record to a Teradata DBS row. If not, we have a fatal data error*.

1
0
Some Rules are Meant to be Broken: Things that Don't Obey CPU Limits

Maybe you want to ensure that your sandbox applications never use more than 2% of the total platform CPU. No problem! Put a CPU limit of 2% on them. Or maybe you’ve got some resource-intensive background work you want to ensure stays in the background. CPU limits are there for you. But if you plan to use CPU limits as part of your workload management scheme, be aware that there are some database operations that simply won’t obey the limits. So let’s take a look at what those special cases are and why they’re allowed to violate the rules.

TRM Server Logging - Advanced Topics

In this post, we will cover some more advanced logging topics in TRM, including PE logging, SQL output, user clicks, authentication attempts, and startup logging.

2
0
Periodic Loading with Teradata Parallel Transporter

While transactional processing through the use of “message queues” is a common approach in ADW today, the file-oriented approach is also begining to find its way into ADW due to its simplicity in nature and ease-of-control. Today, many companies monitor and store thousands--or hundreds of thousands--of transactions per day across their branches and stores. Transactional data is usually collected and stored as files in directories, before being merged into the enterprise-wide data warehouse. In fact, there have been Teradata sites which extract transactional data from message queues, pre-process them, and store them into different directories based on transaction types, in an “active” manner. By “active”, we mean the files are created as transactions are collected.

1
0
Teradata Parallel Transporter External Command Interface

The Teradata Parallel Transporter (TPT) External Command Interface is a command based interface which allows users to issue commands to TPT jobs. The term “external commands” implies two important implementations. First, it implies that users can issue commands to TPT jobs from outside the TPT address space. Secondly, it implies that commands are processed by TPT while it is in the middle of performing ETL operations. In addition, TPT internal components such as operators (which run under different processes) can also communicate with each other within a job through the same interface by using commands. As a result, ETL and system “events” are not only shared between the TPT and users, but also shared amongst TPT components within a job at runtime.

1
0
When is the right time to refresh statistics? - Part II

Continuing from Part I where we discussed the factors involved in determining when to refresh statistics, now we'll look at a process that I designed/created and have been using for a quite long time. This process may not fit into all environments but it will provide some ideas as to how to develop your own process. I call the process “Smart Stats.”

Teradata Utility Error Handling - Fastload

In the first article in this series on Teradata Error Handling, we introduced the larger architecture and load utility environment. in this article the focus will be on the Fastload Utility and some of the techniques applicable to handling errors, exceptions and failures that can occur within a High Availability system.

3
0
TRM Server Logging Basics

This article describes the basics of TRM's V6 logging in the application server. This includes log file configuration, versioning, location and content.

2
0
Geospatial with Teradata 13

The availability of Teradata's geospatial extension package in 2007 brought these location capabilities to Teradata 12, 6.2 and 6.1.  This package is still available as a free download from Teradata and when installed, adds geospatial functionality as a User Defined Type (UDT) along with a library of User Defined Functions (UDFs).  (See my article on downloading and installing this package).  One of the major highlights of Teradata 13 is the inclusion of thes

1
0
HTTPS support now live on DevX

We're happy to announce that we have now enabled HTTPS support for the more sensitive parts of the site. Specifically, you'll be switched to HTTPS when you register, sign-in, get a password reminder, or update your profile. Please send feedback if you have any comments on or concerns with the implementation.