-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQL Heatwave TPROC-H support #483
Conversation
Fixed query insertion with exec Added engine override for initial schema in Heatwave
Modify engine change to higher caller
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This runs fine on a regular MySQL instance but prints an error that says the performance_schema.rpd_table_id does not exist when identifying the storage engine.
Request an update to fall back to query information_Schema.tables in case the first query fails. An example I have tested with the preferred outcome is below.
if { [ tsv::get application abort ] } { break }
catch {set engine [ join [ mysql::sel $mysql_handler "SELECT case when count(NAME) = 8 then 'Heatwave' else 'InnoDB' end as hw_loaded_all FROM performance_schema.rpd_table_id where NAME like '$db.%'" -list ] ]}
if { $mysqlstatus(code) } {
catch {set engine [ join [ mysql::sel $mysql_handler "select distinct(engine) from information_Schema.tables where table_schema = '$db'" -list] ]}
}
if { $mysqlstatus(code) } {
set engine ""
}
set start [ clock seconds ]
@sm-shaw code updated |
Have retested after changes on an innodb storage engine installation and build and test runs without warning messages |
Closes #482
This PR adds MySQL Heatwave data generation and benchmarking support.