00:04
lgierth has quit [Quit: Ex-Chat]
00:30
<
rtyler >
if you add an index to a property after the fact, is there any way to get DM to create the index on an already migrated DB?
03:00
zombor has quit [Remote host closed the connection]
03:44
alessand2o has quit [Ping timeout: 272 seconds]
03:44
alessandro has joined #datamapper
04:00
zombor has joined #datamapper
04:05
zombor has quit [Ping timeout: 240 seconds]
05:00
zombor has joined #datamapper
05:05
zombor has quit [Ping timeout: 265 seconds]
06:15
dkubb has joined #datamapper
06:36
skade has joined #datamapper
06:59
skade has quit [Quit: Computer has gone to sleep.]
07:00
zombor has joined #datamapper
07:05
zombor has quit [Ping timeout: 240 seconds]
07:24
mbj has joined #datamapper
07:42
mbj has quit [Ping timeout: 264 seconds]
07:51
skade has joined #datamapper
07:54
mbj has joined #datamapper
08:00
zombor has joined #datamapper
08:04
zombor has quit [Ping timeout: 240 seconds]
09:00
zombor has joined #datamapper
09:05
zombor has quit [Ping timeout: 265 seconds]
09:24
mikecmpbll has joined #datamapper
09:37
mbj has quit [Ping timeout: 265 seconds]
09:43
mikecmpbll has joined #datamapper
10:00
zombor has joined #datamapper
10:05
zombor has quit [Ping timeout: 272 seconds]
10:21
postmodern has quit [Quit: Leaving]
10:21
rsim has joined #datamapper
10:34
zombor has joined #datamapper
10:55
zombor has quit [Remote host closed the connection]
11:14
zombor has joined #datamapper
12:00
mikecmpbll has joined #datamapper
12:12
lgierth has joined #datamapper
12:33
zombor has quit [Ping timeout: 240 seconds]
12:33
lgierth has quit [Quit: Ex-Chat]
13:22
zombor has joined #datamapper
13:22
zombor has joined #datamapper
13:22
zombor has quit [Changing host]
14:00
mikecmpbll has joined #datamapper
14:32
skade has joined #datamapper
14:38
knowtheory has quit [Quit: Computer has gone to sleep]
14:38
knowtheory has joined #datamapper
14:41
akasper has joined #datamapper
14:43
knowtheory has quit [Ping timeout: 246 seconds]
15:26
knowtheory has joined #datamapper
15:30
akasper has quit [Quit: Leaving.]
15:31
akasper has joined #datamapper
15:51
rsim has quit [Quit: Leaving.]
15:51
mbj has joined #datamapper
15:58
mbj has quit [Ping timeout: 240 seconds]
16:06
mbj has joined #datamapper
16:06
akasper1 has joined #datamapper
16:09
akasper has quit [Ping timeout: 272 seconds]
16:29
mikecmpbll has joined #datamapper
17:05
mbj has quit [Ping timeout: 240 seconds]
17:23
mbj has joined #datamapper
17:43
mbj has quit [Read error: Connection reset by peer]
17:44
skade has quit [Quit: Computer has gone to sleep.]
18:44
mbj has joined #datamapper
18:58
postmodern has joined #datamapper
19:12
<
namelessjon >
rtyler: No, you need to write a migration or otherwise do it yourself. auto_upgrade! doesn't add indices.
19:13
<
rtyler >
I started to piece that together, what I haven't found yet is the documentation for writing an index adding migration
19:18
cloaked1 has joined #datamapper
19:18
<
cloaked1 >
how can one tell datamapper to use persistent mysql connections?
19:19
<
cloaked1 >
seems like I'd have to use #adapter
19:32
<
rtyler >
what do you mean by persistent mysql connections/
19:32
<
rtyler >
as in, a connection pool
19:34
<
cloaked1 >
I need to keep my connections open with the backend...
19:34
<
rtyler >
IIRC the `do` gem already does some connection pooling
19:34
<
cloaked1 >
ah, really? Is it configurable for say, timeouts?
19:34
<
rtyler >
not really
19:34
<
rtyler >
it's kind of obtuse IMO
19:35
<
cloaked1 >
and I would like to be able to configure how many concurrent persistent connections are up, too.
19:35
<
namelessjon >
Not really. But yeah, if you keep connections in use, it will recycle them.
19:35
<
cloaked1 >
namelessjon: any idea how long they persist before they die?
19:36
<
cloaked1 >
I'm assuming you mean by "recycle" that they are used again...?
19:36
<
cloaked1 >
My problem is that we are using too many connections to the DB and the DB is denying connections and therefore killing the app.
19:37
<
cloaked1 >
but that's because of the amount of requests coming in for the web app and causing new db connections.
19:37
<
namelessjon >
cloaked1: Yeah.
19:37
<
cloaked1 >
I have ~640K connections that will come in within an hour timeframe.
19:37
<
cloaked1 >
no bueno for a DB backend.
19:38
<
cloaked1 >
googling this, though, seems odd. I can't really find a lot of support ofr this even in the lower-level libraries like mysql2.
19:39
<
cloaked1 >
unless Mysql2::Client::MULTI_STATEMENTS is like a bastardized method of doing it... ??
19:40
<
cloaked1 >
:reconnect => true to the #client in mysql2 does it...apparently.
19:42
<
cloaked1 >
so now, I'm wondering...is there a way to pass parameters to the lower level layers with dm?
20:07
mbj has quit [Ping timeout: 241 seconds]
20:20
cloaked1 has quit [Quit: Page closed]
20:32
dkubb has joined #datamapper
20:38
zombor has quit [Remote host closed the connection]
20:38
Eiam has quit [Ping timeout: 260 seconds]
20:43
Eiam has joined #datamapper
20:54
lgierth has joined #datamapper
20:54
mikecmpbll has joined #datamapper
21:07
shingara has quit [*.net *.split]
21:14
shingara has joined #datamapper
21:21
zombor has joined #datamapper
21:51
stepheneb has joined #datamapper
21:54
Cinchy_ is now known as Cinchy
21:56
knowtheory has quit [Quit: Computer has gone to sleep]
21:56
knowtheory has joined #datamapper
22:02
knowtheory has quit [Ping timeout: 272 seconds]
22:02
lgierth has quit [Quit: Ex-Chat]
22:14
rsim has joined #datamapper
22:29
knowtheory has joined #datamapper
22:38
zombor has quit [Ping timeout: 248 seconds]
22:54
zombor has joined #datamapper
23:05
rsim has quit [Quit: Leaving.]
23:31
skade has joined #datamapper
23:32
skade has quit [Client Quit]