So I Have recently run a few queries on the database through the Magento API calls such as
$connection = Mage::getSingleton('core/resource')->getConnection('core_write');
$readresult = $connection_write->query("SELECT data_index FROM catalogsearch_fulltext WHERE MATCH(data_index) AGAINST ('anji') AND store_id = '1'");
$row = $readresult->fetch();
However, apparently this crashes the entire server after looping through about 30 records, manipulating them, and writing back to the records.
There has to be a way to manipulate values of database tables in Magento. Is there a way I can direclty query the database and bypass all of Magento's bulky API?
Thanks!
EDIT: To anyone that may find this later.
I had good success with bypassing the Magento API for database calls. Simply directly querying the database worked much much faster.
However, in my case my table was not interrelated with other tables. Many tables in Magento are interrelated and if you change something in one table, there will be a domino effect in other tables. SO ONLY DO THIS WITH EXTREME CAUTION.