Groups | Blog | Home
all groups > sql server (alternate) > may 2004 >

sql server (alternate) : decreasing number of records.. is it important?


wissamhm NO[at]SPAM hotmail.com
5/14/2004 2:30:22 PM
hi,

If we consider the following scenerio:
a school with 500 students.
On average student takes [x] courses per year, and [y] tests per course.

table of grades:
+------------+-----------+---------+-------+
| student_id | course_id | term_id | grade |
+------------+-----------+---------+-------+
| | | | |
+------------+-----------+---------+-------+
| | | | |
+------------+-----------+---------+-------+

as average, x = 20, y =6 then
number of records = 500 * 20 * 6 = 120,000 record per year.

is this design correct considering number of records generated per year?
Is it important to reduce the "number of records" or no?

Steven Wilmot
5/14/2004 10:36:05 PM

[quoted text, click to view]

500 * 20 * 6 = 60 thousand, not 120 thousand.

This is what a database is for - storing information.

If that is the information you want to store, then that is what you should
use.

Many databases will hold many billions of rows.

---

Consider an analagy -
This dictionary has too many words - should I remove some ?

S.

AddThis Social Bookmark Button