Skip to main content

Posts

Showing posts with the label Ab Initio Interview Questions

Explain the difference between the truncate and delete commands?

Truncate: It is a DDL command, used to delete tables or clusters. Since it is a DDL command hence it is auto commit and Rollback can’t be performed. It is faster than delete. Delete: It is DML command, generally used to delete a record, clusters or tables. Rollback command can be performed , in order to retrieve the earlier deleted things. To make deleted things permanently, “commit” command should be used.

What does dependency analysis mean in Ab Initio?

Dependency analysis will answer the questions regarding datalinage. That is where does the data come from,what applications produce and depend on this data etc. We can retrieve the maximum (surrogate key) from the existing data,the by using scan or next_in_sequence/reformat we can generate further sequence for new records.

What methods exist for performance tuning?

The best way would be to perform join at the database, the classical way is when we have two tables that we can bring together by making placing a join component between them. Alternately we can write a query to make the join at the level of a database. The advantage is that only one hit is sent to the database instead of two (the classical method). This makes a real difference in improving performance.

What means writing of wrapper?

Writing of a wrapper will help us run sequential running of two graphs, for instance in order to do this the user must use that feed that was generated by the first graph into the next graph, and for multiple use into the next graph and so on.

What is API mode versus the utility mode?

Both API and utility modes are used as connection interfaces to the databases for the purpose of performing specific tasks required by the user. They allows us to easily access different functions that the vendor put for use. The role of each function is related to the nature of the databases. The difference between the two modes is that API is known to be slower but offers a higher range of flexibility than the utility mode. Also API is considered to be a more diagnostic feature.

What is the reason for a database to contain stored procedures?

The main reason is network traffic reduction. Because stored procedures are precompiled SQL blocks, the time of execution can be reduced. In this way the application performance is higher, being stored in the database the procedure will be called by the application and execute faster than in the case is not already compiled. They also provide reusability for different other applications.

What can we say about partitioning with key and round robin?

The partitioning with key (also called hash partition) is partitioning method used when we have diverse keys. The technique is used basically in the processing of parallel data. On the other hand round robin partitioning is a technique that allows us to distribute the data on every destination partition uniformly. While in the case of partitioning with key we can have large data skew due to large key volume, in the case of using round robin partitioning the skew is zero.