Professional Documents
Culture Documents
Question.18 What are the advantages of Column based tables and Row-based tables?
Answer:
Advantages of Column based tables:
Calculations are typically executed on single or a few columns only.
The table is searched based on values of a few columns.
The table has a large number of columns.
The table has a large number of rows and columnar operations are required (aggregate, scan, etc.).
High compression rates can be achieved because the majority of the columns contain only a few distinct
values (compared to a number of rows).
Advantages of Row-based tables:
The application needs to only process a single record at one time (many selects and/or updates of single
records).
The application typically needs to access a complete record (or row).
The columns contain mainly distinct values so that the compression rate would be low.
Neither aggregations nor fast searching is required.
The table has a small number of rows (e. g. configuration tables).
Question.19 What is Derived Attribute Views?
Answer: In some business cases, it is required to use the same attribute view more than
once
In such cases, one can derive an attribute view using the base view which acts as
reference to the base attribute view. The derived attribute view will be opened in the read-
only mode. The only editable field will be its description. The derived attribute view will act
as a reference to its base attribute view.