Chapter04 Merise Method
Chapter04 Merise Method
MERISE was developed around 1978-1979 by a team led by J.L. Lemoigne at the
University of Aix-en-Provence. It emerged in response to the limitations of existing
methods, such as MINOS and CORIG, amidst the technological transformations of the
1970s and numerous studies on database systems. MERISE stands for "MEthode
d’étude et de Réalisation Informatique pour les Systèmes d'Entreprises" (Method for
Studying and Realizing Information Systems for companies).
The MERISE method establishes both principles and an approach. This approach
involves a series of stages, incorporating various disciplines.
"MERISE": MEthodes pour Rassembler les Idées Sans Effort (Methods for Assembling
Ideas Effortlessly).
One of the key aspects of MERISE is to conduct separate studies of data and processes.
Initially, these two studies are handled independently. MERISE also thoroughly
addresses organizational aspects.
1. The Life Cycle: This cycle defines how each stage follows from the previous one.
It includes three main phases:
o Conception: Studying the current system and designing the future
system.
o Implementation: Covers the setup and operational phase of the system.
o Maintenance: Ensures that the system evolves and adapts to
environmental changes and new objectives throughout its lifetime,
eventually leading to its replacement.
1
2. The Abstraction Cycle: This cycle focuses on how to specify an Information
System (IS):
o Data memory is described at conceptual, logical, and physical levels.
o Process operations are described conceptually, organizationally, and
operationally.
Each layer is represented through a model. Changes in lower layers don’t affect
higher layers unless they directly impact the parameters of the layer in
question. Each model is defined using formalized rules, principles, vocabulary,
and syntax. Transition rules allow for automatic or semi-automatic movement
from one model to another.
3. The Decision Cycle: Throughout the study and maintenance phases, decisions
must be made. These decisions start broadly at the general management level
and become increasingly detailed. Global decisions are handled by senior
management, while consultation at each level is required for more specific
choices.
Example: A decision on how to organize a user’s screen layout should not be made
without consulting the individual who will be using the screen regularly.
The design and development process of a system in MERISE is divided into several
stages:
1. Master Plan: Defines the overall strategic approach and objectives for the
system.
2. Preliminary Study: Conducts an initial analysis to assess the current situation
and system needs.
3. Detailed Study: Provides an in-depth examination of system requirements and
specifications.
4. Technical Study: Outlines the technical aspects required for implementation,
including hardware and software specifications.
5. Software Production: Involves developing the necessary software components
according to the design specifications.
6. Implementation: Encompasses the deployment and operationalization of the
system.
Each stage plays a crucial role in building a coherent system aligned with the
organization's goals and resources.
2
C. A Multi-Level Approach
For a designer new to the area being studied, examining the existing system is
essential. This involves:
During the study of the current system, two types of entities provide input:
3
• Workstation: Offers detailed knowledge of specific tasks.
• Management: Provides a broad overview and lists all goals within the domain.
The information gathered is structured for analysis. Interviews vary according to the
type of entity:
1. Management Interviews:
o Initial understanding of the issue.
o Listing objectives.
o Identifying key workstations.
o Defining interfaces with other projects.
o Setting boundaries for the study area.
Results:
oMain objectives.
o List of workstations.
o General quantifications.
o Study boundaries.
o Constraints in terms of:
▪ Resources (material, human, financial).
▪ Timelines (desired completion times).
▪ Regulations (labor law, general accounting rules, etc.).
2. Workstation Interviews:
o Document and describe tasks performed.
o Observe information flow.
o Learn the organization's terminology.
Results:
o Task documentation.
o Data collection.
o List of business rules.
4
This phase involves creating the Conceptual Data Model (CDM), which is a graphical
and structured representation of the information stored by an IS. The CDM is based
on two main elements: entities and associations, which give it the alternative name
"Entity-Association Diagram."
A. Business Rules
Before defining tables (or entities and associations in conceptual terms), it’s necessary
to gather the future users’ requirements. From these, the developer should be able to
establish the business rules governing the data to be stored.
• For each book, the title, publication year, summary, and genre (e.g., novel,
poetry, science fiction) must be known.
• A book may have zero (for anonymous works), one, or multiple authors, with
details such as name, first name, date of birth, and country of origin recorded.
• Each book copy is identified by a unique reference code of letters and numbers,
and each belongs to a single edition.
• Each registered user has a unique ID, along with their name, address, phone
number, and email.
• Each registered user can borrow zero, one, or more books, with each loan
covering one specific copy. The loan date and allowed duration (in days) are
recorded.
• A book may have zero (for anonymous works), one, or multiple authors
• Each book copy belongs to a single edition
• Each registered user can borrow zero, one, or more books,
• Each loan covering one specific copy.
If users do not provide clear rules, it’s often the developer’s responsibility to establish
them. Developers may need to guide users through this process, as required.
5
B. Data Dictionary
This is an intermediate step, especially useful when multiple people work on the same
large database. The data dictionary is a document listing all data items to be stored in
the database (and that will appear in the CDM). For each data item, it indicates:
• Mnemonic Code: A label for the data (e.g., “title_b” for book title).
• Designation: A description of the data item (e.g., “title of the book”).
• Data Type:
o A (Alphabetic): Letters only.
o N (Numeric): Numbers only.
o AN (Alphanumeric): Letters and numbers.
o Date: Date format (YYYY-MM-DD).
o Boolean: True or False.
• Size: Expressed in characters or digits. For a date (e.g., YYYY-MM-DD), it would
be 10 characters.
• Remarks: Additional comments, such as if a value must be positive.
C. Functional Dependencies
A functional dependency (FD) exists when two properties (data items) P1 and P2 are
related, such that each P1 value corresponds to exactly one P2 value. This dependency
is represented as follows:
6
It is said that P1 is the source of the DF and that P2 is its goal. Moreover, multiple
properties can be the source, just as multiple properties can be the goal of a DF.
By referring to the previous data dictionary, the following DFs can be established:
• From a book ID, retrieve title, publication year, summary, genre ID, and edition.
• From a author ID, retrieve name, first name and date of birth of this author.
Transitivity
Union
Decomposition
Pseudo-transitivity
Example:
Transitive Closure
Let F be a set of functional dependencies. The transitive closure of F, denoted F+, is
obtained by adding all the transitive functional dependencies to F.
7
A minimal cover, denoted as F*, is the set of essential and direct functional
dependencies needed for the system.
Introduction
The main objective is the creation of a physical database (internal model)
containing information related to the organization’s activities. The data to be used
within the organization constitutes the perceived reality.
The transition from perceived reality to the internal model is achieved through an
intermediate level: the conceptual level. The conceptual model is a synthesis of the
perceptions of reality by the various actors within the organization.
It is unique and independent of any technological constraints.
An actor's perception will be represented as an external model.
Basic Concepts
An entity is a fundamental concept in database design that represents a distinct
object or concept in the real world that is relevant to the system being modeled. It
serves as a container for storing data about an object or concept, which is described
by its attributes (or properties).
8
Formal Structure of an Entity:
• Entity Name: The label that identifies the type of object (e.g., "Author,"
"Book").
• Identifier: A unique property or combination of properties that distinguishes
each occurrence.
• Attributes: Properties that describe the entity.
Occurrence Example:
If the entity "Author" contains three occurrences, the table might look like this:
Association
9
3. Attributes: Some associations have their own properties that describe the
relationship.
Structure:
Example of an Association:
Here, the "being born" association translates to the following two business rules:
• An author is born in exactly one country.
• In a country, there are no, one, or several authors born.
You will notice that this association is characterized by these annotations (1,1) and
(0,N), which allowed us to define the previous business rules. These annotations are
called cardinalities.
Cardinalities in the context of databases, entity-relationship (ER) diagrams, or data
modeling refer to the number of instances of one entity that can or must be
associated with an instance of another entity. Cardinality defines the allowable
number of relationships between two entities.
Cardinalities are expressed as pairs of numbers: (minimum, maximum), and they
specify the rules of participation in the relationship.
Here are the common types of cardinalities:
10
1. (1,1):
o One-to-One relationship. Each instance of an entity is associated with
exactly one instance of another entity.
o Example: Each person has exactly one passport.
2. (0,1):
o Zero or One relationship. An entity instance can either be associated
with no instance or exactly one instance of another entity.
o Example: A student may or may not have a scholarship.
3. (0,N):
o Zero or Many relationship. An entity instance can be associated with
zero or multiple instances of another entity.
o Example: A book can have zero or more authors.
4. (1,N):
o One or Many relationship. An entity instance must be associated with
at least one, but possibly many, instances of another entity.
o Example: A teacher must teach at least one course.
5. (M,N) (less common):
o Many-to-Many relationship. Both entities can be associated with
multiple instances of the other entity.
o Example: Students can enroll in multiple courses, and each course can
have multiple students.
These cardinalities help define the structure and rules of data relationships,
ensuring the integrity of the system and accurate representation of real-world
constraints.
Dimension of an Association
A relation can be unary (connecting an entity to itself), binary (connecting two
entities), or ternary (connecting three entities).
11
12