Examining and Generating JD Edwards EnterpriseOne Indexes
Share
Within the last week, Shannon Moir has had 2 great posts about EnterpriseOne indexes that have motivated me to evaluate our database:
Average Rating
One thought on “Examining and Generating JD Edwards EnterpriseOne Indexes”
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
More Stories
How to Print a Directory Structure Using PowerShell: Step-by-Step Guide
If you need to print out the directory structure and list the files within, this PowerShell script will help you...
VirtualBox Fails After Windows 11 Upgrade (NtCreateFile failed)
After upgrading from Windows 10 to Windows 11, VirtualBox fails to start your Virtual Machine. You receive this error: NtCreateFile...
Quick Tip: WebLogic NodeManager Fails To Start As Windows Service
If your Oracle WebLogic NodeManager starts without issue when using startNodeManager.cmd but when configuring the WebLogic NodeManager as a Windows Service, it fails to start. The nodemanager.log file has the following entry: Native version is enabled but NodeManager native library could not be loaded
Windows God Mode… What!?!
Windows God Mode is a hidden feature in the Windows operating system that allows users to access all of the system’s control panel options and settings in a single place.
How To Test A SQL Server Connection
There is an easy way to test your SQL Server connection when running Windows without any special software. I found...
4 Lines To Export Outlook Rules To Excel/CSV Using PowerShell
I used to use a ton of Outlook Rules to organize the thousands of emails that I receive each day....
This was extremely useful in outlining some of the simple steps in checking indexes within JDE–Thank you for this!
However, in our environment, we use an AS/400 to house all of our databases. Due to the differences between it and the Oracle DB environment, I had to modify the SQL statement a bit for it to work with our environment. Here is the statement I created to query all tables with missing indexes in our test (DV) environment:
select trim(tpobnm) || ‘_’ || tpinid as jdeindex
from CODV920.f98712
where tpuniq 1
and not exists
(select 1 from qsys2.sysindexes
where index_schema=’SBDTA’
and trim(tpobnm) || ‘_’ || tpinid = index_name)
and exists
(select 1
from qsys2.systables
where table_schema = ‘SBDTA’
and table_name = trim(tpobnm))
order by 1 desc;
Hopefully someone finds this useful somewhere, or it proves to be a good basis for other queries.
Love the site! Lots of useful info here.
-TB