Merge

    Example:

    Data will be read from the tables in the hits database that have names that match the regular expression ‘^WatchLog‘.

    Instead of the database name, you can use a constant expression that returns a string. For example, .

    When selecting tables to read, the Merge table itself will not be selected, even if it matches the regex. This is to avoid loops.
    It is possible to create two Merge tables that will endlessly try to read each others’ data, but this is not a good idea.

    The typical way to use the Merge engine is for working with a large number of TinyLog tables as if with a single table.

    Example 2:

    See Also