Вы находитесь на странице: 1из 1

number of tables = t = 5 table names = student,department,hostel,teacher,batch TABLE student attributes of student = s_name , r_no , room_no , hostel number of tuples

in student = nr = 1000 number of blocks of student = br = 100 size of each tuple = lr = 4 number of distinct values of attribute s_name = a_dist = 75 primary index is available on = p = s_name secondary index is available on = s = room_no atribute which is sorted = as = s_name key attributes = keys = r_no height of the tree = h = 4 TABLE department attributes of department = d_name , d_id , d_hod ,d_subj number of tuples in department = nr = 100 number of blocks of department = br = 10 number of distinct values of attribute d_name = a_dist = 50 primary index is available on = p = d_name secondary index is available on = s = d_id atribute which is sorted = as = d_hod key attributes = keys = d_id height of the tree = h = 3 TABLE hostel attributes of hostel = h_name , room_no , s_name , s_num number of tuples in hostel = nr = 1000 number of blocks of hostel = br = 100 number of distinct values of attribute h_name = a_dist = 25 primary index is available on = p = h_name secondary index is available on = s = room_no atribute which is sorted = as = h_name key attributes = keys = room_no height of the tree = h = 4 TABLE teacher attributes of teacher = t_name , t_dept , t_subj ,t_id number of tuples in teacher = nr = 1000 number of blocks of teacher = br = 100 number of distinct values of attribute t_name = a_dist = 200 primary index is available on = p = t_name secondary index is available on = s = t_dept atribute which is sorted = as = t_name key attributes = keys = t_id height of the tree = h = 4 TABLE batch attributes of batch = s_name , s_batch , s_no number of tuples in batch = nr = 20 number of blocks of batch = br = 10 number of distinct values of attribute s_name = a_dist = 12 primary index is available on = p = s_batch secondary index is available on = s = s_name atribute which is sorted = as = s_batch key attributes = keys = s_no height of the tree = h = 2

Вам также может понравиться