Feature - View Database Activities Through Control-Shift-D Key

Feature - View Database Activities Through Control-Shift-D Key

Version 8.5 & Up
Release Date: 7/7/2021

Control-Shift-D Support in the Past
The Control-Shift-D key has been available in Elliott since V7.x. It is a very useful tool for debugging purposes. For example, let's say you started to notice performance issues when bringing up a record in Customer File Maintenance.  In that case, you can go to Customer File Maintenance, bring up a customer, and with the cursor at the "Field Number ?" you can press Control-Shift-D.  

There is a potential security issue, so you may encounter the message "You Do Not Have Database Activities Log Privilege."   See sample screen below:

This was later changed to prompt for the SUPERVISOR password instead. See the following KB article:

To allow a user to access the Control-Shift-D key, you will need to go to Password Setup -> Global Security -> User Global Security -> Change, and bring up the user. Go to screen 2, field "5. Access Database Activities Windows Ctl-Shift-D" and change it to "Y." See sample screen below:


From that point on, that user will be allowed to access the Ctl-Shift-D window as shown below:


The last 1,000 IO to the database will be displayed. You can then look at the area where the slow down took place to find out what was likely causing it.  In most situations, the Elliott end user won't be able to make sense of the information in CTL-SHIFT-D.  On the other hand, it is an extremely valuable tool for Netcellent's developers to investigate the issue further.

The following is an example of how we can use CTL-SHIFT-D to investigate database performance issues:

In addition, if a user encounters a file IO error, in the window that displays the error status code, the user can click on the "Detail" button to bring up the database activities snapshot, which is the same information as CTL-SHIFT-D.

New Control-Shift-D Support in 8.5
In the latest Elliott 8.5 release, when printing is taking place the user can press CTL-SHIFT-D to bring up the Database Activities Snapshot. This is similar to pressing the ESC key to abort.  However, CTL-SHIFT-D only temporarily halts the printing. When the user exits the Database Activities Snapshot window, the printing will continue. Keep in mind that checking of the CTL-SHIFT-D or ESC key only takes place when printing of a line takes place.  If the current printing function is in a loop without any printing, then the CTL-SHIFT-D or ESC key may not work.

New Control-Shift-D Support in 8.6
In Elliott 8.6, the user can press CTL-SHIFT-D to bring up the Database Activities Snapshot window as long as active database access is taking place.  For every 10 IO, the system will check to see if CTL-SHIFT-D was pressed.  This will temporarily halt the Elliott process.  When the user exits the Database Activities Snapshot window, the Elliott process will continue.  This feature is best used when the user's current process is locked up, which is typically in a reading loop.  Allowing Netcellent developers to investigate the current IO activities will help to pinpoint the cause and possibly come up with programming changes to avoid locking in the future. 

8.5 Modified Programs: NWSMSCRN
8.6 Modified Programs: NWSMSCRN, BEXTFH

EMK


    • Related Articles

    • A Support Case of Investigating Elliott Database Performance Problem

      Release Date: 08/14/2018 A user reported that their shipping verification process has become slow. They noticed that the scanning has become slow over time, and are wondering if there is a purge or rebuild or something they could do to speed things ...
    • Can You Explain How Elliott Stores Serial Numbers in Its Database?

      Q - Can you explain the various Lot/Serial files (IMLSHST, IMLSTRXS, IMSERREF, etc) - how/when they are populated/updated by the Elliott application and how they relate to other files? A - Here is a highlight of each one of the Elliott database ...
    • Create a New Database in the PCC for Relational Engine Access

      Release Date: 12/15/2017 Modified Date: 02/07/2025 Elliott Business Software relies on PSQL database engines. PSQL consists of two types of engines: transactional and relational. The transactional engine used to be called "Btrieve," which is a record ...
    • Feature - Alternate Security for Viewing Database Activity

      Release Date: 7/9/2021 Versions: 8.5 and Higher Background It could be helpful in certain circumstances to view the last several database I/O operations. While some users are allowed to do this whenever necessary, this generally is not allowed for ...
    • BM1501 Bill of Material Feature/Option Configuration Maintenance

      BM1501 Bill of Material Feature/Option Configuration Maintenance ← Bill of Material / Work Order Plus Feature/Option Configuration File Maintenance Application Overview The Feature/Option Configuration File Maintenance application enables the user to ...