You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to PMDB, a one-stop destination for all things related to art production in the world of movies, shorts, TV series, and beyond.
6
8
7
9
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
34
36
35
37

36
38
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:
38
40
39
41
-**Production:** Contains details about movies, TV series, and shorts, including attributes like `titleId`, `primaryTitle`, `isAdult`, `startYear`, `runtimeMinutes`, `averageRating`, and `numVotes`.
40
42
-**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
58
60
59
61
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.
60
62
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.
64
64
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.
0 commit comments