Gateway redundancy, but database?

I set redundancy like this, but in this case, what should I do if the database fails? Should the database be redundancy?

Yes, a redundant database is recommended, using the specific database brand's recommended method(s). Ignition does not do database redundancy itself. Ignition works best if the DB handles redundancy entirely on its own.