Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.
/ nd004-p3 Public archive

๐Ÿ“– Udacity's fullstack project #3: Analyse a dump of logs in PostgreSQL

License

Notifications You must be signed in to change notification settings

b2m9/nd004-p3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Udacity: Log analysis

Advise: This repo contains a 129 MB large SQL dump!

This repo is part of Udacity's nd004 course.

CLI report script to analyse an SQL dump and print a simple report on the command line.

Kudos

What

  • Script answers 3 questions based on SQL dump in data/newsdata.sql:
    • What are the 3 most popular articles?
    • Who are the most popular authors?
    • Which days have a higher error than 1%?
  • Reporting script in src/report.py
  • Queries in src/queries.py
  • Example report in report.txt
  • Materialised views in data/views.sql
    • Cronjobs can update materialised views in regular intervals
    • Views not appropriate since tables do not have to be updated instantaneously all the time

How

About

๐Ÿ“– Udacity's fullstack project #3: Analyse a dump of logs in PostgreSQL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages