Hi people.
I have some questions that would like share and receive inputs to help me chose the right path, I had learn a lot in this bsd forum.
We got a ERP system that have some issues that we want to attack, the current system use a db, it has users, acl, no issue here, the issue is that is not logging what the users are doing.
I mean if User1 access purchase, open a PO change some data, save done.
I cannot know what data he changes, this for us is very important.
We have access to the db, them are moving screens to the web with php and we can do a hack and start creating a logging system for the ERP.
I hear about no-sql systems that can handle a lot info and a lot of sites start using them to analise users data and learn better their type of users, this system are being use where a RDBMS is slow, managing a lot of info.
Something cross my mind them, can one of this system help me?
Now, latter I stop and watch what FreeBSD, Linux do with the logs, syslog handle this in text files:
one line, we install a syslog analizer and we got reports for apache that tell me what the users are doing.
Now, lets go back to my issue, if user1 access the system, purchase module, open the PO screen, input a PO, make some changes, save done.
My app will apply the changes to the db, them for example, grab the whole fields, concatenate them create a string like this:
The user change the delivery date, I don't care about indexes, I want to know the whole data, latter with a log analyzer I can get a report about what had happen to the screen12, I don't care about what tables, I care about the screen number data.
Now, in the db I can create a table called, LogPurchase, there some fields and one varchar to hold the whole string I want to log.
But a lot of users will be updating, deleting, adding data to the database at the same time.
If my idea is good, MySQL can do the trick and good performance or is better to use a no-sql type system? if this is my path which could be, I want to start working here.
Or how can I attack this log issues and not affect my system performance?
Any input will be appreciated, I hope to be clear and if u need more details about my idea let me know please, thanks
I have some questions that would like share and receive inputs to help me chose the right path, I had learn a lot in this bsd forum.
We got a ERP system that have some issues that we want to attack, the current system use a db, it has users, acl, no issue here, the issue is that is not logging what the users are doing.
I mean if User1 access purchase, open a PO change some data, save done.
I cannot know what data he changes, this for us is very important.
We have access to the db, them are moving screens to the web with php and we can do a hack and start creating a logging system for the ERP.
I hear about no-sql systems that can handle a lot info and a lot of sites start using them to analise users data and learn better their type of users, this system are being use where a RDBMS is slow, managing a lot of info.
Something cross my mind them, can one of this system help me?
Now, latter I stop and watch what FreeBSD, Linux do with the logs, syslog handle this in text files:
Code:
/oaknew/bin/modulos/datacollector/data/abc_workord.php HTTP/1.1" 200 29
"http://192.168.2.48/new/bin/modulos/datacollector/datacollected.php"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921
Ubuntu/10.04 (lucid) Firefox/3.6.23"
one line, we install a syslog analizer and we got reports for apache that tell me what the users are doing.
Now, lets go back to my issue, if user1 access the system, purchase module, open the PO screen, input a PO, make some changes, save done.
My app will apply the changes to the db, them for example, grab the whole fields, concatenate them create a string like this:
Code:
ip, user1,2011-12-08 15:58,screen12,ponum,totalamount,4 items,delivery-date
The user change the delivery date, I don't care about indexes, I want to know the whole data, latter with a log analyzer I can get a report about what had happen to the screen12, I don't care about what tables, I care about the screen number data.
Now, in the db I can create a table called, LogPurchase, there some fields and one varchar to hold the whole string I want to log.
But a lot of users will be updating, deleting, adding data to the database at the same time.
If my idea is good, MySQL can do the trick and good performance or is better to use a no-sql type system? if this is my path which could be, I want to start working here.
Or how can I attack this log issues and not affect my system performance?
Any input will be appreciated, I hope to be clear and if u need more details about my idea let me know please, thanks
