skip to Main Content

XMLReader php xml insert to mysql duplicates

I have an XML as: <?xml version="1.0" encoding="UTF-8"?> <products currency="EUR"> <product id="457654754" vat="13.0"> <price gross="0.09" net="0.07"/> <sizes> <size id="0" name="gfdgfdgfdg" panel_name="dfgfdgfdgfd" code_producer="fgdfgfdg" iaiext:code_external="457547547547" code="354643643643" weight="4" iaiext:weight_net="10" > <stock id="1" quantity="333"/> </size> </sizes> </product> </products> when I parse it as: <?php…

VIEW QUESTION

how to optimize the below MYSQL query

the below query it scans more rows while the table has an index on it but not using that index for that column. Query; SELECT * FROM st_aepsrequest_log WHERE `snd_transno` IN ( SELECT pwcashout_transno FROM st_aeps_transaction_master a WHERE a.`entry_date` >=…

VIEW QUESTION

Solve performance issues for MYSQL query

I have a query. It has an index but I'm not sure why it's taking time for fewer rows. Can anyone please suggest to improving that query performance? SELECT up.id post_id, c.id community_id, SUBSTRING(up.description, 1, 30) post_description, c.name community_name, c.is_index…

VIEW QUESTION
Back To Top
Search