
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@credenceanalytics/diagnostic-oracle
Advanced tools
Independent module to generate diagnostic reports from Oracle Database.
Independent module to generate diagnostic reports from Oracle Database.
npm install -s @credenceanalytics/diagnostic-oracle
const { OracleReport } = require('@credenceanalytics/diagnostic-oracle')
const report = new OracleReport({"user": "", "password": "", "connectString": "127.0.0.1:1521/SAMPLEDS"})
Returns promise that is resolved with json data or empty object.
const jsondata = await report.generateReport()
O/P:
{"DATABASE_STORAGE": [], "TABLESPACE": [], "LONG_RUNNING": [], "BLOCKED_SESSION": [], "FAILED_JOB": [], "UNUSABLE_INDEX": [], "INVALID_OBJECT": [], "SPACE_USAGE": [], "STALE_INDEX": [], "AUTOMATIC_STORAGE_MANAGEMENT": [], "DATABASE_ALERTS_AND_INCIDENTS": [], "DATABASE_RESOURCE_USAGE": [], "DATABASE_CONFIGURATION_SETTINGS": [], "BUFFER_CACHE_PARAMETER": [], "LARGE_DATA_SIZE": [], "BUFFER_PARAMETERS": [], "PGA_PARAMETER": [], "SHARED_POOL_PARAMETERS": [], "SGA_MEMORY_ALLOCATION": [], "TEMPORARY_TABLESPACE": [], "GROWTH_TRENDS": [], "DATABASE_PERFORMANCE_METRICS": [], "OPTIMIZER_PARAMETERS": [], "DATA_GUARD_STATUS": [] }
NOTE: See Diagnostic Information section for more details.
Generate and write json data in given file path.
Fully absolute path of file is required as parameter.
Returns promise that is resolved with undefined.
const jsondata = await report.writeReport("/data.json")
DATABASE_STORAGE Database detailsTABLESPACE Check table space usageLONG_RUNNING Check for long-running queriesBLOCKED_SESSION Check for blocked sessionsFAILED_JOB Check for failed jobsUNUSABLE_INDEX Check for un usable indexINVALID_OBJECT Identify invalid objectsSPACE_USAGE Check ASM disk group space usageSTALE_INDEX Identify stale indexesAUTOMATIC_STORAGE_MANAGEMENT Check Automatic Storage Management (ASM) healthDATABASE_ALERTS_AND_INCIDENTS Check database alerts and incidentsDATABASE_RESOURCE_USAGE Check database resource usageDATABASE_CONFIGURATION_SETTINGS Check database configuration settingsBUFFER_CACHE_PARAMETER Check buffer cache parametersLARGE_DATA_SIZE Identify tables for archiving due to large data sizeBUFFER_PARAMETERS Read log buffer parametersPGA_PARAMETER PGA parametersSHARED_POOL_PARAMETERS Shared pool parametersSGA_MEMORY_ALLOCATION Identify inadequate SGA memory allocationTEMPORARY_TABLESPACE Identify low temporary table spaceGROWTH_TRENDS Check database growth trendsDATABASE_PERFORMANCE_METRICS Check database performance metricsOPTIMIZER_PARAMETERS Optimizer ParametersDATA_GUARD_STATUS Check Data Guard status (if applicable)FAQs
Independent module to generate diagnostic reports from Oracle Database.
We found that @credenceanalytics/diagnostic-oracle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.