Current Issue
Volume
30
year
2024
Issue
1

Archive

AUTHOR'S GUIDELINES

ABSTRACT GUIDELINES

SUBMIT AN ARTICLE

SCIENTFIC AND RESEARCH PROFILE

PUBLICATION ETHICS

PEER REVIEW POLICY

ABSTRACTING AND INDEXING

EDITORIAL BOARD

INTERNATIONAL EDITORIAL BOARD

PUBLISHER


Economic Alternatives articles are published open access under a Creative Commons CC BY 4.0 user licence

ADDRESS OF THE EDITORIAL OFFICE

ISSN (print): 1312-7462
ISSN (online): 2367-9409
4 issues per year


The conceptions of the authors express their personal opinion and do not engage the editors of the journal.

The Editorial Board is committed to open science and free access to scientific publications.

No Article Processing Charges apply. The Publisher allows for immediate free access to the work and permits any user to read, download, copy, distribute, print, search, or link to the full texts of articles, crawl them for indexing, pass them as data to software, or use them for any other lawful purpose. 

Every manuscript received will be checked for plagiarism.

Typeset by:

UNWE Publishing Complex

Printed by:

UNWE Publishing Complex

Effects of the Use of Non-Natural Keys on Query Performance in Relational Databases Economic Alternatives
year
2013
Issue
4

Effects of the Use of Non-Natural Keys on Query Performance in Relational Databases

Abstract

Choosing a primary key is of a particular importance in the design of a relational database. What are the possible keys, i.e. which columns or combinations of columns are candidate keys? Which of these candidate keys is best suited for a primary key? For quite some time, a trend is gaining more popularity for choosing a primary key - not to use the existing columns of the relationship but to create new, additional column to ensure the uniqueness and to act as a primary key. Recently it became a common practice to use artificial or surrogate identifiers, even in cases where the relationships already have perfectly suited natural identifiers. Using artificial keys is motivated mainly by practical considerations - the keys are shorter, do not have cascade update when changing the key, queries run faster etc. Does using of non-natural keys really increase the performance of the database? This study is testing what is happening with the database in adopting one or the other approach.

Keywords

primary key, natural key, non-natural key, query performance
Download a08.pdf