I have been working with tpch and i have been executing the powertest which consists in 22 queries beng executed in a database of a factor choosen by you which is used to create the database.
I have used the factor 1 which is of 1gb and what is happening is that on mysql it takes 30 minutes to execute the 22 queries and on the sql server it takes 17 seconds to execute the 22 queries. Dont know why the overhead is over 100 and dont know which steps to take now to try explain this in my work.
i have tried changing the queries, using only the command line to execute and also using the indexes and the explain command to analyse and nothing works. I dont understand why a full table scan in a query it takes 1min and on sql server it takes 3 seconds...