Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Friday, November 27th, 2009

< Thursday, November 26th, 2009Raw Log FileSaturday, November 28th, 2009 >
#TimeNickMessage
#00:54:51phasefx__ has quit IRC
#01:01:32phasefx3_ has quit IRC
#01:19:54pmp_nfafk is now known as pmplett
#01:42:15atheos has quit IRC
#01:42:15StephenGWills has quit IRC
#01:42:15senator has quit IRC
#01:42:15moodaepo has quit IRC
#01:42:15lisppaste3 has quit IRC
#02:03:05artunit has quit IRC
#03:20:55artunit has joined #evergreen
#03:20:55atheos has joined #evergreen
#03:20:55StephenGWills has joined #evergreen
#03:20:55lisppaste3 has joined #evergreen
#03:20:55moodaepo has joined #evergreen
#03:20:55senator has joined #evergreen
#03:21:28lcassell has quit IRC
#03:21:30lcassell_ has joined #evergreen
#05:11:50StephenGWills has quit IRC
#05:11:50moodaepo has quit IRC
#05:11:50atheos has quit IRC
#05:11:50senator has quit IRC
#05:11:50lisppaste3 has quit IRC
#05:11:50artunit has quit IRC
#05:13:25artunit has joined #evergreen
#05:13:25atheos has joined #evergreen
#05:13:25StephenGWills has joined #evergreen
#05:13:25lisppaste3 has joined #evergreen
#05:13:25moodaepo has joined #evergreen
#05:13:25senator has joined #evergreen
#07:20:16wlayton has joined #evergreen
#07:28:14alxp has joined #evergreen
#08:30:12mck9 has joined #evergreen
#09:16:05wlayton has quit IRC
#09:16:05StephenGWills has quit IRC
#09:16:05moodaepo has quit IRC
#09:16:05atheos has quit IRC
#09:16:05senator has quit IRC
#09:16:05lisppaste3 has quit IRC
#09:16:05artunit has quit IRC
#09:20:56wlayton has joined #evergreen
#09:20:58senator has joined #Evergreen
#09:21:03artunit has joined #evergreen
#09:21:05moodaepo has joined #evergreen
#09:43:45dbs has joined #evergreen
#09:44:01matt__ has joined #evergreen
#09:44:53dbsMusing out loud: to prevent multiple concurrent checkouts of a given target_copy from occurring (a bandaid solution while we figure out how those concurrent checkouts were triggered via renew in the first place)
#09:46:25dbs... add a unique constraint like action.circulation(target_copy, (COALESCE(checkin_time, 'ONLY ONE CONCURRENT CHECK OUT'))
#10:06:51atheos has joined #Evergreen
#10:09:19sboyette has quit IRC
#10:11:29dbsOr something that actually works: CREATE UNIQUE INDEX only_one_concurrent_checkout_per_copy ON action.circulation (target_copy) WHERE checkin_time IS NULL;
#10:11:46chrissharp123dbs: the multiple concurrent checkouts has been a consistent problem in PINES and is supposed to be corrected in 1.4.0.7 - FYIS
#10:11:50chrissharp123fyi, that is
#10:12:04dbschrissharp123: oh? that's _really_ good to know
#10:12:06chrissharp123only time will tell :-)
#10:12:29dbsseems likely that the same fix will be in 1.6.0.0 then, given that we're still at 1.5.9.conifer :)
#10:12:31chrissharp123it doesn't happen a lot, so I'm glad you caught it
#10:12:51chrissharp123you might ensure that the fix was not "PINES-specific"
#10:12:56dbschrissharp123++ # thanks for letting me know
#10:13:02chrissharp123some of our fixes are considered "client files"
#10:13:09chrissharp123happy to help
#10:13:22dbsyeah, that's why I really hope people use the open bug tracker
#10:14:11dbsI haven't filed this as a bug because I haven't reproduced it on a clean, stable release, but I will - oh I will :)
#10:15:13wlaytondbs: The po files for trunk are available on the launchpad site. But for 1.6, should I be editing the po files under branch/rel_1_6_0 ?
#10:16:20dbswlayton: it's a bit of an evil problem
#10:17:02dbswlayton: if you edit trunk, then I'll roll those files into 1.6.0.1
#10:18:14dbsI suppose we could push rel_1_6_0 and rel_1_6 and rel_1_4_0 and rel_1_4 branches into launchpad and create separate translation branches for those, but that gets complicated really fast.
#10:19:03wlaytondbs: I take it that the "ideal" solution is for strings in "trunk" to get translated as they get added, and then when a branch is created, the new strings are already available...
#10:19:08dbshave I mentioned that I don't really like having so many development branches open at once?
#10:20:29dbswlayton: I'm honestly not sure.
#10:20:55dbsthat would work as long as we never delete strings in trunk, or change their context
#10:21:42wlaytondbs: Well, is it easier to forward-port strings from a branch to trunk, or backport strings from trunk to branches?
#10:21:55wlaytonI'm just trying to avoid duplicating translation work, if possible...
#10:22:20wlayton(laziness being one of the programming virtues)
#10:22:35wlaytonand, er, translaters, too, I guess
#10:23:17dbswlayton: probably easier to forward-port strings from a branch to trunk
#10:23:47dbsbut from rel_1_4_0 to rel_1_4 to rel_1_6_0 to rel_1_6... that's still not clear
#10:23:58dbsmaybe I'm over-thinking it
#10:26:04dbsI guess one advantage of launchpad is that if you translate the strings in trunk, the suggestions for those strings should be available in any of the other releases if those are added to launchpad
#10:32:33kbeswick has quit IRC
#10:32:33cpeach has quit IRC
#10:32:33chrissharp123 has quit IRC
#10:32:33atz has quit IRC
#10:32:33jmeeuwen has quit IRC
#10:32:33senator has quit IRC
#10:32:33alxp has quit IRC
#10:32:33jeff has quit IRC
#10:32:33jamesrf-afk has quit IRC
#10:32:33greg-g has quit IRC
#10:32:33eby has quit IRC
#10:32:33twirlip has quit IRC
#10:32:33AbizzalsX has quit IRC
#10:32:33_dkyle_ has quit IRC
#10:32:33phasefx2 has quit IRC
#10:32:33jeff_ has quit IRC
#10:32:33atheos has quit IRC
#10:32:33moodaepo has quit IRC
#10:32:33wlayton has quit IRC
#10:32:33mck9 has quit IRC
#10:32:33lcassell_ has quit IRC
#10:32:33gmcharlt_ has quit IRC
#10:32:33mrpeters-isl has quit IRC
#10:32:33wjr has quit IRC
#10:33:20kbeswick has joined #evergreen
#10:33:20wjr has joined #evergreen
#10:33:20mrpeters-isl has joined #evergreen
#10:33:20gmcharlt_ has joined #evergreen
#10:33:20lcassell_ has joined #evergreen
#10:33:20mck9 has joined #evergreen
#10:33:20wlayton has joined #evergreen
#10:33:20moodaepo has joined #evergreen
#10:33:20atheos has joined #evergreen
#10:33:20phasefx2 has joined #evergreen
#10:33:20jeff_ has joined #evergreen
#10:33:20_dkyle_ has joined #evergreen
#10:33:25jeff has joined #evergreen
#10:33:29kbeswick has quit IRC
#10:33:43_dkyle_ has quit IRC
#10:33:43jeff_ has quit IRC
#10:33:43phasefx2 has quit IRC
#10:33:47jeff_ has joined #evergreen
#10:33:53senator has joined #evergreen
#10:33:53alxp has joined #evergreen
#10:33:53cpeach has joined #evergreen
#10:33:53atz has joined #evergreen
#10:33:53jmeeuwen has joined #evergreen
#10:33:53chrissharp123 has joined #evergreen
#10:34:29AbizzalsX has joined #Evergreen
#10:34:35jamesrf-afk has joined #evergreen
#10:34:40kbeswick has joined #evergreen
#10:34:41twirlip has joined #evergreen
#10:34:44_dkyle_1 has joined #evergreen
#10:34:52jeff_ is now known as Guest97300
#10:37:44jeff has joined #evergreen
#10:42:59phasefx2 has joined #evergreen
#10:48:07sboyette has joined #evergreen
#11:16:17matt__I've compiled opensrf on an Ubuntu server (karmic), but I can't start it..I get: Global symbol "$prefix" requires explicit package name at /opensrf/bin/opensrf-perl.pl line 30. am I missing a dependency or something?
#11:21:33dbsmatt__: what version of opensrf?
#11:22:19matt__1.2.0
#11:22:34dbscan you paste line 130?
#11:22:37dbserr, line 30?
#11:23:11matt__my $opt_config = "${prefix}/etc/opensrf_core.xml";
#11:40:42eby has joined #evergreen
#11:42:37sboyettedbs: do you know offhand if launchpad supports a concept like Trac's "Components", where things can be filtered by what area of development they involve/effect/impact?
#11:43:22wlaytonmatt__: I suspect that you ran "./configure" instead of "./configure --prefix=/openils --sysconfdir=/openils/conf" before compiling
#11:43:59wlaytonI was able to get the same line 30 as you by doing that, at least.
#11:44:26sboyettei'm coralling my thoughts on testing/qa todos and plans, and i want them somewhere public, but i don't want them getting in the way of regular tickets
#11:44:36sboyettei suppose i could start another instance
#11:44:37eby has quit IRC
#11:44:49eby has joined #evergreen
#11:45:46matt__wlayton: i did, does it depend on being under /openils?
#11:47:40wlaytonmatt__: It shouldn't, but I've never tried it another way yet...
#11:49:22sboyetteclearly something depends on ./configure's 'prefix' argument being explicitly set
#11:49:31sboyettesounds like a bug against the autotools stuff
#11:49:39sboyetteas a starting point, anyhow
#11:49:59wlaytonsboyette: And 'sysconfdir', too
#11:51:25sboyettematt__: wanna do the honors? :) https://launchpad.net/evergreen
#11:51:33matt__i got 1.2.0 to run fine on a debian VM a couple weeks ago using /openils, but this is a VPS someone's set up here for my evergreen experimenting...i was going to put opensrf in /opensrf and evergreen in /openils or /evergreen or something so i can keep straight which components belong to which thing
#11:57:57lisppaste3 has joined #evergreen
#12:15:12jamesrf-afk is now known as jamesrf
#12:17:23dbssboyette: mostly away from keyboard for the next bit, but tagging is certainly supported
#12:18:11dbslooks like that
#12:18:19dbs(tagging) would be the way to go
#12:23:03dbs has quit IRC
#12:31:42brendan_ga has joined #evergreen
#12:31:49sboyetteunsure that i like tagging as a solution. people can enter *anything* as a tag, and the only place they show up is in the tag cloud thinger on the right-hand side of the main bugs page.
#12:32:05sboyetteconsistency is very good in a ticketing system. tagging is generally inconsistent
#12:41:00branflakes has joined #Evergreen
#12:51:26atz has quit IRC
#12:53:15branflakesI just recently did a pg_dump, followed by a pg_restore of my Evergreen database, and some kinds of searches (specifically, ISBN searches) are taking much longer than they used to.
#13:04:55dbs has joined #evergreen
#13:05:46branflakesI thought there might be database cruft, so I VACUUMED, then did a VACUUM FULL on metabib.full_rec, which VACUUM suggested, and then thought it might be an indexing thing so I did REINDEX TABLE metabib.full_rec.
#13:07:51dbssboyette: it's possible to create a set of official tags
#13:08:14dbssboyette: see also "blueprints" for to/dos / planning stuff
#13:08:39dbsbranflakes: are default_statistics set to 100?
#13:09:21dbsby default, they would be 10; if you set them to 100 and run "ANALYZE" then the database planner has a much better idea of the distribution of data
#13:10:18dbssboyette: you might want to try reading https://help.launchpad.net/Bugs before you make up your mind
#13:12:03branflakesdbs: I have a setting called 'default_statistics_target' that's commented out, but has a default value of 10. Is that the one you mean?
#13:12:18dbsbranflakes: ah, yeah, that would be it
#13:12:30dbs(working from brain, which is usually defective)
#13:13:50twirlip has left #evergreen
#13:15:06branflakesdbs: It's just the brain's job to get you close enough to the target for intuition to figure the rest out. dbs++
#13:15:21dbssboyette: see also https://dev.launchpad.net/LaunchpadBugTags for an example of official tags, with links to queries for bugs with specific tags
#13:15:41dbsbranflakes: increment me if your problem is actually solved :)
#13:16:12dbsbranflakes: any plans for a BC-area mini-conference or the like in the spring?
#13:17:04branflakesWell, dbs-- for now, then.
#13:17:23dbs would like an excuse to travel west
#13:23:39branflakesThe BC Library Association conference is happening the same week as Grand Rapids, otherwise we'd have up with a reason to get you out here
#13:23:53branflakesMaybe we can bring you out to teach your developer's workshop.
#13:24:56dbsugh. BCLA conflicts with EGCon, OLA conflicts with code4libcon... damn provinces
#13:27:42eby has quit IRC
#13:27:59dbsbranflakes: if you opt for egcon, we'll have to coordinate our ghetto hotel stays
#13:28:39branflakeshaha: government has cut back on travel, but I'm going to try and make it anyway
#13:34:56jamesrfi would love to have a pnw eg hackfest or unconference
#13:46:59sboyettetweaked the bot doc from a bit, btw. added a chunk on the message-passing stuff, and some general cleanups.
#14:10:04brendan_ga has quit IRC
#14:12:47mck9 has quit IRC
#14:26:24brendan_ga has joined #evergreen
#15:05:53alxp has quit IRC
#15:15:15branflakesdbs: setting default_statistics_target, reloading and doing an analyze of the full database didn't change the performance at all.
#15:15:59dbsbranflakes: see? no increment deserved
#15:17:05dbsbranflakes: is that on just the initial query for a given index, or if you do 10 queries in a row on the same index (say, the author index), do things get faster as the filesystem caches the indexes?
#15:20:16alxp has joined #evergreen
#15:20:28matt__so, i rebuilt osrf and installed under /openils, now it gives me a new error when trying to load
#15:20:37matt__Can't call method "documentElement" on an undefined value at /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsParser.pm line 39.
#15:21:11sboyettedbs: i'm all for a separate OpenSRF instance in launchpad. it needs more standalone, and that's where most of my initial plans are targeted anyhow :)
#15:21:54matt__i did run the dependency script with ubuntu-intrepid, being the closest to karmic, not sure if that might cause problems?
#15:23:32natschil has joined #evergreen
#15:24:25dbssboyette: cool, I'll set one up then
#15:25:00dbsmatt__: ah, OpenSRF 1.2.0 won't work with karmic
#15:25:52matt__dbs: will any version of osrf?
#15:25:56dbsyou'll need to check out either OpenSRF trunk or OpenSRF rel_1_2 branch, or apply some patches manually to 1.2.0, to make it work, as we haven't packaged up a release of OpenSRF in 4 months
#15:26:02matt__ah
#15:26:08dbssorry :(
#15:27:08matt__np, i don't mind checking it out from svn(?)...i thought the 1.2.0 tarball was more recent
#15:27:24natschildbs: is ejabberd from the karmic repos fine for opensrf?
#15:27:46branflakesdbs: It fails the eyeball test - that is, both the initial query and a subsequent query seconds after the first completes are both slow. I am doing two runs under 'time' to determine whether the timing is actually different much.
#15:27:50dbsnatschil: it's fine, for opensrf trunk or rel_1_2
#15:27:56matt__i'm going to go complain to my sys admin for not using debian ;)
#15:28:11wlaytonHas anyone seen a message from me on -dev in the past hour or so? It isn't appearing the in archives and I'm wondering if it got filtered.
#15:28:49dbswlayton: I have seen nothing from you
#15:28:56sboyettewlayton: nope
#15:29:10branflakesmatt__: when installing from svn (definitely trunk, and possibly rel_1_2), you need to run autogen.sh in the root of the project to generate the autoconf files.
#15:29:11wlaytonThanks. I'll re-send.
#15:29:50dbsmatt__: yeah, in addition to what branflakes said, the bottom of the README in the root dir has some developer instructions
#15:29:57branflakesThat got me caught up the first time, because Evergreen already has an autogen.sh that does something very different :)
#15:30:34branflakesdbs: the second run was actually slightly slower.
#15:30:39branflakes[by about a second]
#15:30:44matt__branflakes: yep, thanks :) come to think of it, i might have installed the trunk on the debian VM i was playing with
#15:30:55sboyettespeaking of opensrf releases, i got instructions from miker_ late wednesday on how to roll opensrf/openils tarballs. i'm working on it now.
#15:31:06natschilbtw, does anyone know what could be slowing down evergreen (1.6)? After installing it, it was really fast, but now it seems to have slowed down after cataloging books for several months....my prime suspect at the moment is large log files, but as I haven't been at the server for a while I can't check...any other thoughts as to what could be causing the problem so that I can go through them when I do check?
#15:31:11sboyette(nightlies, not an official release)
#15:31:53natschilsboyette: wouldn't it be easier to checkout svn and then just svn up and compile & install?
#15:32:16sboyettenatschil: i tend to agree, but i have my orders :)
#15:32:22dbsbranflakes: bizarre
#15:33:04dbsbranflakes: I assume the exact same query is lightning fast?
#15:33:40natschilcould not running autogen.sh for a while cause any issues?
#15:33:48alxp has quit IRC
#15:34:05sboyettenatschil: if the Makefile.am's have changed under you, yes
#15:34:19matt__wait wait, so eg has another autogen.sh file that doesn't build a configure script? what does it do?
#15:34:40natschilsboyette: sorry, I mean /openils/bin/autogen.sh
#15:35:18natschilmatt__: I think it does various things...you need to run it if you update the fieldmapper or the org units.
#15:36:11dbsall in favour of renaming /openils/bin/autogen.sh to /openils/bin/update_config.sh? and/or renaming root dir autogen.sh to bootstrap? :)
#15:36:16branflakesmatt__: Among other things it generates static content that is used in the OPAC for org unit selection, and can be used to calculate orgunit proximity for holds routing.
#15:36:34branflakesdbs: those two runs were the exact same query.
#15:36:35natschilupdate_config.sh++ #autogen.sh is too ambigous
#15:37:00dbsbranflakes: that's nutty. is memcached running?
#15:37:47branflakesYes, otherwise user sessions wouldn't work, right?
#15:38:06natschil has quit IRC
#15:41:17branflakesI also see the same behaviour on one of the test databases we're using to test our migration to 1.6 and PG 8.3, so it's not just the result of (one) bad database dump or restore.
#15:41:59dbsbranflakes: hmm. well, if an identical query is returning slow, it sounds less like a postgresql problem and more like a problem elsewhere in the stack - because results for an identical query should just get pulled straight from memcached
#15:42:58dbsof course, I'm not sure how you're running the queries. obviously a query via psql has no idea about memcached
#15:43:43dbssboyette: might be worthwhile dumping those build instructions into a wiki page
#15:45:20branflakesNo, sorry, those were direct queries through psql.
#15:46:39dbsbranflakes: hmm. did you paste the query that you're running?
#15:48:00lisppaste3branflakes pasted "Three Minute SQL" at http://paste.lisp.org/display/91173
#15:49:43dbsbranflakes: are you coming from 1.2 to 1.6? one change is that metabib.full_rec became a view on metabib.real_full_rec
#15:50:02dbswould be useful to see the EXPLAIN of that as well
#15:50:18dbse.g. EXPLAIN SELECT ...
#15:50:35branflakesYeah, sorry, I sent that stuff off to ESI last night, but they're closed or shortstaffed for Yankee Turkey Day.
#15:51:15dbsshouldn't make a difference, but try f.value = instead of f.value LIKE (as you have no wildcards there)
#15:52:19lisppaste3branflakes annotated #91173 "Three Minute SQL, Explained" at http://paste.lisp.org/display/91173#1
#15:53:08lisppaste3dbs annotated #91173 "EXPLAIN from Conifer's database (postgresql 8.3)" at http://paste.lisp.org/display/91173#2
#15:53:08branflakesdbs: The second explain is from one of our testing databases, made from an earlier pg_dump-and-restore of our production system.
#15:54:43branflakesdbs: we're experiencing this problem in both our 1.2-to-1.6 migrated database, and our 1.2-to-1.2-dumped-and-restored database.
#15:54:48branflakesAll the examples are from 1.2.
#15:56:25dbsthe plan looks almost identical, with the exception of the full_rec vs. real_full_rec change
#15:58:01dbswow. if I change my query to point at real_full_rec instead of full_rec, the cost goes up insanely high
#16:01:30dbsbranflakes: I'd like to see the plan from your 1.6 migrated database
#16:03:19lisppaste3branflakes annotated #91173 "1.2-to-1.6-migration explains" at http://paste.lisp.org/display/91173#3
#16:03:24dbsalso, do these databases have locale=C?
#16:03:33dbsdatabase clusters, rather
#16:03:38branflakesI don't even know how to determine that
#16:07:03brendan_ga has quit IRC
#16:07:43dbstry " show LC_CTYPE;"
#16:09:14branflakesNow we're getting somewhere!
#16:10:21branflakesThe still-fast non production databases have LC_CTYPE 'C', but all the Ubuntu databases have LC_CTYPE 'en_CA.UTF-8'.
#16:13:20levani_el has joined #evergreen
#16:13:26levani_elhello
#16:13:40levani_eli have question about fixed field in marc editor
#16:14:03matt__woot, got osrf trunk working on karmic :D
#16:14:33levani_elwhen i click right click on mouse i see empty list and when chenge any letters in fixed field nothing changing
#16:14:58levani_elmay i add letters in manually?
#16:16:09levani_eland add letters in list?
#16:19:30dbsbranflakes: yes, that would make a big difference
#16:20:07dbsyou will need to add a text_pattern_ops index on metabib.full_rec.value if you're going to use a locale other than 'C'
#16:20:51dbsthat will enable your database to actually use an index, rather than scan every row in the database
#16:21:22dbsCREATE INDEX metabib_full_rec_value_tpo_index ON metabib.real_full_rec (substring(value,1,1024) text_pattern_ops);
#16:21:33dbsmatt__++
#16:21:58dbslevani_el: sorry, I'm not very good with the fixed fields :(
#16:22:35levani_eli use marc templates all works good...but need change something
#16:22:37dbsbranflakes: maybe we should add the results of SHOW LC_TYPE to settings-tester.pl
#16:22:40levani_elwho answer me?
#16:22:54dbsfwiw - we use en_US.UTF8 in Conifer, but we're evil
#16:23:49dbs prepares his invoice for handling equinox's support :)
#16:23:56matt__hey, before i bugger off for the weekend, anyone have any good suggestions/resources for learning about perl? i have learning perl and perl cookbook at home, but they're both about 9 or 10 years old...not sure how relevant they are anymore
#16:25:04dbsmatt__: a lot of the basics are still relevant, although I have to admit to a fondness for Programming Perl 3rd edition
#16:25:48dbs(which was published in 2000, geez)
#16:26:07matt__hah i think that's written by the same author as learning perl
#16:26:23matt__it's the thicker o'reilly perl book
#16:26:25dbsrandall schwartz? yeah
#16:26:48dbschromatic, who blogs at http://modernperlbooks.com/mt/index.html, has a book in progress that is (as the hostname promises) modern
#16:27:16dbsyou'll also find a lot of chromatic posts on perlmonks.org
#16:27:49dbshttp://github.com/chromatic/modern_perl_book
#16:28:51matt__awesome, added to delicious
#16:29:03matt__thanks, dan :)
#16:29:25branflakesdbs: Maybe we should change the default install instructions to call createdb -E UNICODE --lc-ctype C evergreen_database instead of letting the fates choose for us.
#16:29:41levani_elmister dan who give me answer about mark and staff client work?
#16:32:22dbsbranflakes: it's actually at the initdb level
#16:32:54dbsinitdb --locale=C
#16:33:05dbsfrom whence you create your databases
#16:33:39branflakesIs that possibly a debian-ism.
#16:33:41branflakes?
#16:33:59branflakesI've never called initdb anywhere that I know of
#16:36:06dbsbranflakes: yep, debian / ubuntu invoke it automatically when you install postgresql
#16:36:12matt__ has quit IRC
#16:36:21dbsnow, with postgresql 8.4 you can set --lc-type as part of createdb
#16:36:24branflakesYeah, I see what you mean now.
#16:36:40dbslevani_el: sorry, if nobody is answering you here, perhaps you'll have more luck on the mailing list
#16:37:01dbslevani_el: many of the people that would normally be here are on vacation (it's a holidy in the United States)
#16:37:19levani_elthank mister dan
#16:37:47branflakesdbs: i was reading the 8.4 docs instead of 8.3, that's where the confusion came from.
#16:38:50dbsbranflakes: we should make it more visible in the documentation, but as of 1.4 or 1.6 I added the text_pattern_ops indexes that should (largely) restore the performance hits
#16:41:26branflakesdbs: did you add them very recently? As in: are they only in svn, or a packaged release?
#16:41:39dbsbranflakes: should be in 1.4, lemme look
#16:41:42branflakesBecause I am experiencing the same issues on a 1.6 database.
#16:42:23miker_dbs: ha ... also, fwiw, I have always advocated (lists, on the wiki at one time) using --locale=C, and I always do that myself, to avoid the issues branflakes is seeing now. it should also make multi-language colation easier (by removing one layer of complication/confusion)
#16:42:25dbsthey're in rel_1_4_0
#16:42:34dbsmiker_: I know, I know
#16:42:38miker_(ha to the invoice, I mean)
#16:42:47dbs:)
#16:43:16dbsbranflakes: can you run \d on metabib.real_full_rec on your 1.6 database?
#16:44:27branflakesI take it back, it is about 4 times faster.
#16:44:27dbsmiker_: it's the tension in the docs between making evergreen as easy as possible to install and play with (single-server scenario) vs. optimized for performance for production
#16:44:50dbsbranflakes: heh, so only 45 seconds then?
#16:44:57branflakesYes.
#16:45:16dbswould certainly be interesting to compare on the same hardware with the cluster init'ed to locale=C
#16:45:33dbscause I know you have all kinds of time :)
#16:45:34branflakesYeah, I'm going to try that as tonight's attempt at a fix. :)
#16:45:56miker_dbs: oh, I understand ... the problem is that we've (well, I've) been seeing lots of problems cause by non-unicode distro-initdb'd clusters
#16:46:40dbswow, non-unicode? that's really ugly.
#16:46:49miker_particularly on debian, where the default system encoding seems to be latin1
#16:47:06dbshuh, certainly wasn't for us (not on debian lenny, anyway)
#16:47:52brendan_ga has joined #evergreen
#16:48:11miker_the user logs in to a shell where it's configured for latin1, su's to root (no -, still latin1) and uses apt-get to install PG, which causes initdb to run, and by default there's no encoding specified ... so guess what's used for initdb? :(
#16:49:46miker_or, that's as close as I can get to a root-cause scenario... I get that about once a month
#16:50:03dbsah, silly people not using su - :)
#16:51:32dbssounds like it would be worth restoring the initdb command, and whatever else is necessary to make the right things happen on ubuntu and debian
#16:52:40levani_el has quit IRC
#17:32:03wlayton has quit IRC
#17:32:07pmplett is now known as pmp_hurly
#17:35:02jeffdavis has joined #evergreen
#18:05:30dbs has quit IRC
#19:36:06jamesrf is now known as jamesrf-afk
#20:59:43pmp_hurly is now known as pmplett
#21:00:54jeffdavis has left #evergreen
#21:33:10jamesrf-afk is now known as jamesrf
#22:26:57jamesrf_ has joined #evergreen
#22:27:21jamesrf_ is now known as james----
#22:27:40jamesrf is now known as james-na
#22:27:44james---- is now known as jamesrf
#22:45:33jamesrf has left #evergreen
< Thursday, November 26th, 2009Raw Log FileSaturday, November 28th, 2009 >