Science Forums
User Name
Password
Science Social Network
home    members    help/rules    who is online    contact   

Go Back   Science Forums > Physical Sciences Forums > Computer Science
Become a science forums sponsor today
Reply
 
LinkBack Thread Tools
Old 07-10-2008   #11 (permalink)
Overdog's Avatar
Explaining

Gold Subscription
Sponsor

 



Re: Dumbest Thing, That Takes a Geek to Recognize.

Quote:
Originally Posted by alexander View Post
...That's why i tinker with creating custom views, and i wouldn't even need that if the reporting engine they were using was anything decent, but the problem is, when you feed 500000+ records of 200 columns into a crystal (6, because of it's web interface licensing) report, and then have the report look for one of the records... SQL will return the data in literaly seconds, its efficient for what it does (methinks you would agree, its no MySQL for data retrieval, but MySQL is no MSSQL for record writing either... and i work a fair amount with MySQL databases, i am trying to change over to Postgres, and yeah, i guess somehow i get to deal with MS now.... hell, can anyone tell me how that's a part of my helpdesk job description?
Well, it's because there's such a big shortage of people who have database knowledge/skills. For example, the person who developed the crystal report you are talking about evidently had no idea that the right way to do this is to call a stored procedure in the database and pass parameters for the where clause so the database server returns exactly the records needed, and all crystal needs to is display them....
Reply With Quote
Old 07-10-2008   #12 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Latest blog entry:
Open-Source HIDS
 
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
 



Re: Dumbest Thing, That Takes a Geek to Recognize.

as i have mentioned, the reports are based on a view in the database, they are written according to the software manufacturer's specifications. Honestly the guy who wrote the 100 repors there has better ways to spend time then to read through 700+ pages of documentation of the database (there are probably 80-90 tables, and they are far from intuitive), to then reverseengineer the databases and be able to then bring down efficiency, plus that was not his function, he was not hired to do this, and probably won't be able to learn this stuff, not that he'd care to...

And there aint no way that i am letting anyone who's not a SQL pro to access the database directly, never mind storing procedures...
Case closed... Verdict: Flawed By Initial Design


----------------
And remember that great question that Pierre-Simon Laplace and Sir Isaac Newton, Andrei Markov and David Hilbert, Richard Feynman and Enrico Fermi, Albert Einstein and Edmund Halley did not come to ask throughout all of their dedication and work: "Who the hell is IMing me?"


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Reply With Quote
Old 07-14-2008   #13 (permalink)
LaurieAG's Avatar
Explaining


 



Re: Dumbest Thing, That Takes a Geek to Recognize.

Hi Alexander,

Quote:
Originally Posted by alexander View Post
as i have mentioned, the reports are based on a view in the database, they are written according to the software manufacturer's specifications. Honestly the guy who wrote the 100 repors there has better ways to spend time then to read through 700+ pages of documentation of the database (there are probably 80-90 tables, and they are far from intuitive), to then reverseengineer the databases and be able to then bring down efficiency, plus that was not his function, he was not hired to do this, and probably won't be able to learn this stuff, not that he'd care to...
Surely he'd just take note of the structure of the key index fields from each table and just disregard elements in the view that are already represented at a higher level. Unless the idea was to have an obfuscated master view that was relatively meaningless to anybody unless they understood which duplicate field contained the real data

Quote:
Originally Posted by alexander View Post
And there aint no way that i am letting anyone who's not a SQL pro to access the database directly, never mind storing procedures...
Too right. I lost a good job in 1991 because a novice hooked up to my clients project management database (non SQL) externally and, instead of upgrading field definitions, populated all of the financial data fields with 'uuuuuuu', without making a backup! Why didn't they just issue a new software update that backed up the database and updated the fields automatically on its first run. At least the developer has a record of all historic data changes at hand.

BTW, In the late 80/early 90's DOS days I noticed that the only people in my office who had formatted their hard drives were electrical engineers.


----------------
Corollary to the Peter Principle: Once you have promoted all of your competents to their highest level of incompetence you must change your management philosophy from top down to bottom up, because the staff at the bottom are the only competent ones in your entire organisation.
Reply With Quote
Old 07-14-2008   #14 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Latest blog entry:
Open-Source HIDS
 
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
 



Re: Dumbest Thing, That Takes a Geek to Recognize.

Quote:
Surely he'd just take note of the structure of the key index fields from each table and just disregard elements in the view that are already represented at a higher level.
It's not that difficult as some views allow you to see how they link the data in tables, but it's really less then simple, there are tables that are not linked, there are tables with useless fields that never get used, there are fully empty tables, and lastly there are tables that have random, and completely useless data in it. Problem is, there are various ways and tables that record the data, and when you start dealing with 15 different dates, all seemingly random, some put in by the DB engine, some by users, and so forth, it becomes simlply worthless to, without having solid SQL skillz (yes with the z, because skills wont help in this situation), try to reverse engineer this DB...

Wow thats a mighty big mistake, almost as bad as a friend of mine, who ran mk2fs instead of fsck on his drive and reinitialized the file system on his hard drive.... talking about loosing 2 months worth of projects and data


----------------
And remember that great question that Pierre-Simon Laplace and Sir Isaac Newton, Andrei Markov and David Hilbert, Richard Feynman and Enrico Fermi, Albert Einstein and Edmund Halley did not come to ask throughout all of their dedication and work: "Who the hell is IMing me?"


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Planting trees-A good thing?- A bad thing? Michaelangelica Earth science 74 10-16-2008 10:07 PM
Storm takes down Hypography Tormod Announcements 11 01-05-2008 11:19 PM
Dumbest computer quote of the day alexander Computer Science 12 12-17-2007 05:37 PM
Plants recognize their siblings, biologists discover C1ay General Science News 1 06-14-2007 06:23 PM
'Father of Fractals' takes on the stock market C1ay General Science News 2 11-17-2006 08:01 AM


All times are GMT -8. The time now is 01:25 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network