MariaDB [test]> WITH RECURSIVE periods AS ( SELECT LAST_DAY(CURDATE()) AS period_end UNION ALL SELECT period_end - INTERVAL 1 MONTH AS period_end FROM periods WHERE period_end - INTERVAL 1 MONTH >= (LAST_DAY(CURDATE()) - INTERVAL 3 MONTH) ) SELECT periods.period_end, SUM(ROUND(local_amt / current_fx.exchange_rate, 2)) AS apttus_arr FROM periods INNER JOIN f_bookings ON f_bookings.booking_type IN ('tsg_apttus') AND periods.period_end BETWEEN f_bookings.valid_from_dt AND f_bookings.valid_end_dt LEFT JOIN d_currency current_fx ON f_bookings.currency_id = current_fx.from_currency_code AND YEAR(CURDATE()) = YEAR(current_fx.rec_eff_dt) GROUP BY 1;
|
ERROR 2013 (HY000): Lost connection to server during query
|
MariaDB [test]> select @@datadir, @@log_error;
|
ERROR 2006 (HY000): Server has gone away
|
No connection. Trying to reconnect...
|
Connection id: 3
|
Current database: test
|
|
+-----------------+------------------------------------------------+
|
| @@datadir | @@log_error |
|
+-----------------+------------------------------------------------+
|
| /var/lib/mysql/ | /var/log/mariadb/columnstore/mariadb-error.log |
|
+-----------------+------------------------------------------------+
|
1 row in set (0.012 sec)
|
|
MariaDB [test]> exit
|
Bye
|
[root@c2eec0bd325e /]# tail -100 /var/log/mariadb/columnstore/mariadb-error.log
|
2022-08-19 12:22:42 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
|
2022-08-19 12:22:42 0 [Note] InnoDB: 10.6.7 started; log sequence number 51735; transaction id 33
|
2022-08-19 12:22:42 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2022-08-19 12:22:42 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
|
2022-08-19 12:22:42 server_audit: MariaDB Audit Plugin version 2.4.1 STARTED.
|
2022-08-19 12:22:42 server_audit: Query cache is enabled with the TABLE events. Some table reads can be veiled.
|
2022-08-19 12:22:42 0 [Note] InnoDB: Buffer pool(s) load completed at 220819 12:22:42
|
2022-08-19 12:22:42 0 [Note] Server socket created on IP: '0.0.0.0'.
|
2022-08-19 12:22:42 0 [Note] Server socket created on IP: '::'.
|
2022-08-19 12:22:42 0 [Note] /usr/sbin/mariadbd: ready for connections.
|
Version: '10.6.7-3-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
|
2022-08-19 12:22:44 0 [Note] /usr/sbin/mariadbd (initiated by: unknown): Normal shutdown
|
2022-08-19 12:22:44 0 [Note] InnoDB: FTS optimize thread exiting.
|
2022-08-19 12:22:44 server_audit: STOPPED
|
2022-08-19 12:22:44 0 [Note] InnoDB: Starting shutdown...
|
2022-08-19 12:22:44 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
|
2022-08-19 12:22:44 0 [Note] InnoDB: Buffer pool(s) dump completed at 220819 12:22:44
|
2022-08-19 12:22:45 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
|
2022-08-19 12:22:45 0 [Note] InnoDB: Shutdown completed; log sequence number 52149; transaction id 34
|
2022-08-19 12:22:45 0 [Note] /usr/sbin/mariadbd: Shutdown complete
|
|
220819 12:22:45 mysqld_safe mysqld from pid file /var/lib/mysql/c2eec0bd325e.pid ended
|
220819 12:22:54 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql
|
2022-08-19 12:22:54 0 [Note] /usr/sbin/mariadbd (server 10.6.7-3-MariaDB) starting as process 850 ...
|
220819 12:22:54 Columnstore: Started; Version: 6.2.1-1
|
2022-08-19 12:22:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
|
2022-08-19 12:22:54 0 [Note] InnoDB: Number of pools: 1
|
2022-08-19 12:22:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
|
2022-08-19 12:22:54 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
|
2022-08-19 12:22:54 0 [Note] InnoDB: Using Linux native AIO
|
2022-08-19 12:22:54 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
|
2022-08-19 12:22:54 0 [Note] InnoDB: Completed initialization of buffer pool
|
2022-08-19 12:22:54 0 [Note] InnoDB: 128 rollback segments are active.
|
2022-08-19 12:22:54 0 [Note] InnoDB: Creating shared tablespace for temporary tables
|
2022-08-19 12:22:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
|
2022-08-19 12:22:54 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
|
2022-08-19 12:22:54 0 [Note] InnoDB: 10.6.7 started; log sequence number 52149; transaction id 33
|
2022-08-19 12:22:54 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2022-08-19 12:22:54 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
|
2022-08-19 12:22:54 server_audit: MariaDB Audit Plugin version 2.4.1 STARTED.
|
2022-08-19 12:22:54 server_audit: Query cache is enabled with the TABLE events. Some table reads can be veiled.
|
2022-08-19 12:22:55 0 [Note] Server socket created on IP: '0.0.0.0'.
|
2022-08-19 12:22:55 0 [Note] Server socket created on IP: '::'.
|
2022-08-19 12:22:55 0 [Note] InnoDB: Buffer pool(s) load completed at 220819 12:22:55
|
2022-08-19 12:22:55 0 [Note] /usr/sbin/mariadbd: ready for connections.
|
Version: '10.6.7-3-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
|
220819 12:30:56 mysqld_safe Number of processes running now: 0
|
220819 12:30:56 mysqld_safe mysqld restarted
|
2022-08-19 12:30:56 0 [Note] /usr/sbin/mariadbd (server 10.6.7-3-MariaDB) starting as process 962 ...
|
220819 12:30:57 Columnstore: Started; Version: 6.2.1-1
|
2022-08-19 12:30:57 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
|
2022-08-19 12:30:57 0 [Note] InnoDB: Number of pools: 1
|
2022-08-19 12:30:57 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
|
2022-08-19 12:30:57 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
|
2022-08-19 12:30:57 0 [Note] InnoDB: Using Linux native AIO
|
2022-08-19 12:30:57 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
|
2022-08-19 12:30:57 0 [Note] InnoDB: Completed initialization of buffer pool
|
2022-08-19 12:30:57 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=52149,52149
|
2022-08-19 12:30:57 0 [Note] InnoDB: 128 rollback segments are active.
|
2022-08-19 12:30:57 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
|
2022-08-19 12:30:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables
|
2022-08-19 12:30:57 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
|
2022-08-19 12:30:57 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
|
2022-08-19 12:30:57 0 [Note] InnoDB: 10.6.7 started; log sequence number 52513; transaction id 33
|
2022-08-19 12:30:57 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2022-08-19 12:30:57 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
|
2022-08-19 12:30:57 server_audit: MariaDB Audit Plugin version 2.4.1 STARTED.
|
2022-08-19 12:30:57 server_audit: Query cache is enabled with the TABLE events. Some table reads can be veiled.
|
2022-08-19 12:30:57 0 [Note] Server socket created on IP: '0.0.0.0'.
|
2022-08-19 12:30:57 0 [Note] Server socket created on IP: '::'.
|
2022-08-19 12:30:57 0 [Note] InnoDB: Buffer pool(s) load completed at 220819 12:30:57
|
2022-08-19 12:30:57 0 [Note] /usr/sbin/mariadbd: ready for connections.
|
Version: '10.6.7-3-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
|
220819 12:34:15 mysqld_safe Number of processes running now: 0
|
220819 12:34:15 mysqld_safe mysqld restarted
|
2022-08-19 12:34:15 0 [Note] /usr/sbin/mariadbd (server 10.6.7-3-MariaDB) starting as process 1024 ...
|
220819 12:34:15 Columnstore: Started; Version: 6.2.1-1
|
2022-08-19 12:34:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
|
2022-08-19 12:34:15 0 [Note] InnoDB: Number of pools: 1
|
2022-08-19 12:34:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
|
2022-08-19 12:34:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
|
2022-08-19 12:34:15 0 [Note] InnoDB: Using Linux native AIO
|
2022-08-19 12:34:15 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
|
2022-08-19 12:34:15 0 [Note] InnoDB: Completed initialization of buffer pool
|
2022-08-19 12:34:15 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=52149,52149
|
2022-08-19 12:34:15 0 [Note] InnoDB: 128 rollback segments are active.
|
2022-08-19 12:34:15 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
|
2022-08-19 12:34:15 0 [Note] InnoDB: Creating shared tablespace for temporary tables
|
2022-08-19 12:34:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
|
2022-08-19 12:34:15 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
|
2022-08-19 12:34:15 0 [Note] InnoDB: 10.6.7 started; log sequence number 52525; transaction id 33
|
2022-08-19 12:34:15 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2022-08-19 12:34:15 server_audit: MariaDB Audit Plugin version 2.4.1 STARTED.
|
2022-08-19 12:34:15 server_audit: Query cache is enabled with the TABLE events. Some table reads can be veiled.
|
2022-08-19 12:34:15 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
|
2022-08-19 12:34:16 0 [Note] Server socket created on IP: '0.0.0.0'.
|
2022-08-19 12:34:16 0 [Note] Server socket created on IP: '::'.
|
2022-08-19 12:34:16 0 [Note] /usr/sbin/mariadbd: ready for connections.
|
Version: '10.6.7-3-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
|
2022-08-19 12:34:16 0 [Note] InnoDB: Buffer pool(s) load completed at 220819 12:34:16
|
[root@c2eec0bd325e /]#
|
MCOL-4778was included in 6.4.1. This merely stopped the crash. It now reports not supported. Adding support for Recursive CTE is MCOL-5142.