Business rule in db or the previous layer [closed] - database

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
In a system, where should the business logic be implemented?? Is it using PL/SQL blocks in the database or in its previous layer say java / .net?

I'm not wanting to be too unhelpful, but the business logic should be implemented in the business logic layer.
If you're actually asking where the business logic layer should be, then it really depends how you want to architect your system.
It sounds like (and I'll assume) that you are referring to the classic 3-tier architecture:
UI <--> Biz Logic <--> Database
This tells us that we should separate out UI code from business logic from database logic. Given your scenario this would imply that you should omit business logic from any blocks of PL/SQL code.

Related

suggest a database system to implement to c? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I need to create a program where I will be storing a bunch of data, not a whole lot but a lot of financial matter
I know my answer is all over google but some of those big database folks want to charge for distribution
others only run online or on a virtual host
What is a good free database that I can embed with C and together store information locally and possibly online?
Or should I write my own?
Or should I write my own?
Don't waste time inventing your own database unless existing code doesn't do what you need.
What is a good free database that I can embed with C and together store information locally and possibly online?
From your list of requirements, SQLite should fit your needs just fine.

Which NoSQL database fits best for the following purpose? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am now struggling to find a best database for the following purpose:
1. Store the online data every 0.1 second!
2. Easy to access the data in the database
3. Compatible for windows system
4. No need to be OpenSource Solution
Any suggestions?
Well there is alot of nosql db systems, most simplest for me are redis and mongodb.
I use redis for highload apps, and mongodb for easier access to data (if you came from sql world). Both have windows versions, both open sourced.

Database Algorithmic Scaling [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've recently been tasked with doing some "big data" stuff with an existing Oracle database. The relevant table has 300 million entries, and is ridiculously slow. Are there any good books out there that explain how various options in the DB construction effect the algorithmic scaling (O(n), etc) of various queries? And how different query operations themselves effect scalings?
I'd prefer to get an understanding of how the underlying algorithms work rather than just ad hoc suggestions.
Jonathan Lewis' book on Cost-Based Oracle Fundamentals may be what you're looking for.
For particular techniques regarding querying large data sets the Oracle Data Warehousing documentation would be a good start.

Any library that helps build a clustered, distributed, event bus library? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there any Java library that allows to build a clustered (thus, distributed) event bus?
I'm not talking about relying to external pub/sub services like ZeroMQ/RabbitMQ/Redis, but a Java library that does all that internally (that is, keeping the connections to the other machines, synchronizing data and managing downtimes, etc).
Thanks
I suggest checking out the Akka middleware project - it uses the Actor model for designing concurrent/distributed systems. It is designed for Scala but provides a nice Java API.

Which database should I use for a medium SaaS CRM? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Which database should I use for a medium SaaS CRM? nosql or relational database?
Oracle
Sql Server
CouchDB
etc.
Any suggestions?
Wow, not giving us much to go on there. There are many good DBMS systems out there from the relational to document based to object based. One of the reasons there are so many is they each have advantages and disadvantages in different application scenarios. With so little to go on I'd say use the one you're familiar with unless there's a driving reason to use another.
MYSQL would be a great idea as it is open source and is gaining acceptance in enterprise also.

Resources