rasqlinsert Feature Request
Carter Bullard
carter at qosient.com
Mon Apr 25 15:43:52 EDT 2011
Hey Leif,
Have you implemented this for rasqlinsert()? Should be just a change on line 8321 from
"TYPE=MyISAM" to "ENGINE=ndb" ?
So, I can add a variable to .rarc and a command line mode using the "-M " type of configuration.
So, "MYSQL_DB_ENGINE=", would trigger the use of "ENGINE=%s", where %s is whatever
they set the variable to? And "-M mysql_engine='ndb'" would do the same thing?
Would that do it? Other options?
I'm trying to find what version made the change to ENGINE rather than TYPE, so I can put
a test for the version and make the change when creating tables.
Carter
On Apr 25, 2011, at 2:47 PM, Leif Tishendorf wrote:
> Hey Carter,
>
> I was wondering if it would be possible to have a command line switch to select the type of mysql engine to use for the table creation? Default to MYISAM, but have the ability to explicitly call the DB engine.
>
> This would be nice for a couple of reasons:
>
> 1) Currently rasqlinsert uses TYPE which is not supported in 5.5 and later.
>
> 2) We would like to use mysql clustering since we have a huge volume of daily flows, and the only change required is that you feed the table creation string an ENGINE=ndb.
>
> We could write our own ra wrapper but thought others might find the flexibility useful as well.
>
> Thanks,
>
> --Leif
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4367 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20110425/80d04d76/attachment.bin>
More information about the argus
mailing list