3. What are the differences between Tantor Certified 15 and PostgreSQL 15#
3. What are the differences between Tantor Certified 15 and PostgreSQL 15
3.1. Helpful links
3.2. Core improvements
64-bit transaction counter.
Autonomous transactions.
Increased performance with a large number of simultaneous users.
Increased number of partitions in the shared buffers.
Optimized
pglz
data compression algorithm (~1.4 times).Reduced the number of data page locks in the shared buffers.
libpq compression.
Allow logical replication subscribers to process only changes that have no origin (bidirectional logical replication).
Optimized replication recovery process (
fadvise
on standby).Added ability to end a transaction based on a preset timeout.
Ability to add new reserved connections , the number of which is predefined in the reserved_connections parameter in the configuration file. This allows reserving connection slots for users who are not superusers. Slots reserved through this parameter are only available to users who can have a new predefined role pg_use_reserved_connections.
Support for extensions and data types for compatibility with 1C.
SIMD enhancements for x86 (SSE2) and ARM (NEON) architectures have been introduced, leading to improvements in transaction processing. These advancements also contribute to faster operations with jsontext, thereby boosting overall data stream processing efficiency.
Added optimization for linear search for ARM64 architecture processors.
When sending the WAL to the standby server, a checksum of the data blocks is verified.
Ability to clean up table data before deleting, to prevent their recovery.
3.3. Additional Supplied Utilities
pgcompacttable - a tool designed to reduce the size of bloated tables and indexes without using heavy locks. It is developed to reorganize data in tables and rebuild indexes in order to reclaim disk space without impacting database performance.
3.4. Additionally supplied modules (extensions)
credcheck - provides few general credential checks, which will be evaluated during the user creation, during the password change and user renaming. By using this extension, we can define a set of rules to allow a specific set of credentials, and a set of rules to reject a certain type of credentials. This extension is developed based on the PostgreSQL's check_password_hook hook.
fasttrun - provides transaction unsafe function to truncate temporary tables without growing pg_class size. This module is required for 1C Enterprise support. Fast truncate operation is not transactional, so its results cannot be rolled back and become immediately visible in all sessions regardless of isolation level.
fulleq - provides additional equivalence operator for compatibility with Microsoft SQL Server. This module is required for 1C Enterprise support.
hypopg - adds support for hypothetical_indexes. A hypothetical or virtual index is an index that does not actually exist. Thus, no CPU, disk, or any other resource is required to create. It is useful to know if certain indexes can improve performance for problematic queries, as you can know if Tantor will use those indexes or not without having to spend resources creating them.
mchar - designed to improve 1C Enterprise support, most popular Russian CRM and ERP system. It implements types MCHAR and MVARCHAR, which are bug-to-bug compatible with MS SQL CHAR and VARCHAR respectively. Additionally, these types use the ICU library for comparison and case conversion, so their behavior is identical across different operating systems. Tantor DBMS also includes citext extension which provides types similar to MCHAR. But this extension doesn’t emulate MS-SQL behavior concerning end-of-value whitespace.
online_analyze - performs activation of statistic collection right after INSERT/UPDATE/DELETE/SELECT INTO for involved tables.
orafce - represents a set of functions that provide compatibility with Oracle databases.These functions allow simplifying of the migration to Tantor and reducing the expenses on applications' reconfiguration.
Optimized Row Columnar(ORC) - provides column method of data storage with a possibility of compression to decrease in-out volume and assure high performance. Applicable to append-only, e.g. data time series and displays of corporate storages.
page_repair - designed to repair separate corrupted pages using backup data from the replication server. It allows saving reparation time as it does not require reparation of all data, but separate pages.
pg_background - allows executing commands in the background mode such as VACUUM and CREATE INDEX CONCURRENTLY from SQL along with launching autonomous transactions.
pg_cron - represents a cron-based job scheduler working within the database as an extension. It uses the same syntax as regular cron, but it allows scheduling Tantor DBMS commands directly from the database.
pg_hint_plan - allows configuring plans of SQL queries execution using so called "hints" in SQL comments. This gives an opportunity to compensate the scheduler errors occurring in critical cases.
pg_partman - allows creating and managing both time-based and serial-based table partition sets.
pg_qualstats - saves statistic data on found predicates in WHERE operators and JOIN operations. This allows analysing the most frequent qualifiers (predicates) in the database, and also to identify correlated columns by defining which columns are most frequently requested together.
pg_repack - removes bloat from tables and indexes, and optionally restores the physical order of clustered indexes. Unlike CLUSTER and VACUUM FULL it works online, without holding an exclusive lock on the processed tables during processing.
pg_store_plans - provides the means to keep track of the execution plan statistics for all SQL statements executed by the Tantor server.
pg_variables - provides functionality to work with variables of different types in the current user session.
pg_wait_sampling - provides information about current waiting event for a certain process. However, to collect a descriptive statistics of server behaviour a user must repeatedly collect the current waiting event. This module represents an extension for collecting sample statistics of waiting events that prevent needless sampling of the current event waiting.
pgaudit - provides detailed session and/or object audit logging via the standard Tantor DBMS logging facility. The goal of the pgAudit is to provide Tantor DBMS users with capability to produce audit logs often required to comply with government, financial, or ISO certifications.
pgq - provides generic, high-performance lockless queue with simple API based on SQL functions.
pgsql-http - allows making a trigger that calls a web service available to return a result, or makes the service update according to the new state of the database.
plantuner - provides a possibility to manage the scheduler by providing prompts that make the optimizer partially ignore its algorithm.
pgauditlogtofile - is an addon to pgAudit than will redirect audit log lines to an independent file, instead of using PostgreSQL server logger. This will allow us to have an audit file that we can easily rotate without polluting server logs with those messages. Audit logs in heavily used systems can grow very fast. This extension allows to automatically rotate the files based in a number of minutes.
dbcopies_decoding - supports the database copy mechanism and data accelerator.
3.5. Additionally supplied programs
Tantor Platform: full-featured modular platform for administration and monitoring of Tantor RDMS and most PostgreSQL based clusters. The platform simplifies daily RDBMS operation with significant impact on the RDBMS management simplicity. The software functionality includes: smart and simple user interface, cluster automatic adaptive tuning, system overview, alerts and monitoring, automatic health checks and schema audit, maintenance tasks resolution through the GUI, advanced query profiling, and administering multiple servers in one place;
pg_anon: is a standalone Python program to work with Tantor RDMS or PostgreSQL based DB to perform data masking and anonymization during data migration between production and test environments;
wal-g: is a tool for making encrypted, compressed Tantor Certified backups (full and incremental) and push/fetch them to/from storage without saving it on your filesystem;
pg_configurator: is a PostgreSQL configuration tool;
pg_cluster: is an Ansible playbook for PostgreSQL high availability cluster on Patroni.
3.6. Additional External Modules
Oracle FDW is a PostgreSQL extension that provides a Foreign Data Wrapper for easy and efficient access to Oracle databases, including pushdown of WHERE conditions and required columns as well as comprehensive EXPLAIN support.
pg_timetable is an advanced job scheduler for PostgreSQL, offering many advantages over traditional schedulers such as cron and others. It is completely database driven and provides a couple of advanced concepts.
pgbouncer is a lightweight connection pooler for Tantor Certified.
TDS Foreign data wrapper is a Foreign Data Wrapper that can connect to databases that use the Tabular Data Stream (TDS) protocol, such as Sybase databases and Microsoft SQL server.
3.7. Release Notes
The first release of Tantor Certified is 15.6.1
.
Significant changes can be found on the related page.
All other changes see in Release Notes.
3.8. How to configure Tantor Certified parameters for 1C
Detailed information on how to optimally configure the Tantor Certified parameters for working with 1C can be found on the page.