IT ELECTIVE 1 - BOND ENERGY ALGORITHM

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

Bond Energy Algorithm (BEA)

is a common method used in vertical fragmentation of distributed databases.

2
New cards

Vertical fragmentation

involves splitting a table into smaller, more manageable sub-tables based on columns (attributes) rather than rows (tuples)

3
New cards

STEP 1 OF BEA

Create an Attribute Usage Matrix:

  • Construct a matrix where rows represent queries and columns represent attributes (columns) of the table.

  • The matrix indicates how each query accesses different attributes (e.g., a 1 represents that a query uses a particular attribute, and 0 means it doesn’t).

4
New cards

STEP 2 OF BEA

Calculate Affinity Values:

  • Compute the affinity value between every pair of attributes. The affinity value measures how closely related two attributes are based on their frequency of being accessed together.

  • Affinity value between two attributes Ai and Aj is given by the sum of products of their usage by each query:

<p>Calculate Affinity Values:</p><ul><li><p>Compute the affinity value between every pair of attributes. The affinity value measures how closely related two attributes are based on their frequency of being accessed together.</p></li><li><p>Affinity value between two attributes Ai and Aj is given by the sum of products of their usage by each query:</p></li></ul><p></p>
5
New cards

STEP 3 OF BEA

Rearrange Attributes:

  • The attributes are rearranged to maximize the bond energy (affinity) between neighboring attributes. The goal is to place attributes with higher affinity values next to each other.

6
New cards

STEP 4 OF BEA

Generate Fragments:

  • Group neighboring columns that have high affinity into fragments. These fragments represent the sub-tables for vertical fragmentation.

7
New cards

Step 1

What step of BEA is this?

<p>What step of BEA is this?</p>
8
New cards

Step 2

What step of BEA is this?

<p>What step of BEA is this?</p>
9
New cards

Step 3

What step of BEA is this?

<p>What step of BEA is this?</p>
10
New cards

Step 4

What step of BEA is this?

<p>What step of BEA is this?</p>