Recently, I've come upon two words to say "database" － 资料库 and 数据库.
What is the main difference between two? Which one is used in the context of programming?
Thanks for the help!
In programming, they are the same, namely database.
資料庫 is mainly used in Taiwan and Hong Kong. 數據庫 is for Mainland China.
The word "Database" comes from "data" and "data" itself means "facts and statistics collected together for reference or analysis". 數據 focuses on numbers and only explains the statistics parts while 資料 encompasses both fact and statistics and is much closer to the meaning of data.
資料庫 is a better translation from above analysis. You might mind of your target audiences and choose a right word.
They are different translations for the same word "database"
数据库 is used in Chinse mainland
資料庫 is used in Hongkong, Taiwan etc.
More examples could be found on Wikipedia.
In mainland China,
数据库 is the standard translation for
database in the context of computer science. It is used very extensively in both formal and colloquial language.
资料库 is not a computer science terminology and it is a more conceptual term for
information bank, which can be referring to a library, an archive or a computer database.
For computer related terms, Hongkong/Taiwan translations are usually very different, but I am not familiar with them. If that's what you're looking for, you should wait for other answers.
Not a native speaker, but if you compare the search results on 百度, 数据库 seems to be the more often used term with mySQL, Oracle, SQL Server and the like, the digital programmer techie version.
资料库 seems to refer to the more analog version of a database although the results returned the word used with iTunes and movie databases.