“BAS ERP Optimisation” course for developers
The “BAS ERP Optimisation” course teaches the hidden capabilities of the BAS ERP platform, so you understand how its performance works and how to apply this in practice. After the course you can increase BAS ERP performance yourself and optimise the client-server system of BAS ERP programs (MS SQL DBMS).
Don’t waste time on self-treatment! Skim the cream!
Today BAS ERP is positioned as an ERP product for automating companies and competes with products such as SAP R/3 and Microsoft Axapta.
Among other things, this means BAS ERP must work comfortably with huge databases (hundreds of gigabytes) and a large number of users working at the same time (hundreds and thousands).
Unfortunately, most BAS ERP developers and implementers pay little attention to optimisation. This applies not only to franchisee staff and freelancers, but even to the developers of standard solutions. The reason is trivial: there is not enough time even for the applied tasks, let alone optimisation, whose principles have to be studied on top.
But time goes on, databases grow (sometimes out of proportion to time), the number of users working at the same time grows. Reports start to “lag”, lock error messages appear.
System administrators point at the developers, developers point at the system administrators. In the end the problems are not solved…
Learn from professionals
-
Who the course is for
The course is designed for BAS ERP developers and implementers, as well as for MS SQL and BAS ERP administrators.
-
Tools for analysing problems
You will learn to use such tools as:
- SQL Server Management Studio,
- SQL Server Profiler,
- the BAS ERP technology log,
- the performance control centre (CUP) configuration,
- and a few more things…
-
MS SQL Server
Although BAS ERP can work with various DBMS, the course covers the interaction of BAS ERP with MS SQL Server (as the most common option).
-
Always up to date
Material from real optimisation projects is constantly added to the course, so the course keeps growing and is always interesting and relevant.
To take the course you need to know
-
Relational database theory basics
Tables, keys, relations between tables.
-
The BAS ERP query language
Including temporary tables and virtual register tables.
-
BAS ERP registers
Understanding the different kinds of BAS ERP registers, how they differ and where each is used.
“BAS ERP Optimisation” course programme
The course has two main topics: 1. Lock optimisation. 2. Query optimisation.
These topics cannot be studied without knowing the physical structure of the 1C database (how 1C stores the data of different objects in DBMS tables), so we start with it.
-
Physical structure of the 1C database
While studying the table structure for storing metadata objects, we also cover:
- what a reference is, joining tables by reference, how reference objects differ from registers;
- why the date offset is needed;
- automatic numbering of objects;
- how the virtual tables SliceFirst/Last, Balance, Turnovers work;
- the point in time;
- real-time posting;
- an overview of the system tables (config, configsave, params, dbschema);
- the restructuring process.
-
DBMS locks
- What ACID is and why transactions are needed
- Concurrent access problems and isolation levels
- The SQL Server lock mechanism. Lock properties
- How isolation levels work using locks
- Excessive locks
- Tools for analysing and monitoring DBMS locks: SQL Server Profiler, Extended Events
- Ways to optimise DBMS locks in BAS ERP
- BAS ERP managed locks
- What they are for and how they differ from DBMS locks
- Tools for analysing and monitoring 1C managed locks: the 1C technology log (setup and log analysis)
- Deadlocks
- Object locks
-
Demonstrations: transactions and locks in BAS ERP
- Transactions in BAS ERP
- Using READ_COMMITTED in 1C (negative balances)
- Using READ_COMMITTED_SNAPSHOT
- Using the totals separator
- Excessive locks (because of a non-optimal query)
- Using READ_COMMITTED and BAS ERP managed locks
- The main kinds of deadlocks
- The method of checking balances after writing
-
Query optimisation
- DBMS indexes (structure, use, maintenance)
- Managing indexes from BAS ERP
- The SQL Server query plan (how the main operators work); extra material on the PostgreSQL query plan
- Tools for getting and analysing query plans
- An overview of how the DBMS optimizer works (using SQL Server as the example)
- SQL Server statistics
- Query optimisation in BAS ERP: general notes; queries to virtual tables; queries when writing register sets; queries when writing and posting documents; queries related to exchange plans; dynamic list queries; queries with RLS; external data sources; DCS
-
Which DBMS
The course is focused on Microsoft SQL Server, but where PostgreSQL behaves significantly differently, this is mentioned along the way. There are also special sections on PostgreSQL only:
- the PostgreSQL query plan,
- PostgreSQL statistics,
- SQL Server and PostgreSQL optimizers compared.
These topics can be taught in addition (the course gets longer) or instead of the corresponding SQL Server topics.
-
Handouts
- The course presentations (370 slides) in PDF
- An infobase dump for practice (to repeat the demonstrations)
-
Practice
At the customer’s request practice can be held. This increases the time and price of the course and is agreed with the customer separately. The practice consists of repeating all the teacher’s actions from the demonstrations. The students’ workplaces must be prepared in advance with:
- the server version of the 1C platform;
- an infobase for practice created and loaded from DT (provided by the teacher);
- SQL Server or PostgreSQL;
- SQL Server Management Studio + Profiler;
- PgAdmin (for PostgreSQL).
Software versions are agreed with the teacher.
-
Checking what was learned
At the customer’s request the students can be tested separately on the two main topics: lock optimisation and query optimisation. Each test has 14 multiple-choice questions. There are enough unique questions for 10 tests per topic, so 10 students get tickets with no repeated questions.
What the course gives
-
Optimal new functions
Applying the knowledge gained when configuring new system functions to get optimal performance.
-
Reworking old functions
The ability to analyse and change old functions to reach optimal performance.
-
Reasoned answers
Reasoned answers to the customer’s or management’s questions “Why is it slow?” and “What has to be done so it isn’t?”
-
Less load, smaller database
A real reduction of the load on the server hardware and of the database size.
-
Confidence
Confidence that you can deepen your performance knowledge on your own (it is all not that hard or scary).
-
Preparing for certification
Preparation for the “BAS ERP: Expert on technological issues” certification.
-
Closing the gaps
For those who “know almost everything”, a chance to close the remaining gaps and deepen their knowledge.
This course does not cover all the topics of the Expert/Professional exam on technological issues: it covers only two topics, but the most important ones.
What is not in the course
-
Client-server interaction optimisation (for developers)
-
Setting up, administering and monitoring BAS ERP and SQL servers
-
Interaction of the BAS ERP server/cluster components
-
BAS ERP licensing
-
Working with the toolkit (CUP, load testing, CKK)
-
Hardware load analysis
BAS ERP optimisation: the questions you will have to deal with
-
How to speed up BAS ERP: loading, posting documents, generating reports?
-
What does BAS ERP performance depend on?
-
Why do lock errors occur?
-
What are BAS ERP transactions?
-
What are lock isolation levels?
-
What is a lock conflict?
-
What are the options for optimising locks in BAS ERP?
-
How to find and understand DBMS locks?
-
What are BAS ERP managed locks?
-
What are deadlocks?
-
What are BAS ERP object locks?
-
What are indexes?
-
How do indexes increase BAS ERP performance?
-
How to use indexes correctly?
-
How to see what a BAS ERP query looks like in the DBMS?
-
How to understand what the DBMS does with BAS ERP queries?
-
How are BAS ERP physical tables built?
-
How are BAS ERP virtual tables built?
-
What does using composite types in BAS ERP queries affect?
-
How does RLS affect queries and BAS ERP speed?
-
What does the BAS ERP database size depend on?
-
How to reduce the BAS ERP database size?
And much more…
Formats and prices
-
Online
Web connection to the School, a month from the start date
370 slides in PDF · Database for repeating the demonstrations · Regular groups
4,000 ₴ / 24 hours
Sign up -
In class, Kyiv
Regular monthly courses in blocks
4 days of 6 hours (two weeks, two days a week) · 6 days of 4 hours (three weeks, two days a week) · 3 full days in a row
6,000 ₴
Sign up -
For your team
At the customer’s request
Practice: repeating all the teacher’s demonstrations · Tests on both topics, 14 questions each · Time and price agreed separately
on request
Discuss