I have a website that I host with GoDaddy. At the moment if I want to run an SQL Query on the database I'm using GoDaddy's default phpMyAdmin interface to interact with the database (all done through the browser).
I have a table with 32,000 records. One of the items in the table contains a JSON string that looks something like this:
{
"activity": {
"section1": {
"item1": {
"itemName": {
"name": "myName",
"property1": false,
"property2": false
}
}
},
"section2":{
"item1": false
}
}
}
Overtime I may want to update this JSON string (e.g. if the schema is updated and I want to add a section3
there. If I try to do this now (even if the new string is hardcoded and is the same for each of the 32000 records in the table, the query just times out. I suspect 32000 is too many records for this operation.
I tried running a query through PhpMyAdmin's SQL Query tab - that failed, it got through to about half way and then it timed out.
My question is: what is the best to work with the database? Is there a more efficient way to run queries then through GoDaddy's default phpMyAdmin interface?