Re: Add index for mysql table with ndbcluster storage engine
Thank jon,
i am (ssh)logged into the sqlnode itself. I dont know why im not able to run ddl statement on database thats in use..here to be more specific "add index to a table". when i create a new database and dump the sql from working db i can successfully create indexes.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| prod_db |
| prod_db_test_new |
mysql> use prod_db_test_new;
mysql> alter table `sks_staff_office` add index `pid_index` (pid);
Query OK, 0 rows affected (0.08 sec)
Records: 0 Duplicates: 0 Warnings: 0
Subject
Views
Written By
Posted
1943
May 28, 2016 10:54PM
1084
May 29, 2016 10:57PM
962
June 01, 2016 12:44AM
920
June 01, 2016 10:44PM
961
June 09, 2016 02:57AM
Re: Add index for mysql table with ndbcluster storage engine
926
June 10, 2016 05:32AM
839
June 10, 2016 05:40AM
Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.