Я выяснил, как использовать несколько левых внешних объединений в VB.NET с помощью LINQ для SQL:
Dim db As New ContractDataContext()
Dim query = From o In db.Orders _
Group Join v In db.Vendors _
On v.VendorNumber Equals o.VendorNumber _
Into ov = Group _
From x In ov.DefaultIfEmpty() _
Group Join s In db.Status _
On s.Id Equals o.StatusId Into os = Group _
From y In os.DefaultIfEmpty() _
Where o.OrderNumber >= 100000 And o.OrderNumber <= 200000 _
Select Vendor_Name = x.Name, _
Order_Number = o.OrderNumber, _
Status_Name = y.StatusName
Если apc.cache_by_default
если выключено, и apc.filters
ничего не соответствует, файлы PHP не будут кэшироваться APC.
В вашей конфигурации:
apc.cache_by_default = Off
http://www.php.net/manual/en/apc.configuration.php#ini.apc.cache-by-default
Xcache также работает как общий кеш. Прямо как APC. Просто используйте Xcache!
mixed xcache_get(string name)
bool xcache_set(string name, mixed value [, int ttl])
bool xcache_isset(string name)
bool xcache_unset(string name)
bool xcache_unset_by_prefix(string prefix)
int xcache_inc(string name [, int value [, int ttl]])
int xcache_dec(string name [, int value [, int ttl]])
Having the two caches trying to run at the same time would not be possible. They would be attempting to hook into the same system. Choose one.
There now follows the standard plug for the other technology that you don't use:
Technically, and speed-wise, there's not much in it, though I have seen reports that APC does better at including files and particularly with such techniques as autoloading (eg, with Zend_loader). APC does have easy of access (pecl install...), and it's a 'more official' PHP project then the other caching system.
I've used APC to great affect, for that standard opcodes and also for a significant number of variables, with TTLs ranging from 30 seconds (how many people online right now), to 24hrs, or more (database table meta-information).
Параметры конфигурации среды выполнения имеют следующие значения:
apc.optimization 0 «Уровень оптимизации. Ноль отключает оптимизатор, а более высокие значения используют более агрессивную оптимизацию. Ожидайте очень скромной скорости. улучшения. Это экспериментально ".
http://www.php.net/manual/en/apc.configuration.php#ini.apc.enabled