I don't understand your question.
There are various guides on how to install mariadb on a raspberry pi.
Databases are fields of study:
I seen sqllite but have large amount of data so it can not be useful
Why can sqlite not it not be useful you think ? This all depends on your needs of the database capabilities, large amounts of data is not directly one of them, they are both just files with records inside it.
You say you are new to databases, sqlite might be an easier way forward.