我要评分
获取效率
正确性
完整性
易理解

Performing a TPC-H Test

  1. Log in to the MySQL client.
    1
    /usr/local/mysql/bin/mysql -uroot -p123456
    

  2. In MySQL Database, select the database for the TPC-H test.
    1
    use tpch;
    

  3. Select and import the .sql file in the MySQL database for testing.
    1
     \. /home/tpch-pq/2.18.0_rc2/saveSql/1.sql
    

    In the last line of the query result, 16.95 sec indicates the time used for the query.