How to deal with the JSON of 3W pieces of data is the most efficient and takes up the least resources?

A file about the size of 4MB. How to deal with it more efficiently and take up less resources.
is primarily a read operation.

Mar.28,2021

read line by line without consuming much content
take a look at readStream about fs,

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-1bf5995-31f86.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-1bf5995-31f86.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?