{"id":21069250,"url":"https://github.com/abalbekov/top_activity_viewer","last_synced_at":"2026-05-13T07:44:02.463Z","repository":{"id":223547672,"uuid":"170401738","full_name":"abalbekov/top_activity_viewer","owner":"abalbekov","description":"a single page web application to display Oracle active session history ","archived":false,"fork":false,"pushed_at":"2019-03-07T17:20:58.000Z","size":557,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-14T02:25:34.707Z","etag":null,"topics":["flask","javascript","oracle-database","python"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abalbekov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-02-12T22:33:40.000Z","updated_at":"2019-03-07T17:20:59.000Z","dependencies_parsed_at":"2024-02-20T20:51:31.193Z","dependency_job_id":null,"html_url":"https://github.com/abalbekov/top_activity_viewer","commit_stats":null,"previous_names":["abalbekov/top_activity_viewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abalbekov/top_activity_viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abalbekov%2Ftop_activity_viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abalbekov%2Ftop_activity_viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abalbekov%2Ftop_activity_viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abalbekov%2Ftop_activity_viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abalbekov","download_url":"https://codeload.github.com/abalbekov/top_activity_viewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abalbekov%2Ftop_activity_viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32973318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","javascript","oracle-database","python"],"created_at":"2024-11-19T18:33:41.959Z","updated_at":"2026-05-13T07:44:02.448Z","avatar_url":"https://github.com/abalbekov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"                      # top_activity_viewer\nA single page web application to display Oracle active session history \n\nThis application is inspired by Oracle OEM Top Activity page \nand also by ASH Viewer tool ( https://github.com/akardapolov/ASH-Viewer )\n\nIts goal is to take records from V$ACTIVE_SESSION_HISTORY and DBA_HIST_ACTIVE_SESS_HISTORY \nand then chart it in a browser as time series in interactive dyGraph [http://dygraphs.com/](http://dygraphs.com/)\nand then let user to select a specific date range and then show more detailed information for this date range.\n\nExample screenshot:\n\n![Oracle Top Activity Viewer](https://github.com/abalbekov/top_activity_viewer/blob/master/Screenshot.PNG \"Oracle Top Activity Viewer\")\n\nUsing dyGraph makes analyzing time series fun and snappy. \nIt runs surprizingly fast - taking just a second or two to display database Active Sessions chart in a  browser.\nYou can freely pan, zoom and select to focus on arbitrary date range.\nThe displayed time range is not limited to either 1hr or 24 hrs as in OEM, \nthe left and right panning is not limited to 24hr steps\nand date range selection is not limited to 5 minutes interval as in OEM.\n\nCompared to OEM this tool does not require setting up any dedicated middleware server.\nThe middleware component is lightweight Python cx_Oracle Flask application requiring very little resources.\nThis project code is only 100 KB. It can run on a laptop in CMD prompt, in a Docker container or in AWS cloud as combination of Lambda, API Gateway and S3 Static Website.\n\nFlask application sends browser a single web page consisting of HTML, CSS and javascript.\nThen the browser calls several API endpoints served by Flask to asynchronously retrieve time series data and render\nit in dyGraph. The data is prefetched to cover slightly over what is visible in the chart. When user pans left or right, \nmore data asyncroniously requested and spliced with already downloaded data. The python code uses streaming technique \nto avoid delay in handing over records from database to the browser.\n\nThe target database can be any Oracle database with Diagnostic and Tuning Pack.\nThe pack is necessary because it populates ASH tables with timeseries data used by this tool.\nThis means that without this option the tool will not have anything to show.\n\n**Warning** - Diagnostic and Tuning Pack is separately licensable option of Oracle Enterprise Edition.\n\nHow to run on local PC : [How to run on local PC.log](https://github.com/abalbekov/top_activity_viewer/blob/master/how%20to%20run%20on%20local%20PC.log)\n\nHow to run with Docker : [How to run with Docker.log](https://github.com/abalbekov/top_activity_viewer/blob/master/how%20to%20run%20with%20Docker.log)\n\n\nReferences: \nASH Viewer https://github.com/akardapolov/ASH-Viewer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabalbekov%2Ftop_activity_viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabalbekov%2Ftop_activity_viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabalbekov%2Ftop_activity_viewer/lists"}