Preview

A Biref Introduction to Pi and Si

Satisfactory Essays
Open Document
Open Document
272 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
A Biref Introduction to Pi and Si
A brief introduction to PI and SI
Primary index is the most important feather of Teradata, causing the Primary Index decides the distribution of rows in a table on AMPs.
There are two types of Primary Index in the Teradata Database, unique Primary Index and Non-unique Primary Index. Unique Primary Index results in even row distribution and eliminates the duplicate rows. While Non-Unique Primary Index results in potentially skewed distribution. Non-Unique Index worse, makes heavily-skewed distribution ignored the Teradata Parallel mechanism.
So how the PI decides the distribution of a row of a table on an AMP? The Primary Index value comes into the Hashing Algorithm, and via Hashing Algorithm, the so called 32bit row hash is produced. The first 16 bit is called Row Hash, used to identify the hash map’s entry. The hash map is an array which associates the DSW with a specific AMP. Secondary Index is another alternative way to access the row stored on the AMP. It is a sub-table in all the AMPs. Like Primary Index, there are two kinds of secondary index, Unique Secondary Index and Non-Unique Index. Unlike the Primary Index, Secondary Index does not have a effect on the distribution on AMPs. Let us take the accessing data using secondary index for instance. Unique Secondary Index is efficient. This kind of accessing typically allows of only two AMPs. So using Unique Secondary Index to access a row, two AMPs are involved.
Non-Unique secondary index (NUSI) may have multiple rows per value. A NUSI is efficient when you want to prevent a full table

You May Also Find These Documents Helpful

  • Good Essays

    Your choices for the attributes for each table are shown below. The listing of "correct" choices is based on using all…

    • 1302 Words
    • 11 Pages
    Good Essays
  • Satisfactory Essays

    Statistic Practice Test

    • 741 Words
    • 3 Pages

    A. Locating data with specific variables of interest can be time consuming and sometimes a researcher may not make data available.…

    • 741 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Anime LIst

    • 11441 Words
    • 52 Pages

    A unique identifier for a data row that consists of more than one field is commonly…

    • 11441 Words
    • 52 Pages
    Good Essays
  • Good Essays

    07

    • 4772 Words
    • 25 Pages

    3) The SQL keyword PRIMARY KEY is used to designate the column(s) that are the primary key for the table.…

    • 4772 Words
    • 25 Pages
    Good Essays
  • Good Essays

    Master Patient Index

    • 432 Words
    • 2 Pages

    Master Patient Index (MPI) and the Primary Key are important parts of a health care organizations database. They help in the retrieval and organization of data in an organizations data base.…

    • 432 Words
    • 2 Pages
    Good Essays
  • Better Essays

    This is so records can be easily understood and used, and any point can be gleaned quickly.…

    • 1515 Words
    • 7 Pages
    Better Essays
  • Powerful Essays

    Tesco Oxfam

    • 1540 Words
    • 6 Pages

    Primary – is mostly raw materials for example companies who mine coal, drill oil and extract metals are primary based company.…

    • 1540 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Candidate keys are keys that uniquely identify each row in a relation. They can be single or composite. The primary key is the candidate key that is chosen as the key that the DBMS…

    • 805 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    04

    • 4586 Words
    • 34 Pages

    A primary key is usually given the abbreviation _pk in the constraint name if the name is assigned by the user.…

    • 4586 Words
    • 34 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The Master Patient Index (MPI) is an electronic medical record system for every patient registered in a health care organization. The MPI is stored in a database and contains a unique identifier, known as the Primary Key (PK). The PK is unique and identifies each record in the database. The MPI is considered the most important resource in a healthcare facility (AHIMA).…

    • 385 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    14. Which of the following is a limitation of secondary data not found in primary data?…

    • 564 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Assingment2

    • 906 Words
    • 3 Pages

    A primary key is a field or group of fields in a database that make a unique identifier for each row of information. Primary keys are particularly important because they can…

    • 906 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    P1 Unit 4 Business Research

    • 2470 Words
    • 10 Pages

    Create a plan for the collection of primary and secondary data for a given business problem-p1…

    • 2470 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    When multiple copies of a patient file are in circulation it becomes increasingly difficult to control the circulation and creates unnecessary possibilities for HIPPA violations. A Master Patient Index will also increase efficiency and patient care. According to Building a successful enterprise master patient index: a case study: “there are more overlap patient files than an organization usually perceives; an imprecise and incomplete base of demographic data will multiply the error rate for the enterprise” (Lenson, 1998). The master patient index ensures that patients are given a unique identification number only once, meaning there will never be multiple patient files for one patient. A centralized records management center ensures that there are not duplicate files due to…

    • 917 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Comparative Analysis

    • 920 Words
    • 4 Pages

    A primary data is the facts and figures collected by the investigator for the first time and these data can be used by the investigator in the statistical analysis and statistical investigation. These data act as a foundation block to any research study. Primary data in case of this institution can be :…

    • 920 Words
    • 4 Pages
    Good Essays