EXPLAIN (ANALYZE,VERBOSE,BUFFERS,TIMING) update ds_citizens set amount = 1 where citizen_id IN (SELECT generate_series(1, 1000000) ORDER by random());
выполняется за 4000ms+- (из них ~700ms уходит на подзапрос с order by random() )if(db_row_update('name', $value)) return true;
а if($this->db_row_update('name', $value)) return true;
preg_replace_callback('/^(https?:\/\/.)(.*)(.\..*)$/',function($m) { return $m[1].str_repeat('*', strlen($m[2])).$m[3]; }, 'http://gooooooogle.com');
owncloudcmd /home/user/folder1 https://cloud.domen.com/owncloud/
owncloudcmd - command line ownCloud client tool
Usage: owncloudcmd [OPTION] <source_dir> <server_url>
A proxy can either be set manually using --httpproxy.
Otherwise, the setting from a configured sync client will be used.
Options:
--silent, -s Don't be so verbose
--httpproxy [proxy] Specify a http proxy to use.
Proxy is http://server:port
--trust Trust the SSL certification.
--exclude [file] Exclude list file
--unsyncedfolders [file] File containing the list of unsynced remote folders (selective sync)
--user, -u [name] Use [name] as the login name
--password, -p [pass] Use [pass] as password
-n Use netrc (5) for login
--non-interactive Do not block execution with interaction
--nonshib Use Non Shibboleth WebDAV authentication
--davpath [path] Custom themed dav path, overrides --nonshib
--max-sync-retries [n] Retries maximum n times (default to 3)
-h Sync hidden files,do not ignore them
--version, -v Display version and exit