>
Fa   |   Ar   |   En
   ارزیابی عملکرد مدل های پایگاه داده در سیستم های شبکه‌های اجتماعی  
   
نویسنده صفائی نژاد موژان ,کرباسی سهیلا
منبع پژوهشنامه پردازش و مديريت اطلاعات - 1402 - دوره : 39 - شماره : 2 - صفحه:627 -655
چکیده    در این پژوهش مدل های داده محبوبترین شبکه های اجتماعی به همراه مزایا و معایب مربوط به آنها و همچنین مواردی که برای ذخیره‌سازی و بازیابی داده های شبکه های اجتماعی مهم و حائز اهمیت هستند بررسی و ارائه شده است. کاربردهای شبکه های اجتماعی در چند سال گذشته رشد چشمگیری داشته اند که نتیجه این رشد، تولید حجم زیادی داده می باشد. از طرفی ذخیره سازی و تجزیه و تحلیل داده های شبکه های اجتماعی برای انواع کسب و کارهای امروزه به طور موثر ضروری می باشند. انواع روش های ذخیره سازی رایج بر اساس مدل داده رابطه ای برای حجم بالای اطلاعات مقیاس پذیر نبوده و بنابراین بهینه و کارآمد نمی باشند. در نتیجه استفاده از روش های ذخیره سازی مبتنی بر مدل های غیررابطه ای به همراه مدل رابطه ای بسیار مرسوم شده اند. در این تحقیق، مجموعه داده حجیمی از داده‌های شبکه اجتماعی توییتر که شامل 15811468 توییت از پست های ارسالی توسط 300000 کاربر فارسی زبان این شبکه اجتماعی می باشد در سه پایگاه داده mysql، mongodb وredis ذخیره شده و عملکرد هر یک از آنها با اجرای پرس وجوهای مختلف بررسی و مقایسه شده است. علاوه بر اندازه گیری زمان صرف شده برای اجرای عملیات بر روی داده‌ها، میزان فضای اشغال شده توسط پایگاه‌های داده نیز بررسی شدند. با توجه به مزایا و محدودیت‌های مرتبط با ساختار هر سه پایگاه داده، از مقادیر به دست آمده می‌توان نتیجه گرفت که اگر داده‌ها دارای ساختار مشخصی هستند، پایگاه داده رابطه‌ای مانند mysql انتخاب خوبی است. اگر داده‌ها بدون ساختار و یا ساختاریافته با پتانسیل رشد سریع باشند، مدل های nosql کارایی بهتری خواهند داشت. ضمن اینکه نگهداری داده ها به صورت موقت و با سرعت زیاد در پایگاه های داده‌ کلید- مقدار مانند redis که داده‌ها را در حافظه نگهداری می‌کنند، مناسب تر هستند. همچنین از نظر زمان اجرا، mongodb با صرف زمان کمتری در مقایسه با mysql و redis پرس و جوها را اجرا می کند که این اثباتی است بر اینکه پایگاه‌های داده nosql عملکرد و مقیاس‌پذیری بهتری را برای اکثر عملیات‌ در مجموعه داده‌های بزرگ نشان می‌دهند.
کلیدواژه شبکه‌های اجتماعی، پایگاه داده، مدل داده‌های بزرگ، مقیاس‌پذیری
آدرس دانشگاه گلستان, دانشکده فنی و مهندسی, ایران, دانشگاه گلستان, دانشکده فنی و مهندسی؛, گروه کامپیوتر, ایران
پست الکترونیکی s.karbasi@gu.ac.ir
 
   performance evaluation of database models in social network systems  
   
Authors safaeinezhad mojan ,karbasi soheila
Abstract    the usage of social networks has grown significantly in thepast few years, and the result of this growth is the production of a largeamount of data. on the other hand, it is necessary to effectively storeand analyze social network data for all kinds of businesses today. inthis research, the data models of widely used social networks, theiradvantages and disadvantages, as well as the things that need to betaken into account for storing and retrieving social network data havebeen reviewed and presented. the types of common storage methodsbased on the relational data model are not scalable for large amountsof information and therefore are not optimal and efficient. as a result,the use of storage methods based on non-relational models along withrelational models have become very common. in this research, a largedataset of twitter social network data, which includes 1,581,468 tweetsfrom posts sent by 300,000 persian users of this social network, arestored in three databases: mysql, mongodb, and redis, and theperformance of each of them with several different queries has beenexamined and compared. in addition to measuring the time spent toperform operations on the data, the amount of space occupied bythe databases was also examined. considering the advantages andlimitations associated with the structure of all three databases, fromthe obtained values, it can be concluded that if the data has a specificstructure, a relational database like mysql is a good choice. if the datais unstructured or structured with the potential for rapid growth, nosqlmodels will perform better. in addition, storing data temporarily and athigh speed in key-value databases such as redis, which store data inmemory, are more suitable. also, in terms of execution time, mongodbexecutes queries very fast compared to mysql and redis, which is aproof that nosql databases show better performance and scalability for most operations in large datasets
Keywords social networks ,database ,big data model ,scalability
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved