The paper presents problems of designing databases for various branches of industry. The development of information technologies and in particular of object-oriented programming has caused a change from data modeling to the modeling of applications. The increase of unstructured Big Data in Industry 4.0 era and requirements of sharing data model between many applications needs a reversion to data analysis and design and it is presented in the article.