, .
SQL.
LIMIT * . SQL.
-, (..: Keyname/Index ..). - (, 50 000 ), InnoDB, . (temp) db-, db. , , , " ".
-, 1 , " ", , -, . ( , ) , .
cyberkiwi, ADOdb ftp , , ADOdb . , ADOdb, ADOdb, :
$Data = $connection->Execute("SELECT field1, field2, field2 FROM subjects ORDER BY position ASC LIMIT 0, 10");
if (is_object($Data)&&(!$Data->EOF))
{
while (!$Data->EOF)
{
$Data->MoveNext();
}
}
unset($Data);
In the end, although these types of errors are the result of a poorly written SQL statement that causes several connections to stop (in this case you need to increase your "maximum concurrent connections") or simply not enough internal memory or php dedicated memory (in this case, ask to increase your "memory_limit ").
source
share