You are on page 1of 3

1.

Conceptual Schema
A conceptual schema is often a high-level description of the business's informational
needs. It typically includes only the leading concepts and the leading relationships
among all of them. Typically, this is a first-cut model, with insufficient detail to build
an actual repository. the general rules that need to be considered. conceptual data
models contain only:
‫اعلی سطحی وضاحت ہوتی ہے۔ اس میں‬ ٰ ‫ایک تصوراتی اسکیما اکثر کاروبار کی معلوماتی ضروریات کی‬
‫عام طور پر صرف سرکردہ تصورات اور ان سب کے درمیان سرکردہ تعلقات شامل ہوتے ہیں۔ عام طور‬
‫ جس میں اصل ذخیرہ بنانے کے لیے ناکافی تفصیل ہے۔ عام اصول جن پر غور‬،‫ یہ پہال کٹ ماڈل ہے‬،‫پر‬
‫کرنے کی ضرورت ہے۔ تصوراتی ڈیٹا ماڈل میں صرف شامل ہیں‬:
1. The real-world entities that are our main data elements.
2. Their relationships.
This model does not have technical details, such as attributes, data types, etc.
The most common forms for conceptual schemas are Entity-Relationship diagrams
and UML Class diagrams. In all these forms the information need is described in
terms of entity types that describe the main things that the information needs are
concerned with, and relationship types that describe the relationships between these
things. Moreover, for both types' attributes can be specified that associate data
values with their instances, like name, date-of- birth or quantity. There is quite some
variation in how precise and powerful the different notations are. For example, most
ER dialects provide a notation that can specify some basic database constraints but
leaves some things open, like the exact data type of attributes. Other notations such
as ORM diagrams and UML Class diagrams provide a very precise and powerful
notation that can be directly mapped to a compete database schema.
‫ تصوراتی اسکیموں کے لیے سب سے زیادہ عام شکلیں ہیں‬Entity-Relationship diagrams ‫اور‬
UML Class diagrams ‫۔ ان تمام شکلوں میں معلومات کی ضرورت کو ہستی کی قسموں کے لحاظ سے‬
‫ اور‬،‫بیان کیا گیا ہے جو ان اہم چیزوں کی وضاحت کرتی ہیں جن سے معلومات کی ضروریات کا تعلق ہے‬
‫ دونوں قسموں کے لیے‬،‫تعلقات کی اقسام جو ان چیزوں کے درمیان تعلقات کو بیان کرتی ہیں۔ مزید برآں‬
‫ تاریخ‬،‫ جیسے نام‬،‫مخصوص کیا جا سکتا ہے کہ ڈیٹا کی قدروں کو ان کی مثالوں کے ساتھ جوڑتا ہے‬
،‫ یا مقدار۔ مختلف اشارے کتنے درست اور طاقتور ہیں اس میں کافی فرق ہے۔ مثال کے طور پر‬،‫پیدائش‬
‫ زیادہ تر‬ER ‫بولیاں ایک اشارے فراہم کرتی ہیں جو ڈیٹا بیس کی کچھ بنیادی رکاوٹوں کی وضاحت کر‬
‫ جیسے کہ صفات کے عین مطابق ڈیٹا کی قسم۔ دیگر‬،‫سکتی ہے لیکن کچھ چیزوں کو کھال چھوڑ دیتی ہے‬
‫ اشارے جیسے کہ‬ORM ‫ ڈایاگرام اور‬UML ‫کالس ڈایاگرام ایک بہت ہی درست اور طاقتور اشارے فراہم‬
‫کرتے ہیں جو براہ راست مسابقتی ڈیٹا بیس اسکیما میں نقش کیے جا سکتے ہیں۔‬
For each manageably sized business domain or subarea, the conceptual schema
design is performed in seven steps:
1. Transform familiar examples into elementary facts.
2. Draw the fact types, and apply a population check.

3. Check for entity types to be combined, and note any arithmetic derivations.
4. Add uniqueness constraints, and check the arity of fact types.

5. Add mandatory role constraints, and check for logical derivations.


6. Add value, set-comparison, and subtyping constraints.
7. Add other constraints and perform final checks.
‫‪1.‬‬ ‫مانوس مثالوں کو ابتدائی حقائق میں تبدیل کریں۔‬

‫‪2.‬‬ ‫حقائق کی قسمیں بنائیں‪ ،‬اور آبادی کی جانچ کا اطالق کریں۔‬

‫‪3.‬‬ ‫ہستی کی اقسام کو جوڑنے کے لیے چیک کریں‪ ،‬اور کسی بھی ریاضی کے اخذات کو نوٹ کریں۔‬

‫‪4.‬‬ ‫انفرادیت کی رکاوٹیں شامل کریں‪ ،‬اور حقیقت کی قسموں کی نوعیت کو چیک کریں۔‬

‫‪5.‬‬ ‫الزمی کردار کی رکاوٹیں شامل کریں‪ ،‬اور منطقی اخذات کی جانچ کریں۔‬

‫‪6.‬‬ ‫قدر شامل کریں‪ ،‬موازنہ سیٹ کریں‪ ،‬اور ذیلی ٹائپنگ کی رکاوٹیں۔‬

‫‪7.‬‬ ‫‪.‬دیگر رکاوٹیں شامل کریں اور حتمی جانچ پڑتال کریں‬

‫‪Criminal Data Schema‬‬


2. Physical Database Schema
This schema pertains to the actual storage of data and its form of storage like files,
indices, etc. It defines how the data will be stored in a secondary storage.
Physical Data Independence
All the schemas are logical, and the actual data is stored in bit format on the disk. Physical
data independence is the power to change the physical data without impacting the schema or
logical data.
For example, in case we want to change or upgrade the storage system itself − suppose we
want to replace hard-disks with SSD − it should not have any impact on the logical data or
schemas.
‫ اور اصل ڈیٹا ڈسک پر بٹ فارمیٹ میں محفوظ ہے۔ جسمانی ڈیٹا کی آزادی اسکیما یا‬،‫تمام اسکیمے منطقی ہیں‬
‫منطقی ڈیٹا کو متاثر کیے بغیر جسمانی ڈیٹا کو تبدیل کرنے کی طاقت ہے۔‬

‫ فرض کریں کہ ہم ہارڈ ڈسک‬- ‫ اگر ہم خود اسٹوریج سسٹم کو تبدیل یا اپ گریڈ کرنا چاہتے ہیں‬،‫مثال کے طور پر‬
‫ کو‬SSD ‫ اس کا منطقی ڈیٹا یا اسکیموں پر کوئی اثر نہیں ہونا چاہیے۔‬- ‫سے تبدیل کرنا چاہتے ہیں‬
Entity
Entities are represented by means of rectangles. Rectangles are named with the entity set they
represent.

Attributes
Attributes are the properties of entities. Attributes are represented by means of ellipses.
Every ellipse represents one attribute and is directly connected to its entity (rectangle).

You might also like