RavenDB: efficient enough? [closed] - ravendb

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.
My boss asked me to think about migrating to a non-relational database like RavenDB. As I understand, I would have to rewrite in C# all my stored procedures. Could you please tell me if using RavenDB is a good idea, and would it be efficient enough?
Thanks.

Your question is ambiguous. Comparing RavenDb to SQL on the matter of efficiency is not relevant. Efficiency itself is ambiguous here. However..!
A well designed Lucene index (basic/core mechanics of RavenDb) will likely perform better than a stored procedure (especially if infested with logic). So basically, potentially faster.
Also, it will help extracting that logic (if any) to where it belongs.
The C# API is amazing...

David,
You won't have to write stored procedures to use RavenDB, and it is highly efficient and scalable.

Related

What are typical 'programming' sources of vulnerability to SQL injection exploit? [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.
Im trying to understand more about SQL injection, I know how it works and how to protect against it, but I just have a few questions.
What are typical 'programming' sources of vulnerability to SQL injection exploit?
What are typical 'system' and coding mechanisms that can be used to protect against SQL injection?
I would appreciate straight answers not links as I dont find them useful.
Thank you
Sources:
Not validating your input types.
Concatenating Strings with inputs directly.
Not using PreparedStatements to guarantee that only one instruction is executed.
Solutions:
Use prepared statements.
Validate input types (may be redundant if above point is used correctly).

Is there an obvious database design for a bulletin board / forum? [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 some kind of obvious database should I use for a Bulletin Board if I wanted to code one? I think I know how to code the rest of it, I know the imperative code to handle the logic, but I don't really know much about databases yet. This I can learn of course, I'm just wondering if there is something obvious I should know in the beginning, or an obvious place to start learning, besides sql 101. Also, please don't suggest reading the code of an open source project. I know that option is there. It's hard to decipher code in a language you don't understand really well.
You can check out this place they've got tons of database sample you can use to jumpstart a project http://www.databaseanswers.org/data_models/

How To Pick a Database? [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 11 years ago.
In this day and age, with a new NoSQL databases popping up every weekend..
Are there any good and up-to-date resources on how to pick a database(s) that will suit your web application needs?
If you're interested in trade-offs and feature comparisons Wikipedia tends to be updated more than others.
Relational Database Comparison: http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems
NoSQL Feature Comparison: http://en.wikipedia.org/wiki/Comparison_of_structured_storage_software
If you want a more direct answer you can always post the requirements you have and you'll get a lot of helpful answers. It's a pretty broad subject and, other than feature comparison matrices like the ones above, you'll mainly get subjective answers unless you have an objective question (ie specific requirements).
Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Membase vs Neo4j comparison
NoRAM DB => “If It Does Not Fit in RAM, I Will Quietly Die For You”
Although I would also advise considering a SQL data back end ( e.g. PostgreSQL, Drizzle ) with a cache layer, e.g. Redis on top of it. Unless you have an actual reason to use NoSQL. The reason can by the way be NoSQL is cool and I'd like to learn it, but if that is all, usually it may hurt at the end.
Does the problem have to do with money transactions? Are you going to have a distributed system?

SQL interview question [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 11 years ago.
I got following question on an interview:
Which SQL mechanisms allow user to browse tables sequentially?
Cursor is a good example - but I don't think you could really argue that Cursors are truely a part of SQL - rather they just tend to come bolted in with procedural languages used on database servers - like pl/SQL and T-SQL.
You could also make an argument for Recordsets, Dynasets, DataTables and DataViews, but those aren't part of SQL itself either.
They might be referring to ORDER BY with a sequential field on the table, but if so, they've not phrased their question very well...
Martin.
"CURSOR" might be the word that you should google for.

Difference between mysql and sql server? Performance, features,...? [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.
What are the differences between MySQL and Sql server?
What are the parameter to chose between the two?
Several questions here related to DB comparisons of various flavors:
What are the major differences between databases?
https://stackoverflow.com/questions/404776/why-isnt-postgresql-as-widespread-as-mysql
Where to find a good reference when choosing a database?
postgresSQL mysql oracle differences
The paramater to choose between the two is the price tag. How much do you "expect" to pay for your database. If its zero then MySQL is probably good enough for you, if its 10k then SQL Server is probably good enough for you.
As for the actual differences, there are too many to list.