The analysis of repetitive elements reveals repetitive elements in our genome may have been very important in the evolutionary genomics. In this work, we propose approaches to improve the performance of the repetitive elements in a database, namely Repetitive Sequence Database (RSDB). http://rsdb.csie.ncu.edu.tw/1 There are hundreds of millions of repetitive elements in RSDB. Performance evaluation and tuning are critical for us to manage such a large database. Not only does this study have a lot of performance improvements on centralized RSDB, but also this study provides a comparison of performance between centralized RSDB and distributed RSDB. From the experimental results, we find the improvements proposed speed up our RSDB very much.