Skip to content

Commit 9fd42b4

Browse files
Update README.md
1 parent fc3a3ed commit 9fd42b4

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[Live Link](https://imdb-full-stack-clone.netlify.app)
44

5+
![imdb_cover](imdb_cover.png)
6+
57
Welcome to PMDB, a one-stop destination for all things related to art production in the world of movies, shorts, TV series, and beyond.
68

79
Whether you are a filmmaker, a TV enthusiast, or simply an art aficionado, PMDB offers a comprehensive platform for discovering, exploring, and recommending the finest works of art productions.
@@ -34,7 +36,7 @@ The database design of PMDB is meticulously crafted to handle extensive data rel
3436

3537
![ER Diagram](ER_diagram.png)
3638

37-
The database is designed to be in Third Normal Form (3NF) and Boyce-Codd Normal Form (BCNF) to minimize redundancy and improve data integrity. Here's an overview of the structure:
39+
The database is designed to be in **Third Normal Form (3NF)** and **Boyce-Codd Normal Form (BCNF)** to minimize redundancy and improve data integrity. Here's an overview of the structure:
3840

3941
- **Production:** Contains details about movies, TV series, and shorts, including attributes like `titleId`, `primaryTitle`, `isAdult`, `startYear`, `runtimeMinutes`, `averageRating`, and `numVotes`.
4042
- **Person:** Contains details about individuals involved in productions, including attributes like `personId`, `primaryName`, `birthYear`, and `deathYear`.
@@ -58,15 +60,9 @@ Given the large dataset with millions of entries, loading times were initially q
5860

5961
1. **Creating Views:** To optimize query performance, we created views to store the results of joined tables. Since MySQL does not support materialized views, we created tables in the database to cache the join results. This strategy significantly reduced the time spent on multiple joins, leading to faster data retrieval and improved application performance.
6062

61-
2. **Creating Indexes:** We created indexes on the columns used in the WHERE and ORDER BY conditions of our queries. This indexing strategy helped to speed up the search operations and sorting, making the data retrieval process much more efficient.
62-
63-
## 🌟 Recommendation Engine
63+
2. **Creating Indexes:** We created indexes on the columns that are fruently used in the WHERE and ORDER BY conditions of our queries. This indexing strategy helped to speed up the search operations and sorting, making the data retrieval process much more efficient.
6464

65-
### How It Works:
66-
- **Top Productions:** Displays the top 250 productions based on average ratings.
67-
- **Production Search:** Allows users to search for productions based on various criteria.
68-
- **Person Search:** Allows users to search for individuals involved in productions.
69-
- **Similar Productions:** Recommends productions similar to the selected title.
65+
These strategies have helped boost performance and reduce load time by over 60%, reducing the load time of some pages from over 15s to under 5s.
7066

7167
## 📘 References and Credits
7268

imdb_cover.png

1.3 MB
Loading

0 commit comments

Comments
 (0)