Table source operators

Table source operators use SQL to select data from local DB2® database tables. Table source operators also use the Java™ Database Connectivity (JDBC) interface standard to select data from remote database tables.

A table source operator represents a connection to a relational table in a database management system. A table source operator corresponds closely to the SELECT clause of an SQL statement. This operator supports column expression and WHERE condition properties for selecting and filtering the data that is passed through a data flow. A table source operator provides column information, including column names and data types, to other operators in the data flow. Table source operators can connect to a local DB2 database and make the table schemas and data available in the data flow editor. Table source operators also support connections to remote DB2 tables and to other databases via JDBC.

Remote tables are those that do not exist in the SQL execution database, which is a DB2 database. The remote database might exist on the same computer or in the same DB2 instance as the SQL execution database. Remote tables can also exist in databases on remote systems. In all cases, remote databases are accessed via the JDBC protocol. You use the Data Source Explorer in the Design Studio to create and activate database connections. You can also establish database connections by defining system resources in the application server (runtime environment).

Table source operators can access remote tables via JDBC directly or by using nicknames for tables in federated data sources.

Table source operators support select list and WHERE condition properties that can provide performance advantages over creating a table source operator that is followed by a where operator in the data flow. When the source database table is a remote table, specifying values for the select list and WHERE condition properties allows them to be evaluated in the remote database. Evaluating these properties in the remote database reduces the load on the SQL execution database and reduces the amount of data that is transferred. Also, query evaluation for the remote database can use indexes and statistics that further improve the performance.

See Creating a data flow that populates the MARTS.ORDER_FACT table in the SQL Warehousing tutorial for an example of using the table source operator.



Feedback | Information roadmap