store custom WP table names in a global variable

The DB_ constant prefix in WordPress is generally considered reserved for DB_NAME, DB_HOST, DB_USER and DB_PASS. Using it for plugin-specific constants is, in my opinion, not a great idea. The only implication it might pose is if other plugins try to use the constants, but that’s purely theoretical.

The proper way to do this is to store the table names in the WPDB object stored in the global $wpdb.

global $wpdb;

if ( ! isset( $wpdb->myplugin_artists ) && ! isset( $wpdb->myplugin_releases ) ) {
    $wpdb->myplugin_artists = $wpdb->prefix . 'myplugin_artists';
    $wpdb->myplugin_releases = $wpdb->prefix . 'myplugin_releases';
}

It’s important to use a proper prefix (in this case myplugin_ for your plugin). For example, for Advanced Custom Fields, this is usually acf_ (more on prefixing).