top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is RDBMS??

+2 votes
184 views

can anybody plz explain RDBMS in a proper way...?

posted Nov 13, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

3 Answers

+1 vote

Mr Edgar F. Codd published an article “A Relational Model of Data for Large Shared Data Banks.” which defined basic rules for relational data storage, which can be interpreted as:

  1. Data must be stored and presented as relations, i.e., tables that have relationships with each other, e.g., primary/foreign keys.
  2. To manipulate the data stored in tables, a system should provide relational operators - code that enables the relationship to be tested between two entities. A good example is the WHERE clause of a SELECT statement, i.e., the SQL statement SELECT * FROM CUSTOMER_MASTER WHERE CUSTOMER_SURNAME = ’Smith’ will query the CUSTOMER_MASTER table and return all customers with a surname of Smith.

Codd later published another paper that outlined the 12 rules that all databases must follow to qualify as relational.

0: The Foundation rule: A relational database management system must manage its stored data using only its relational capabilities. The system must qualify as relational, as a database, and as a management system. For a system to qualify as a relational database management system (RDBMS), that system must use its relational facilities (exclusively) to manage the database.

1: The information rule: All information in a relational database (including table and column names) is represented in only one way, namely as a value in a table.

2: The guaranteed access rule: All data must be accessible. This rule is essentially a restatement of the fundamental requirement for primary keys. It says that every individual scalar value in the database must be logically addressable by specifying the name of the containing table, the name of the containing column and the primary key value of the containing row.

3: Systematic treatment of null values: The DBMS must allow each field to remain null (or empty). Specifically, it must support a representation of "missing information and inapplicable information" that is systematic, distinct from all regular values (for example, "distinct from zero or any other number", in the case of numeric values), and independent of data type. It is also implied that such representations must be manipulated by the DBMS in a systematic way.

4: Active online catalog based on the relational model: The system must support an online, inline, relational catalog that is accessible to authorized users by means of their regular query language. That is, users must be able to access the database's structure (catalog) using the same query language that they use to access the database's data.

5: The comprehensive data sublanguage rule: The system must support at least one relational language that - Has a linear syntax, Can be used both interactively and within application programs, Supports data definition operations (including view definitions), data manipulation operations (update as well as retrieval), security and integrity constraints, and transaction management operations (begin, commit, and rollback).

6: The view updating rule: All views that are theoretically updatable must be updatable by the system.

7: High-level insert, update, and delete: The system must support set-at-a-time insert, update, and delete operators. This means that data can be retrieved from a relational database in sets constructed of data from multiple rows and/or multiple tables. This rule states that insert, update, and delete operations should be supported for any retrievable set rather than just for a single row in a single table.

8: Physical data independence: Changes to the physical level (how the data is stored, whether in arrays or linked lists etc.) must not require a change to an application based on the structure.

9: Logical data independence: Changes to the logical level (tables, columns, rows, and so on) must not require a change to an application based on the structure. Logical data independence is more difficult to achieve than physical data independence.

10: Integrity independence: Integrity constraints must be specified separately from application programs and stored in the catalog. It must be possible to change such constraints as and when appropriate without unnecessarily affecting existing applications.

11: Distribution independence: The distribution of portions of the database to various locations should be invisible to users of the database. Existing applications should continue to operate successfully:
when a distributed version of the DBMS is first introduced; and when existing distributed data are redistributed around the system.

12: The nonsubversion rule: If the system provides a low-level (record-at-a-time) interface, then that interface cannot be used to subvert the system, for example, bypassing a relational security or integrity constraint.

Many modern databases do not follow all 12 rules, but these systems are considered relational because they conform to at least two of the 12 rules.

Source: Codd's 12 Rule

answer Nov 13, 2014 by Salil Agrawal
0 votes

RDBMS stands for Relational Database Management System. RDBMS data is structured in database tables, fields and records. Each RDBMS table consists of database table rows. Each database table row consists of one or more database table fields. RDBMS store the data into collection of tables, which might be related by common fields (database table columns). RDBMS also provide relational operators to manipulate the data stored into the database tables.

answer Nov 13, 2014 by Manikandan J
0 votes

Well... I am trying to elaborate a little in terms of mathematical way. just like RDBMS is based on relational data model. So here a little bookish def. of RDBMS

RDBMS

Relational Database model is a database system, which is defined based on the Relational model of data. The Data from relational database can be accessed or reassembled in different ways without having to reorganize the database table.

Relational Model

The Relational Model for DBMS is the database model, which is defined based on the first order predicate logic or calculus.
the purpose of the relational model is to provide the declarative method for specifying the data & queries.

First Order Predicate logic

The first order predicate logic is an extension of prepositional logic. The prepositional logic deals with the truth values of the logic statement and uses logical connectives to build more complex expression. such as (AND, OR, NOT, IMPLICATION, NEGATION).
But the prepositional logic does not deal with the logical relationship and properties.

Ex. P AND Q OR W (propositional statement)

Note: it just gives the truth value as a result but does not define any relationship.

The first order predicate logic deals with proposition in which subject & predicates are separately signified with reasoning where the validity depends upon the level of articulation.
It has 3 more logical parts.

  1. Term:
  2. Predicate
  3. Quntifires

Ex. "All mens are mortal".

Note: give a glance to first order predicate logic. :)

answer Nov 15, 2014 by Prakash Singh
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...