Once the table has been created and data get loaded. The table need to be disabled in case we need to make any changes or to drop it.
In last tutorial , we have created a table called 'player'. We will disbale and see how it will behave in case we will fire a query.
Basic syntax to disable a table:-
disable 'tablename'
Now, we will check whether we can able to scan it or not.
We can clearly see that the table has been disabled and we cannot scan it more.
However , we can still find the table using the list command.
We can validate whether a table has been disabled or not by using the is_disabled command.
We can disable a group of tables using the below command.We need to use the REG exp to disable the table having some pattern.
In last tutorial , we have created a table called 'player'. We will disbale and see how it will behave in case we will fire a query.
Basic syntax to disable a table:-
disable 'tablename'
Now, we will check whether we can able to scan it or not.
We can clearly see that the table has been disabled and we cannot scan it more.
However , we can still find the table using the list command.
We can validate whether a table has been disabled or not by using the is_disabled command.
We can disable a group of tables using the below command.We need to use the REG exp to disable the table having some pattern.
No comments:
Post a Comment