* "temporary unavailable" in mysql
@ 1998-08-11 8:39 Michal Jaegermann
0 siblings, 0 replies; only message in thread
From: Michal Jaegermann @ 1998-08-11 8:39 UTC (permalink / raw)
To: axp-list
I am trying to get up and running mysql-3.21.33 on Linux/Alpha (updated
RH 5.1, glibc-2.0.7-19, kernel 2.0.35). Things generally seems to be
in a reasonable shape with one exception. When running 'select' test
things practically stop during attempts of "range" selects.
Attaching 'strace' to the process creates immediately megabytes of
output, but it looks like that the whole thing is looping with the
following pattern:
......
read(3, "\1C\0049998\0011\00294", 12) = 12
read(3, "\f\0\0\254", 4) = 4
read(3, "\1D\0049999\0010\00297", 12) = 12
read(3, "\1\0\0\255", 4) = 4
read(3, "\376", 1) = 1
brk(0x120460000) = 0x120460000
sigprocmask(SIG_BLOCK, []) = 0 (old mask [])
sigprocmask(SIG_BLOCK, []) = 0 (old mask [])
sigprocmask(SIG_BLOCK, []) = 0 (old mask [])
fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
read(3, 0x12032df20, 8192) = -1 EAGAIN (Resource
temporarily unavailable)
fcntl(3, F_SETFL, O_RDONLY) = 0
write(3, "\221\23\0\0\3select * from bench"..., 5013) = 5013
read(3, "\1\0\0\1", 4) = 4
read(3, "\4", 1) = 1
read(3, "\30\0\0\2", 4) = 4
read(3, "\6bench1\6region\3\1\0\0\1\376\3"..., 24) = 24
read(3, "\24\0\0\3", 4) = 4
......
Output file (from a slow Alpha :-) contains the following gem:
Time for select_big (70): 4 secs ( 1.12 usr 0.26 sys = 1.37 cpu)
Note: The query took longer then time-limit: 600; Estimating end time
based on: 246 queries in 6 loops of 10 loops took 610 seconds
Estimated time for select_range (410): 1016 secs
^^^^^^
(70.24 usr 17.08 sys = 87.33 cpu)
In comparison with other results this "1016 secs" should be something
between 25 and 30 seconds.
Does this ring a bell with anybody?
Thanks,
Michal
p.s. Fixes recommended for glibc-2.0.7 on mySQL "home site", i.e.
www.tcx.se, are already included in glibc-2.0.7-19.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-08-11 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-11 8:39 "temporary unavailable" in mysql Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox