Printing out of Adobe Lightroom

Posted by Doomshammer on Wednesday, March 14. 2007 at 11:00 in Anwendungen, Computer, English only, Thoughts

This is how it looks like, when you are printing >200 contact sheet photos out of Adobe Lightroom ;-)
(Point your eye to the size in the print spooler ;-) ) *sigh*



There are moments...

Posted by Doomshammer on Friday, February 9. 2007 at 19:18 in Arbeit, Duennpfiff, English only, Privat, Thoughts

There are moments when you just shake you head, as you don't get it...

Why indices are good

Posted by Doomshammer on Thursday, February 8. 2007 at 08:52 in Anwendungen, Arbeit, Computer, English only, Thoughts
I just saw that someone created a view on one of my DBs (statistics DB) to get the top IP that did requests to a webserver (over the last 10 minutes). The view looks like this:
QUOTE:
SELECT xxxxxx.remote_address AS "Remote Host", count(1) AS "Hits"
   FROM apache.xxxxxx
  WHERE xxxxxx.logdate > (now() - '00:10:00'::interval)
  GROUP BY xxxxxx.remote_address
  ORDER BY count(1) DESC;


No problem with it (at least not with the query). But I noticed that the load was unexpectedly when the view was executed. So I had a look that the query plan for this view:
QUOTE:
Sort  (cost=46678.83..46678.84 rows=1 width=17) (actual time=32655.224..32655.227 rows=1 loops=1)
   Sort Key: count(1)
   ->  HashAggregate  (cost=46678.81..46678.82 rows=1 width=17) (actual time=32655.065..32655.070 rows=1 loops=1)
         ->  Seq Scan on xxxxxxx  (cost=0.00..46678.49 rows=64 width=17) (actual time=32654.736..32654.877 rows=6 loops=1)
               Filter: (logdate > (now() - '00:10:00'::interval))
 Total runtime: 32655.806 ms


Full table-scan? WTF?! What an idiot!!!11XI!

So I quickly created an index on the logdate for that table and what's the result? Correct....:
QUOTE:
Sort  (cost=7.21..7.22 rows=1 width=17) (actual time=13.703..13.706 rows=1 loops=1)
   Sort Key: count(1)
   ->  HashAggregate  (cost=7.19..7.20 rows=1 width=17) (actual time=13.293..13.296 rows=1 loops=1)
         ->  Index Scan using xxxxxxx_idx_timestamp on xxxxxxxx  (cost=0.00..6.87 rows=64 width=17) (actual time=13.027..13.145 rows=6 loops=1)       
               Index Cond: (logdate > (now() - '00:10:00'::interval))
 Total runtime: 14.206 ms
(6 rows)


Mental note to myself...

Posted by Doomshammer on Friday, February 2. 2007 at 00:20 in Anwendungen, Computer, English only, Privat, Thoughts
...don't try to create indices at night (0.20h am) and wonder why it does not catch. I'm such a moron! D'Oh!

*ouch*

Posted by Doomshammer on Tuesday, January 23. 2007 at 00:44 in Computer, English only, Sonstiges, Web

Looks like google.de has been taken over:
(Ok, the nameserver entries have already been corrected - owner/admin-c is still the same)

QUOTE:
# ping www.google.de
PING web1.goneo.de (82.100.220.170) from xxx.xxx.xxx.xxx : 56(84) bytes of data.
64 bytes from web1.goneo.de (82.100.220.170): icmp_seq=1 ttl=60 time=1.35 ms
64 bytes from web1.goneo.de (82.100.220.170): icmp_seq=2 ttl=60 time=1.46 ms
64 bytes from web1.goneo.de (82.100.220.170): icmp_seq=3 ttl=60 time=1.39 ms
64 bytes from web1.goneo.de (82.100.220.170): icmp_seq=4 ttl=60 time=1.33 ms

Calendar

Back May '13
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

Not for Sale!

This blog is not for sale!

Latest twitter

Latest Photos

ERROR: The HTTP server returned the error or the warning(result:403).

Getaggte Artikel

Buttons

Ich bin ein Dokuleser
Get OpenSolaris
Gimme a Smile
neessen.net - Webhosting
I'm a blogger!
Lebst Du noch oder oarks Du schon?
last.fm
trnd - be trendy
I hear Metal
Visit GeoURL
Powered by Linux
Zsh lover
VIM! The Editor
Get Firefox
Ihr, nicht ich!
My amazon wishlist

BLOGROLL