A good general answer to a rather general question. If you're looking for details, you will probably need to offer more details in your questions.
large amount of data like plenty of books using PHP MYSQL
So, you're keeping a list of the books, and their authors, publishers, copyright years, prices? Or are you saving the text of all these books, chapter headings, every word of the chapter ... or perhaps you have scanned JPG images ... or the books each have hundreds of pages in PDF format ...
Your "question" begs a lot of other questions, when you get right down to it.
This isn't a homework assignment in some CS class somewhere, is it? :eek: