ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

LightDB 21.3 release note

2022-01-19 17:03:34  阅读:200  来源: 互联网

标签:LightDB support note See details file release pg


E.1. Release 13.3-21.3

Release date: 2021-12-31

This release contains a variety of changes from LightDB 13.3-21.3.

  • WAL (Write-Ahead Log) can be placed on Intel Optane PMEM, archieving significant improvements in recovery time and performance. To enable this feature, set GUC option wal_sync_method to pmem_drain. See wal_sync_method for details.

  • MySQL compatibility enhancements

    • functions support: find_in_set(), group_concat(), if(), truncate(), datediff(), locate() and database(). See myfce for details.

    • longtext data type support

    • LIMIT(m, n) syntax support. See Section 7.6 for details.

  • Oracle compatibility enhancements, including data type implicit conversion between number (such as int2, int4, int8, float4, float8 and numeric) and string(such as char, varchar, text and unknow). See Chapter 10 for details.

  • Autovacuum when setting a table read only. no more manual execution.

  • Wildcards '%' can be used when viewing GUC parameters with SHOW statement. For example, you can use it like "SHOW max%", "SHOW %timeout" and "SHOW %vacuum%". See SHOW for details.

  • Alias can be used when updating a single table with UPDATE statement. For example, you can use it like "UPDATE mytable AS t SET t.colname = value WHERE t.id = 1".

  • Support automatic cleaning of archived WAL and log files according to specified rules. See Section 17.5.3 for details.

    • Archived WAL: clean up archived wal files in archive dir (lightdb_archive_dir) older than (checkpoint file - lightdb_archive_retention_size) when archive wal success. For example: lightdb_archive_retention_size = 2. checkpoint file is 000000010000000000000008, will remove file older than 000000010000000000000006.

    • log files: by set lightdb_log_retention_age to N Mins(usually set to xxxd to remove file xxx days ago) to remove files older than N Mins. execute when switch to new file. the time depends on file modification time.

  • COPY and pg_bulkload support multi character separators(at most three) for text. See COPY for details.

        COPY country TO STDOUT (DELIMITER 'ABC');
        
  • Modify default search_path to contains oracle schema. This means functions and data types in orafce extension can be used directly anywhere.

  • Citus extension integrated, but not enabled by default.

  • pg_pathman extension integrated and enabled by default.

  • pg_profile enhancement, LightDB profile report(PWR) adding database time statistics. See pgprofile for details.

  • pg_hint_plan enhancements, including multi hint support, hint scope qualification, qb_name syntax support and no_merge hint syntax support. Now you can use hint only for sub query. See pghint_plan for details.

  • pg_cron enhancements, including second level timed task support and one time scheduled task support. In addition, the default time zone of the task is adjusted to UTC/GMT+08:00. See pg_cron for details.

  • system_stats enhancements, adding a new function lt_get_sys_kernel_settings() to get linux kernel parameters.

  • lt_initdb command line parameters support specifying non default port number(-p). For example: lt_initdb -p xxx -D xxx. See lt_initdb for details.

  • Support ROWNUM. ROWNUM is a pseudocolumn like oracle ROWNUM. For each row returned by a query, the ROWNUM pseudocolumn returns a number indicating the order in which LightDB selects the row from a table or set of joined rows.

    Now ROWNUM support use with order by, group by, subquery, join, union and partition table. However, it is not supported in update or deletion, and it is not supported in column expression(like select rownum + 1 from xxx ). See Section 7.9 for details.

  • The following extensions is removed from LightDB.

    • pg_wait_sampling, replaced by LightDB's own implementation. with more precise statistics and auto-rollup history data.

    • timescaledb, replaced by pg_pathman auto-partition and columnar table.

标签:LightDB,support,note,See,details,file,release,pg
来源: https://www.cnblogs.com/zhjh256/p/15823054.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有