Jump to content

Object–relational database

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Abrarmso (talk | contribs) at 10:45, 8 July 2018 (ترجمه للعربي). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Example of an object-oriented database model[1]

قاعدة بيانات علائقية غرضية التوجه  أو تسمى إدارة

قواعد بيانات علائقية غرضية التوجه، هي نظم ادارة قواعد البيانات تشابه لقاعدة البيانات العلاقيه لكن تختلف عنها بوجود نموذج قواعد البيانات كائنية التوجه : object , classes and inheritance

مدعوم مباشرة من خلال مخطط قواعد البيانات و لغة الاستعلام. إضافةً لذلك كما نظم العلاقات ، فهو يدعم تمديد نموذج البيانات مع نوع البيانات المخصصة و طرقها.

قاعدة بيانات علائقية غرضية التوجه تقدم حل وسط بين قاعدة البيانات العلاقيه و قاعدة البيانات الموجهة للكائنات ، في قاعدة البيانات علائقية غرضية التوجه المفهوم هو ان البيانات الموجودة في قواعد البيانات يتم معالجتها بشكل جماعي مع استعلامات في لغة الاستعلام. وفي الطرف الاقصى يوجد نظم ادارة البيانات الموجهة للكائنات

بحيث ان قاعدة البيانات هي مخزون كائنات مستمر للبرمجيات المكتوبة بلغة البرمجة الموجهة للكائنات مع برمجة واجهة برمجة التطبيقات

للتخزين و إسترجاع الكائنات ، كما انه الدعم المتوفر للاستعلام قليل و احيانا لا يوجد دعم.

لمحة ناريخية

Object-relational database management systems grew out of research that occurred in the early 1990s. That research extended existing relational database concepts by adding object concepts. The researchers aimed to retain a declarative query-language based on predicate calculus as a central component of the architecture. Probably the most notable research project, Postgres (UC Berkeley), spawned two products tracing their lineage to that research: Illustra and PostgreSQL.

In the mid-1990s, early commercial products appeared. These included Illustra[2] (Illustra Information Systems, acquired by Informix Software, which was in turn acquired by IBM), Omniscience (Omniscience Corporation, acquired by Oracle Corporation and became the original Oracle Lite), and UniSQL (UniSQL, Inc., acquired by KCOMS). Ukrainian developer Ruslan Zasukhin, founder of Paradigma Software, Inc., developed and shipped the first version of Valentina database in the mid-1990s as a C++ SDK. By the next decade, PostgreSQL had become a commercially viable database, and is the basis for several current products that maintain its ORDBMS features.

Computer scientists came to refer to these products as "object-relational database management systems" or ORDBMSs.[3]

Many of the ideas of early object-relational database efforts have largely become incorporated into SQL:1999 via structured types. In fact, any product that adheres to the object-oriented aspects of SQL:1999 could be described as an object-relational database management product. For example, IBM's DB2, Oracle database, and Microsoft SQL Server, make claims to support this technology and do so with varying degrees of success.

Comparison to RDBMS

نظم ادارة البيانات العلاقية عادةً يتضمن تقرير (SQL) :

   CREATE TABLE Customers  (
       Id          CHAR(12)    NOT NULL PRIMARY KEY,
       Surname     VARCHAR(32) NOT NULL,
       FirstName   VARCHAR(32) NOT NULL,
       DOB         DATE        NOT NULL
    );
    SELECT InitCap(Surname) || ', ' || InitCap(FirstName)
      FROM Customers
     WHERE Month(DOB) = Month(getdate())
       AND Day(DOB) = Day(getdate())

تسمح معظم قواعد بيانات SQL الحالية بصياغة الدالات المخصصة ، مما يسمح بظهور الاستعلام على النحو التالي:

    SELECT Formal(Id)
      FROM Customers
     WHERE Birthday(DOB) = Today()

في قاعدة بيانات الكائنات المترابطة ، قد يرى المرء شيئًا من هذا القبيل ، مع أنواع بيانات محددة من المستخدم وتعبيرات مثل BirthDay ():

    CREATE TABLE Customers (
      Id           Cust_Id     NOT NULL  PRIMARY KEY,
      Name         PersonName  NOT NULL,
      DOB          DATE        NOT NULL
    );
    SELECT Formal( C.Id )
      FROM Customers C
     WHERE BirthDay ( C.DOB ) = TODAY;

يمكن أن يوفر نموذج العلاقات الموضوعية ميزة أخرى من حيث أن قاعدة البيانات يمكنها الاستفادة من العلاقات بين البيانات لتجميع السجلات ذات الصلة بسهولة. في تطبيق دفتر العناوين ، سيتم إضافة جدول إضافي إلى تلك المذكورة أعلاه لعقد عناوين صفر أو أكثر لكل عميل. باستخدام RDBMS التقليدية ، يتطلب جمع المعلومات لكل من المستخدم وعنوانه "الانضمام":

     SELECT InitCap(C.Surname) || ', ' || InitCap(C.FirstName), A.city
       FROM Customers C join Addresses A ON A.Cust_Id=C.Id -- the join
      WHERE A.city="New York"

يظهر نفس الاستعلام في قاعدة بيانات الكائنات العلاقية بشكل أكثر بساطة:

    SELECT Formal( C.Name )
      FROM Customers C
     WHERE C.address.city="New York" -- the linkage is 'understood' by the ORDB

See also

References

  1. ^ Data Integration Glossary (PDF), US: Department of Transportation, August 2001
  2. ^ Stonebraker,. Michael with Moore, Dorothy. Object-Relational DBMSs: The Next Great Wave. Morgan Kaufmann Publishers, 1996. ISBN 1-55860-397-2.
  3. ^ There was, at the time, a dispute whether the term was coined by Michael Stonebraker of Illustra or Won Kim of UniSQL.