Problems related to Poisson integration?

Hello, great gods.
I am now in the development of iOS image processing APP
encountered a problem
which involves Poisson fusion, suffering from the result processing speed is too slow.
how to solve the problem quickly in order to render the results in real time?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c162a1-4755e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c162a1-4755e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?