<quote>
sorry if this sounds overbearing, that is not my intention. I'm just on a crusade to get people to *read the stuff*.
</quote>
...in other words, READ THE MANUAL ;-)
I know, a lot of people don't - and there can be loads of useful information in manuals.
I did actually TRY to read Oracle's various manuals, but in the end I just gave up. It was vastly too hard to find the information I wanted. The documentation just seems to be a HUGE mass of pageso, and I really struggled to work out where to look for various things.
...so I went out and bought a book about Oracle. Suddenly everythnig made much more sense. (For example, as a result our database is now *regularly backed up*, which is always a Good Thing[tm]...)
<quote>
also, one should keep in mind that this is a continual learning process. I learn something new about Oracle every single day -- and I've been using it for 16 years.
</quote>
Surely this is true of just about any nontrivial area of knowledge! ;-)
<quote>
question for you tho
why would you want to know how to switch logs? before knowing what logs are, do, etc? I mean -- switching logs manually just isn't "something normally done" -- ever? I would hope it would be something you would think about after reading something like the admin guide (as it is sort of an admin task)
</quote>
Oh, totally - if I hadn't already worked out what a redo log is, I wouldn't be trying to do a log switch. The fact is, I was working on a test database, and I wanted to change the redo log size. To do that, create new logs and drop the old ones. But you can't do that while one of them is active...
As I say, I had no idea where to look in the documentation to find the command... I eventually found it (I now have the printout for ALTER SYSTEM and ALTER DATABASE on my desk, since these are the two most used commands ever!)
<quote>
a) I want to switch logs (why, no idea, just do)
b) log mgmt is an admin task.
c) admin task are in the admin guide
d) admin guide has chapter 7 "managing the online redo log"
e) i goto that chapter and the first page has list of topics
f) read list and see "forcing log switches"
</quote>
I got lost at B... I wouldn't know what to classify the task under! :-S
C... I didn't realise there even WAS an "admin guide"... I'll have to see if I can find that... wonder what else is in it?
D, E, F - C kinda makes these moot.
<quote>
hmmm. Perhaps you are just only using the sql ---->>> REFERENCE <<<---- (would hope academics at a school would understand the use of a reference manual vs the others -- well, actually, I would hope a lecturer at a university to which I'm paying big bucks would have long ago -- i don't know -- sort of MASTERED the topic they are lecturing on?)
</quote>
Well *I* was only reading the SQL Reference (and it wasn't easy to find - there's SQL, there's SQL* Plus, there's PL/SQL [no idea what the difference is or which one I need to read about])
/* Dear me - too many nested comments! :-S */
When at Uni, I didn't have access to *any* documentation at all. Just had to take very good notes. ;-)
As for the lecturers... well yes, you would have thought your money would buy you something. To be fair, they knew just about everything there is to know about writing SQL queries and designing schemas. Just not about the exact implementation of who Oracle does other stuff. (Concurrency, backups, etc.) Wasn't really part of the course anyway...
...
Mmm... now that quote from the Admin Guide sounds a lot more helpful than anything I managed to find before! I'll have to see if it's on my CD...
<quote>
You see -- I violently disagree that the documentation "needs to get better".
</quote>
I couldn't tell. ;-)
No, seriously... what good is having all these great explainations if I can't find them? They may as well not exist if I don't know where they are. Fact is, all the documentation I could find was terse or just confusing. [Yeah, I know - you're going to tell me I'm looking in the wrong places.]
<quote>
Let's take that example again. I want to find out how to switch logs. Ok, I goto
</code>
http://otn.oracle.com/pls/db92/db92.homepage
(which is the online docs, freely available to anyone on the planet).
</quote>
Well, it keeps asking me for a username and password. (Just like the discussion forums did. When I tried to apply for said account, the website demanded all sorts of details I'm not willing to give out... Presumably this is a similar thing.)
But hey, the documentation is all on my CD - somewhere.
<quote>
In my last book -- I even set up a roadmap of required reading:
</quote>
Yeah - I saw a preview of Chapter 1 online somewhere. (Well, can't remember exactly WHICH of your books, but one of them.) The whole chapter was in fact rather good if I may say so.
<quote>
You wanted 64k rows. Well, we can generate as many rows as we want by selecting from some tables.
</quote>
Didn't know there was a table called ALL_OBJECTS... Given that there is, and that it's big, this now makes more sense. (There's still that RowNum part though - if I could figure out which manual to look in, it's probably there somewhere. Another one of those Oracle mysteries - like that DUAL thing... [I'll save that for another thread])
<quote>
/* */ is a comment
/*+ .... */ is a HINT
</quote>
OK... (I think!)
</quote>
http://d
/*+ APPEND */ specifically is a direct path insert, used in bulk loads for high speed loading. You'll have to see:
http://d <code>
to fully appreciate it
</quote>
Also asks me for passwords... lol. But again, I suppose it's in the documents somewhere.
Anyway, I've hopefully solved the present problem. I don't really want to get into a big argument about how good Oracle's documentation is or isn't. I shall go forth and make a second attempt at reading it, and see if I can find anything useful. (Like why my test database throws strange and obscure errors at me, etc.) If I have any more specific questions, I'll come back and ask.
Thanks for your time.