Best size of comment - SQL Server [closed] - sql-server

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Best length of comment on app is 4000? I want to know standard of social network.
How can I show it on SQL Server?
Is it must be nvarchar(?) or varchar(?) or ntext or ...?
Thanks for your help

Maybe it depends.. Facebook comments can be up to 8000 chars. Twitter only 160 (includes twitter space)
If you are using SQL Server, heard ntext will be deprecated. Some blogs suggest to go with varchar, until and unless you have a very specific business with respect to unicode chars.

Related

Slowness while using NFS shares on kubernetes [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I have a K8s-Cluster running which had some Pods/Statefulsets running PostgreSQL.
As PersistenVolumes I only have a NFS-Shares. Now the performance of the PostgreSQL is getting slower.
Can it be related to the fact I'm using NFS-Shares?
What should I use instead?
Yes, it could be one of the reason since it is network file system, any glitches or high load could performance issue with the underlying application and it is always best to use the block storage like Ceph, amazon ebs etc.

Images In SQL Server [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Is it better to save a image path as (varchar) in a database or save it as blob/varbinary. The image will appear on front end and I will be using asp classic to implement that.
Generally speaking I find that it is easier to save the image path in the database. This makes the database more portable and I find that it is easier to control access to the data.
There is a discussion here that gets further in depth. They come to the same conclusion that I do. File paths are generally better.

Benefits of Using Datasets [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I understand that datasets contain datatables and that they can house the relationships between those datatables. I am making a simple form that gets data from SQL Server by way of stored procedures that return the records I need subject to certain parameters. It is not strictly necessary that I model relationships between the datables. Are there other benefits of using a dataset to contain them, or am I just as well off to leave them free standing?
For example, you can automatically perform actions on related tables (autodelete). Or you can add restrictions which will depend on such relations.
And it will help you to draw a database diagram.

Desining a database for word frequency and text analysis [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have a bunch of articles, on which I want to do word frequency and trend analysis.
The articles are tagged with date, author, theme and subject. I want to use these tags to slice the data so that I can get the most common words used for a specific author (or group of authors), theme(s) or subject(s). Overall and over time (trend).
How would I design this database (relational or other) or should I create a data cube?
Rizzoma.com made this with couchDB (noSQL) and Sphinx (fulltext search engine).
You can try to make it in another way, if you want, or test existing solution and repeat it.

CakePHP: Full blown internationalized web application [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Can any one point to resources for internationalizing a web application using CakePHP.
Opinions differ, but I personally feel that the documentation for CakePHP on i18n is not up to the mark [please don't post your opinions though].
A full blown example will definitely be quite handy! Any resources?
You can look into the source code of a available cakephp application (maybe croogo)

Resources