# Lyric data store and search

**URL:** <https://www.ruby-forum.com/t/lyric-data-store-and-search/195170>\
**Category:** Rails\
**Created:** [September 18, 2010, 6:29am UTC](https://www.ruby-forum.com/t/lyric-data-store-and-search/195170 "2010-09-18T06:29:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 18, 2010, 6:29am UTC](https://www.ruby-forum.com/t/lyric-data-store-and-search/195170/1 "2010-09-18T06:29:14Z")

</div>

hi  
I have many lyrics which are originally binary format.I need to store  
them and let users to search them.  
1 But i don’t know where to store them? using filesystem or database? I  
think it is better choosing database because it is easier for me to  
implement search function. Am i right?  
2 I can store binary data into database,but it is binary looking.when  
implement search function or users read lyric,i need readable lyric.so  
how to convert those binary data into normal readable text,and then  
store them into database?

Thank you!
