Category Archives: Dong Shin

Dong Shin 07.22.2014

  • set the detailed data table to view – processed as fast enough….
  • created SQL/script to run the truancy report and a list of people for FY14
  • working on Query Builder
    • added tableName, generateData to the queryBuilderConfig.xml
    • generateData button is not optional
    • need to fix missing obligations/outlays for the old Procurement and RDT&E – FixFinancialData.sql

Dong Shin 07.17.2014

  • deployed new FA, new queries for detailed data
    • using views reduced the time to generate the detailed data to 3 seconds from 5 min!!!!
  • working on new Query Builder
    • added more fields
    • modified generate_detailed_data() procedure to use the new views and queries
    • use new table qb_queries for user queries, left the previous one – user_queries
    • adding more column configurations to queryBuilderConfig2.xml

Dong Shin 07.08.2014

  • deployed new FA
    • Status ItemRenderer changes when scrolling in Query Builder – fixed
  • working on new Query Builder
    • refining master data table to include all appropriation years in a row instead of separated by a year
    • SELECT
      SUM(IF(year_count=1,SUM(IF(type = ‘Planned Obligated $:’, month_1, 0)),0)) AS planned_obligated_year_1_month_1,
      SUM(IF(year_count=1,SUM(IF(type = ‘Reported FACTS Obligated $:’, month_1, 0)),0)) AS reported_facts_obligated_year_1_month_1,
      SUM(IF(year_count=1,SUM(IF(type = ‘Planned Outlay $:’, month_1, 0)),0)) AS planned_outlay_year_1_month_1,
      SUM(IF(year_count=1,SUM(IF(type = ‘Reported Outlay $:’, month_1, 0)),0)) AS reported_outlay_year_1_month_1,
      SUM(IF(year_count=1,SUM(IF(type = ‘PM Actuals (Invoiced) Outlay $:’, month_1, 0)),0)) AS pm_actuals_year_1_month_1,
      SUM(IF(year_count=1,SUM(IF(type = ‘Outlay $ (Reported in FACTS)’, month_1, 0)),0)) AS reported_facts_outlay_year_1_month_1
      FROM obligations_outlays
      GROUP BY funding_id

Dong Shin 06.26.2014

  • tried to deploy the new Query Builder, the queries are too slow… 6 minutes! will try this tomorrow
    • ‘Copying to tmp table’, ‘2.432915’
      ‘Sorting result’, ‘0.899327’
      ‘Sending data’, ‘0.783034’
    • SHOW VARIABLES LIKE ‘max_heap_table_size’;
      • ‘max_heap_table_size’, ‘16777216’
    • SHOW VARIABLES LIKE ‘tmp_table_size’;
      • ‘tmp_table_size’, ‘16777216’
  • added last COGNOS upload status to FA
  • added status (Red, Yellow, Green) to Obligated, Outlay, PM Actuals % value columns in Query Builder (old)

Dong Shin 06.20.2014

  • deployed new FA with the reworked Query Builder – all is well.
  • experimented with MariaDB and some database performance testing on-site.
  • working on Query Builder
    • added Obligation, Outlay, PM Actuals columns back…. still need % values
    • required columns added to queryBuilderConfig.xml