RE: Triggers

2013-05-10 Thread Rick James
Triggers "use" whatever code you put in them. Recommendations for what? > -Original Message- > From: Aastha [mailto:aast...@gmail.com] > Sent: Friday, May 10, 2013 11:55 AM > To: mysql@lists.mysql.com > Subject: Triggers > > If triggers use complex business rules and large transaction. >

RE: Slow Response -- What Does This Sound Like to You?

2013-05-10 Thread Rick James
A bit more readable: select (mod(dayofweek(`Query1`.`Appointment_Date`)+7-1,7)), {fn CONCAT({fn CONCAT({fn CONCAT(cast(extract(hourfrom `Time_Difference_Query`.`Created_Date`) as char(25)),':')}, cast(extract(minute from `Time_Difference_Query`.`Created_Date`) as char(25)))},':')},

Re: Triggers

2013-05-10 Thread Michael Dykman
Your question is far too vague to answer. What are your requirements? What considerations are you worried about? On Fri, May 10, 2013 at 2:55 PM, Aastha wrote: > If triggers use complex business rules and large transaction. > What would we be recommendations? > I need three possible ways. > >

Triggers

2013-05-10 Thread Aastha
If triggers use complex business rules and large transaction. What would we be recommendations? I need three possible ways. Thanks,

RE: [>Suspected Spam<][Characteristics] RE: Slow Response -- What Does This Sound Like to You?

2013-05-10 Thread Robinson, Eric
> > 1. MyISAM locks _tables_. That can cause other connections > to be blocked. Solution: switch to InnoDB. Caution: There > are a few caveats when switching; see > https://kb.askmonty.org/en/converting-tables-from-myisam-to-innodb/ > > 2. As mentioned by Shawn, the Query Cache can be more