Conversation started Mar 23, 2012 at 14:57.
Mar 23, 2012 14:57
we have restore and database-restoring
do we really need two?
I think db-restoring should be a synonym/merge of restore
@jcolebrand Actually, restore is a SQL keyword. Maybe it needs to have a specific tag blurb explaining the function of the keyword and referring to a restoring tag that explains backup/restore. Also posts with would have to be re-tagged appropriately.
0
A: Tag Cleanup - Vote for the following proposed tag changes

Jack Douglasmerge database-restoring and restore this is a no-brainer, right?

@AaronBertrand You're the reason I'd even heard of Qure. Is the licence that we get with SQL Sentry a perpetual licence or is it just a one-time licence for the instance monitored by Sentry within the boundaries of that bundle?
@JackDouglas See above.
@jcolebrand i agree :-)
Mar 23, 2012 15:00
See, this is why I was squiggly brained
@JackDouglas no no, see the above
@jcolebrand what cotw said?
Aye
@ConcernedOfTunbridgeWells if you would comment on @JackDouglas A above and mention what you just blurb'ed here.
and then if you want to improve
@jcolebrand I will. There are one or two other tag removals that I had similar issues with. For example schema is a specific concept and reserved word in T-SQL.
"restore" is what the whole world calls what the current tag means. IMO few people know or care about the details of the sql spec
or am I getting the wrong end of the stick
@ConcernedOfTunbridgeWells yeah, that's hard.
I also hate SQL Server
wtf? How can we differentiate here? To some people the database is a sql server (I've had people call it that and I'm sure I visibly cringed)
Mar 23, 2012 15:03
I hear "Microsoft SQL" all that time. That drives me mad
@JackDouglas Imagine a question like 'RESTORE DATABASE fails with xyz error when I use the command from a SQL script but i can resore fine from SSMS. What am I doing wrong?'
fits that fine as far as I can see - what is your issue with it?
@jcolebrand Unfortunately that's kind of reasonable because it refers to a product in much the same way as 'oracle' or 'sybase' do.
@jcolebrand what would you prefer, mssql?
@JackDouglas If someone wanted to ask about the usage of the keyword they might get confused by the gag alias.
Mar 23, 2012 15:05
@JackDouglas I think it means "which one does refer to?"
@JackDouglas yes, as a tag-prefix or suffix.
@ConcernedOfTunbridgeWells that is far too localized a use case to have an infulence on tagging IMO
Heady times at The Heap today
is probably more problematic in this respect. One could realistically ask quite a few legit questions about schemas in SQL Server.
we want our tags to be Googleable
@ConcernedOfTunbridgeWells schema also means something else in Oracle - tips the balance for me
@swasheck normal day innit?
:-)
You could alias to without this being an issue. The tag blurb could explicitly mention the restore keyword.
Anyway my meta-point is that banning keywords that correspond to reserved words in SQL is a bad idea.
@JackDouglas In what way?
Mar 23, 2012 15:09
@ConcernedOfTunbridgeWells yup - I'm saying it doesn't even need to
@ConcernedOfTunbridgeWells I don't understand!
@ConcernedOfTunbridgeWells against there being a generally accepted meaning of the word 'schema'
What's the point of a tag and how is what y'all are debating going to improve that point/usage?
@swasheck its a broad categorization
(sorry for use of "y'all." it slipped)
@JackDouglas to what end?
used for googling and filtering
@JackDouglas What I mean is that one of the suggestions on the meta question was to delete , because people were equating it to . My comment is that schema means something quite specific W.R.T. various database platforms, and is a reserved word in some dialects of SQL, so it isn't a good idea to ban the tag.
Mar 23, 2012 15:12
@JackDouglas googling and filtering for the use of seekers, or depots (like yourselves)?
@ConcernedOfTunbridgeWells but the specialized uses of the word schema are not big enough categories to merit their own tag, so we don't want them used as tags anyway
@swasheck googling for the great unwashed
However, it would be reasonable to alias to , so I have much less of an issue with the tag.
filtering for us
@JackDouglas ah. carry on.
:)
tags need to be "not too broad" and "not too narrow" or they are useless for either (actually worse than useless as they add noise)
:)
Mar 23, 2012 15:16
@JackDouglas I'm not keen on banning tags that correspond to SQL keywords, because people asking questions on those keywords may well find it quite confusing if their tag gets aliased to something wierd.
If I asked a question like 'How do I check for the existence of a schema before I create it?' and found my tags aliased to it might be a bit odd, and that tagging would be wrong.
so semantic precision is important in order for it to be properly understood by you, but broad enough so that someone like me who may not be able to understand the differences between "schema" in Oracle and Microsoft SQL Server (or however @jcolebrand likes it taxonomized) can still get their crap answered
@swasheck More like we don't want to proliferate bans on tags that people might use reasonably.
A given tag could have multiple meanings, and those meanings could be explained in the tag blurb. In more extreme cases the tag blurb could have specific admonishments to use other tags in particular cases.
@ConcernedOfTunbridgeWells Fair enough. There's quite a bit of semantic ambiguity and overlap, though (which you just addressed).
"schema" legitimately means a lot of things
For example, you could say something like: 'If you're asking a question about the design of a database, use .
Not that people read tag blurbs much anyway :)
This is way too deep for a Friday afternoon! ;)
Mar 23, 2012 15:23
@ConcernedOfTunbridgeWells that's far too complicated imo. 1 tag 1 meaning
otherwise use prefixes if you really have to
@ConcernedOfTunbridgeWells Right. But it's probably too narrow to boil tags down to either "processes" or "things." It seems more like that's the ideological debate.
@JackDouglas what's a prefix (serious n00b here)?
database-schema
database=prefix
not that I'm suggesting that tag
database-daatbase-design? ;)
@Phil :-)
@ConcernedOfTunbridgeWells by 'ban' do you mean 'synonym'?
ie 'effectively' ban
@JackDouglas Yes.
Mar 23, 2012 15:25
prefix = "thing", tag = "process" ?
would that be a strategy?
there is another kind of ban - blacklisting but noone is talking about that I think
(though it could get messy)
@swasheck general rule has to be dumb it down as far as you can
without losing the meaning
@JackDouglas If I wanted to ask a question about creating a schema and tried to use then I would get it aliased to , which is flat out wrong.
we cannot cover every base
@ConcernedOfTunbridgeWells and you would notice that and not use the tag?
which is correct :-)
Mar 23, 2012 15:26
@JackDouglas What would I use instead?
nothing!
the tags are not there to define the question domain in complete detail
or there would be many tags only used on 1 or 2 Qs
Hi @Leigh
How would you tag a question about working with a schema then? Bearing in mind that we do have tags for and suchlike.
@ConcernedOfTunbridgeWells ;-)
it depends
is daft - completely pointless on this for example
@JackDouglas Now we're expecting people asking questions to understand how the tag taxonomy works in order to avoid elephant traps that would result in incorrectly tagged questions.
@ConcernedOfTunbridgeWells I expect people to tag incorrectly whatever we do
we want to make it easy for those who know the ropes to retag appropriately
Mar 23, 2012 15:31
@JackDouglas But aliases like to encourages it.
which is easier with wildly inappropriate tags
@ConcernedOfTunbridgeWells my point is that either way the question will be incorrectly tagged - if it is about the Oracle or SS keyword that it shouldn't have the tag
try asking a Q and typeing "managemen" into the tags - you can see at a glance that it is a synonyn - this already starts the process of educating the user
same would apply with db-design/schema
@JackDouglas So what should it have? or is way too general to be of much epistemological use.
@ConcernedOfTunbridgeWells depends on the rest of the question
btw I thing Oracle and ss are very useful tags
@JackDouglas 'How do I check for the existence of a schema before I create it on SQL Server?'
just ss for me
Mar 23, 2012 15:35
@JackDouglas They are, but not specific enough to use just by themselves and have much value for categorising questions.
most questions aren't that simple
@JackDouglas if they take the time to read it
@JackDouglas It's a specific problem on SQL Server because object_id won't pick up schemas.
say 'schema' in Oracle was called 'qwertyuiop'. Would 'qwertyuiop' be a useful tag? no - too narrow
same applies to ss
that's aside from the clash with 'schema' in the general sense
@JackDouglas Do you think that specific language constructs or reserved words are too narrow as a general principle?
Mar 23, 2012 15:37
@ConcernedOfTunbridgeWells that depends on how many actual questions have been asked so far to which the tag would apply
In the case of 'schema'?
3
Q: Decision criteria on when to use a non-dbo schema vs a new Database

JoeGeekyI'm mostly an application developer but find myself having to do all the up-front database work for my current project (btw... its MS SQL Server 2008). As a first decision, I'm trying to figure out whether to divide my state using seperate Databases or using seperate Schema's in the same database...

2
Q: Is it safe to use "Safety" as a schema name?

JustinStolleI was considering using "Safety" as a new schema name in SQL Server. In SSMS, the term Safety is colored as a keyword, but this term is not listed as a reserved keyword in the BOL. The database does not complain if I create and use it, but is there any reason why I should avoid using it?

8
Q: Should dbo schema be avoided?

jraraWhen it comes to the dbo schema: Is it a best practice to avoid using the dbo schema when creating database objects? Why should the dbo schema be avoided or should it? Which database user should own the dbo schema?

you need 48 to get on the top page :-)
gbn
gbn
@ConcernedOfTunbridgeWells: Some IO fetishism for you sqlblogcasts.com/blogs/tonyrogerson/archive/2012/03/22/…
Mar 23, 2012 15:39
3
Q: Concept of Schema in Postgresql

codecoolI am not able to understand concept and usage of schema in Postgresql. I have no idea how it can affect my database design. Why should I use it? Can it affect me in future if I decide to not think about them right now and worry about them later? Explanation with an example will be nice.

2
A: Where should you define foreign keys?

Aaron BrownI'm going to go out on a limb here fully expecting this to get down-voted since this is a DBA-focused group. I agree that using strict foreign keys is the best decision in most scenarios. However, there are some cases where foreign keys cause more problems than they solve. When you are deali...

and see the comments by Vincent
chalk one up for MySQL on the fail-board
2
Q: SQL Server: hierarchy of permissions for schema?

jraraWe have several databases under development and I would like to start using SQL Server schemas for permission management and logical grouping of database objects. Under Schema Properties there is explicit permissions like Alter Control Delete Execute ... What is the hierarchy of these permiss...

2
Q: SQL Server 2008: How do I change the default schema of the dbo?

user962143When I attempt to change the default schema of the dbo in SQL Server Management Studio, the ALTER fails and states that the dbo account's schema cannot be changed. Are there any tricks that can make is possible to change the the dbo default schema of "dbo" to "xxx"? Thank you!

@Jackdouglas - maybe half a dozen on the first two pages of questions tagged , although they're far outnumbered by the ones on data modelling. As a subjective view, I'd say it would have been better to re-tag the ones about data models with and leave alone.
@ConcernedOfTunbridgeWells that is a lifetime's work :-)
@JackDouglas However, we do have a large community of users who care[tm] to do it.
You don't need all that much rep to re-tag a question. SE sites tend to accumulate a community of volunteer janitors to do it. You don't have to do the work all by yourself.
@JackDouglas - Is the core of your reasoning that Schema is too narrow to be a tag or that it can mean different things on different database platforms?
Says the guy who originally re-tagged all the questions on SO labelled to . Never seen so many captchas in my entire life.
@ConcernedOfTunbridgeWells :-)
@JackDouglas You're a long way from being the only tag nazi on the SE network.
@LeighRiffel btw thanks for you helpful comment on Shog9's meta post
@JackDouglas wouldn't a lot of tags be considered too narrow and not worthy of subscribing too? Triggers, View Join, Insert, etc.
Mar 23, 2012 15:47
@ConcernedOfTunbridgeWells hehe - though for the record I haven't actually done anything - I'm waiting for consensus here:
0
A: Tag Cleanup - Vote for the following proposed tag changes

Nick ChammasDelete schema. It is too generic to be useful. Most questions tagged with this are better served by database-design. Vote here on the synonym: http://dba.stackexchange.com/tags/database-design/synonyms

@LeighRiffel My instinct would be yes to (trigger, view, join) and no to (insert) but I guess it should depend on a review of the questions with those tags
@JackDouglas You are welcome, that statement seemed to de-legitimize the site and the DBA profession in general, although I don't think that was the intention.
trigger for example applies to many rdbmss (unlike the platform specific meanings of 'schema')
not that I'm suggesting that as the only criteria
@LeighRiffel yes I don't think so either, but it's good to correct it :-)
But triggers are implemented considerably differently in different databases just as schemas are. I do understand where you are coming from, but I think I'm with @ConcernedOfTunbridgeWells on this one.
The problem with [schema] is that it's ambiguous. It can have several and distinct meanings.
@LeighRiffel I think this also tangles with a 'what's in a name' problem that DBA (arguably at least) has. DBA.SE's definition of 'on topic' also explicitly includes advanced database development topics, and there has been much wailing and gnashing of teeth about the name confusing people.
Mar 23, 2012 15:53
@LeighRiffel tags are generally orthogonal so you'd have and .
@ypercube My thinking is that raised the bar even higher
@ypercube You can get the tag icon by using [tag:schema]
@ConcernedOfTunbridgeWells yup, just the same, but note that is on the front page
Mar 23, 2012 15:54
@ConcernedOfTunbridgeWells Thanks for the tag tip I was wondering that myself.
@ypercube It's not the only word that can have multiple meanings, I was using it as a specific example because it can have a meaning where the term refers to a specific feature but people could use it to mean
I'm arguing that it is too localized - and that the added complication of the clash with the generally accepted meaning of schema means the bar should be even higher before we accept it as a 'good' tag
but what matters is how people vote :-)
it's currently +3/-3
@JackDouglas That's not an unreasonable view, although I suspect that the correct approach to it is to allow the tag nazis to re-tag the questions appropriately.
so I'm certainly not planning to step in and change it unless that chanes dramatically
@ConcernedOfTunbridgeWells for the time being that should happen anyway, yes
I hope we can find some ;-)
Mar 23, 2012 15:59
@JackDouglas Don't we already have regulars that do this? I know that I do it from time to time.
@ConcernedOfTunbridgeWells I meant you :-)
I suspect that with a modicum of organisation (maybe a meta question or two) we would be able to develop a watch list of frequently misapplied tags.
2
@ConcernedOfTunbridgeWells I like that idea
@JackDouglas I'm happy to do some tag nazi work, and I imagine that some of the other regulars would be quite happy to do that as well. I don't think you need all that much rep to be able to re-tag questions.
@JackDouglas Shall I make up the meta question then?
@ConcernedOfTunbridgeWells I'm all up in the tag patrol.
Mar 23, 2012 16:02
Which reminds me, I was going to start a n00b FAQ link farm.
You guys are aces :-)
@JackDouglas Is actually still usable or is it impossible to tag a question with it without the question being automatically re-tagged to ?
@ConcernedOfTunbridgeWells looks like the synonym was voted through - not my doing
community thing
didn't know that
@JackDouglas Is it possible to vote to drop a synonym?
not sure, but I can remove it
Mar 23, 2012 16:05
@JackDouglas Would you do that in the meantime and we can always re-instate it if we get a mob of users turning up with torches and pitchforks?
@ConcernedOfTunbridgeWells given that meta shows we have no consensus to have the synonym, I've removed it. If things change on meta I may have to reinstate of course
@JackDouglas That's fine. In the interim my preferred approach is to split out the questions with into legitimate ones about schemas and re-tag the data modelling questions with . Anybody particularly object to that?
have fun with the pitchforks
my star says 'go for it'
@JackDouglas I shall do that at some point in the next few days.
@ConcernedOfTunbridgeWells you know I could merge the tags then you can just retag the shorter list?
you'd have to make a list first of course
Mar 23, 2012 16:10
@JackDouglas Don't worry at this point. I think there about 60 with and I'd rather than go through that than through all 352 questions tagged
@ConcernedOfTunbridgeWells you'd still go through the same list?
just making a list of which ones to retag back to after the merge
rather than retagging to
@JackDouglas I could put a link farm of them in a chat room perhaps, or do you have somehting a bit more sophisticated in mind?
less captcha
@ConcernedOfTunbridgeWells sophisticated? me?
no :-)
@JackDouglas OK, I'll make up a room with a list of ones to tag with .
Will ping you when I've done it, probably sometime next week.
 
Conversation ended Mar 23, 2012 at 16:14.