Vertica Analytics Platform Version 10.0.x Documentation
Deletes a network address from the catalog. A network address is a name for a IP address and port on a node for use in connection load balancing policies.
DROP NETWORK ADDRESS [ IF EXISTS ] address‑name [ CASCADE ]
Specifies not to report an error if the network address to drop does not exist. Use this clause in SQL scripts to avoid errors on dropping non-existent objects before attempting to create them.
Name of the network address to drop.
Removes the network address from any load balancing groups that target it. If you do not supply this keyword and one or more load balance groups include this address, this statement fails with an error message.
The following statement demonstrates the error you get if the network address has a dependent load balance group, and the use of the CASCADE keyword:
=> DROP NETWORK ADDRESS node01; NOTICE 4927: The LoadBalanceGroup group_1 depends on NetworkInterface node01 NOTICE 4927: The LoadBalanceGroup group_random depends on NetworkInterface node01 ROLLBACK 3128: DROP failed due to dependencies DETAIL: Cannot drop NetworkInterface node01 because other objects depend on it HINT: Use DROP ... CASCADE to drop the dependent objects too => DROP NETWORK ADDRESS node01 CASCADE; DROP NETWORK ADDRESS
- About Connection Load Balancing Policies
- ALTER LOAD BALANCE GROUP
- ALTER NETWORK ADDRESS
- ALTER ROUTING RULE
- CREATE LOAD BALANCE GROUP
- CREATE NETWORK ADDRESS
- CREATE ROUTING RULE
- DROP LOAD BALANCE GROUP
- DROP NETWORK ADDRESS
- DROP ROUTING RULE
Was this topic helpful?