Using Triggers

  • Sorry, I noticed the Double post and as you can see I deleted it

     

     


    * Noel

  • Hey Noel,

    I'm open to any suggestions that anyone has and instead of not liking it....i'm actually very happy and glad that you all have taken the time out to read and respond to the issue i'm having.  So thanks for your suggestion and i am definitely going to take a look at the design (that someone else did)....it's just not priority on the list right now since it would take some time for that and i needed a quick solution. 

    Thanks Again.

  • I know the feeling. It is almost a law in software:

    "There is never time to make it right, there is always time to do it over"

    Cheers,

     


    * Noel

  • It's hard to tell wether or not the design is wrong... But 50 tables views!! for a single query seems like a lot to me.

    Is there anyway that you could change the program so that less information is shown at the same time???

    Like pick a group of project, select a project(s), then show the relevant information separatly (like cost, clients, workers..)????

    The most complex report I did here only had 5 subreports. Which is something like 12 tables, 5 Stored Procs and bam you're done (the most complexe by so far).

  • So true... wasn't that quote from Boston Public or another show?

  • That's the problem....this area is for upper level managers of the company and they want to see a lot of different data fields without having to click here and there.  So it's a one click approach where they get to see all the data that they want for all the different types of projects (grouped into one). 

  • It can be possible to have that many tables (I've dealt with 1000's), I had to deal with the 240 limit many times because of the views of views of views... issue

    95% of the time a rewrite of procedures and change on table structures was a more stable solution than pacthing the already patched code

    just my $0.02

     


    * Noel

  • Ouch... is it possible to see such a query?? I've never seen one that big .

  • They preffer scrolling through 1000s of rows and a few dozen columns to find data instead of doing 2-3 simple clicks and seeing only what they need????

    Are you sure you have the right managers for the job?????????

  • Unfortunately, I can't do anything ( posting realated ), I signed a confidentiality agreement and not even the name of the company can be said here ...  they can still provide me some business

    The reason also is that sometimes part of the query was automatically generated and you will get those 50-80 join monsters

     


    * Noel

  • I see. How fast was that monster running anyways??

  • To be honest those monsters are runned at scheduled times(because Everybody would suffer it if they were ad hoc) and hopefully nobody happen to invoke them at unexpected times. It has happened and only one is needed to bring the server to its knees for a while

     

     


    * Noel

  • How long does it take to run one of these?

  • It was very marked the difference between picked activity and non pick hours:

    When in normal(working hours) could drag the system for about 30min

    When scheduled (at night) 5 min will suffice

     


    * Noel

  • Hehe, I guess that 5000 less query/hour will do that to a server .

Viewing 15 posts - 16 through 30 (of 31 total)

You must be logged in to reply to this topic. Login to reply