I would advise to move the CDR mediation/rating to your host language; working with stored
procedures in MySQL is quite cumbersome which I tried in the early days of Fullrate, but
quickly decided to drop it due to the language itself, lack of good debugging facilities,
weird error messages, etc.
Of course, if your rating is a very basic formula, like duration * priceplan[B-number],
you might give it a try.
Haktan / CIO / Fullrate
From: Peter W. Nielsen [mailto:peter.nielsen@stripped]
Sent: 25. november 2008 10:41
Subject: Stored Procedures?
Anyone have experience with using stored procedures in MySql?
I'm currently upgrading an old program that decodes Tap 3.10 files (files
containing mobile call data), rates the calls and insert them into the DB.
I'm looking at a solution that is decoding the calls, and leaving the rating
and post processing to stored procedures in the DB.
But at this time I have no clue how stored procedures perform.
The amount of data processes is currently around 5.000 calls a minute, and
they would require 3-4 db calls before the final rating is done.
Peter W. Nielsen
Lebara Mobile Danmark | Bådehavnsgade 2C | 2450 København SV | www.lebara.dk
E-MAIL: peter.nielsen@stripped | MOBILE: + 45 50 100 190 | FAX: + 45 33 445
THIS COMMUNICATION IS PRIVILEGED AND STRICTLY CONFIDENTIAL AND IS INTENDED
SOLELY FOR THE PERSON OR ORGANISATION TO WHOM IT IS ADDRESSED. THE VIEWS AND
OPINIONS EXPRESSED IN THIS EMAIL MESSAGE ARE THE AUTHOR'S OWN AND MAY NOT
REFLECT THE VIEWS AND OPINIONS OF THE AUTHOR'S EMPLOYER. IF YOU ARE NOT THE
INTENDED RECIPIENT OF THIS EMAIL, PLEASE NOTE THAT ANY REVIEW,
DISSEMINATION, DISCLOSURE, ALTERATION, PRINTING, COPYING OR TRANSMISSION OF
THIS EMAIL AND/OR ANY FILE TRANSMITTED WITH IT, IS PROHIBITED AND MAY BE
UNLAWFUL. IF YOU HAVE RECEIVED THIS EMAIL IN ERROR, PLEASE NOTIFY US AS SOON
AS POSSIBLE AND DELETE IT AND ANY ATTACHED FILES FROM YOUR SYSTEM. PLEASE
NOTE THAT WE RESERVE THE RIGHT TO MONITOR ALL EMAIL COMMUNICATIONS THROUGH
OUR NETWORK. WHILST THIS EMAIL MESSAGE HAS BEEN SWEPT FOR THE PRESENCE OF
COMPUTER VIRUSES, LEBARA DOES NOT, EXCEPT AS REQUIRED BY LAW, REPRESENT,
WARRANT AND/OR GUARANTEE THAT THE INTEGRITY OF THIS COMMUNICATION HAS BEEN
MAINTAINED NOR THAT THE COMMUNICATION IS FREE OF ERRORS, VIRUSES,
INTERCEPTION OR INTERFERENCE.
|• Stored Procedures?||Peter W. Nielsen||25 Nov|
| • RE: Stored Procedures?||Haktan Bulut||26 Nov|