php - What is the most efficient way to parse through a large amount of data stored in a database with arbitrary key values (formatted as JSON object)? -


most efficient way parse through large amount of data stored in database arbitrary key values (formatted json object) in php?

specifically, how data organized:

  "nodelog" : { "1562_162" : {   "august_2017" : {     "9_8_2017" : {       "logs" : {         "1502246018719_1722_269ccd7c-7cab-11e7-af34-000c29ebfa37" : {           "cust_name" : "archetype",           "group_id" : 1562,           "instance_id" : 162,           "node_id" : "1722",           "node_name" : "start",           "node_type" : "start_node",           "node_values" : "{\"ani\":\"61390998015\",\"dnis\":\"19493465859\",\"instance_name\":\"tropo_test_script\"}",           "timestamp" : 1502246018719,           "uuid" : "269ccd7c-7cab-11e7-af34-000c29ebfa37"         } 

as of right now, i've been looping through thousands of logs specific values, performance absolutely terrible because of multiple nested for-loops. i'm pretty new this, i'm not sure best way is.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -