Slashdot Mirror


User: adamf!csh

adamf!csh's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Computer Science House @ RIT on Where Are All of the IT Fraternities? · · Score: 2, Insightful

    Not a frat, in that it's co-ed and doesn't paddle incoming members, but Computer Science House at Rochester Institute of Technology is a house full of geeks: http://www.csh.rit.edu/

  2. portability, reports, etc on Where Does the Business Logic Belong? · · Score: 4, Insightful

    One of the things to realize about reporting is that the type of queries made to a database for reports is very different from the queries made during use of the application.

    A solution to your performance problem probably lies in creating some views into your database that represent the data in a less transactional way - create the views such that they are not normalized for transactions but rather for the queries you expect, and the report generation speed problems will take care of itself, and you can leave the business logic code portable.

    For example, somebody might want a report like "sales by state", and this report takes age to run against your transactional database because it's normalized for inserting a sale across many tables, and a select to retrieve this data might take a bunch of joins across all tables. If you create views, or replicate the data to another database with a different scheme, your select might be "select * from sales where state=''" and return very quickly.