This paper evaluates the performance of graph databases Neo4j and OrientDB through indexing techniques, identifying their strengths and weaknesses as storage mechanisms for graph structures. The authors highlight the growing need for these technologies in managing complex, interrelated data, particularly in social networking contexts. A case study involving a nearly 5,000-node Twitter social network is presented to compare query response times with and without indexes, ultimately aiming to determine which database performs better under certain conditions.