This content has been marked as final. Show 15 replies
Thank you for trying out the 3.1 EA and taking the time to report this. I have logged an internal bug:
Bug 13683879 - 3.1EA3: FORUM: GENERATE DB DOC SHOULD NOT INCLUDE TABLE FLASHBACK DATA
That behavior is incredibly annoying, and I suppose the data is even more voluminous if Flashback is actually enabled. So much for testing on tiny, development databases...
A workaround of sorts would be to create a dummy schema, do a Database Copy into the dummy of just the DDL from the schema you wish to report against, then run Generate DB Doc against the dummy schema.
SQL Developer Team
Thank you, so much, for taking the effort to review my post. I really hope this is fixed for the 3.1 Finasl.
As for the workarround, it is not very feasible for me. I have 9 databases with around 20 schemas each. I cannot do that procedure so many times :-)
For now the best I could find was to just run all db doc generations, then use scripts to delete all files which contain "flashback.html" and then run another script with a regular expression which deletes all lines (within all files in all /table sub-folders) with a <div> tag, containing the link to those flashback files.
It is not pretty but at least I can do it automatically.
It's a bit late in the 3.1 cycle now, but I suppose we can always hope for a patch or interim release between 3.1 and 3.2.
You seem very resourceful. With 180 schema to process, I suppose what you really would like is for SQL Developer to provide a:
1. Command line interface with a scripting language, or (at least)
2. Command line options like our Unit Testing feature
Then you could fully automate generation of the DB documentation.
Oh, yes, that would be my christmass wish come through.
I was thinking about posting such feature request on the Oracle SQL Developer Exchange site, but I see I need comrads there to vote and I wouldn't count on this so much.
What I was hoping for more is actually an option to generate a common DB Doc for several schemas within one database, e.g. I have Connections inside folders - the 20 most significant ones.
I would like to be able to tell SQL Developer to generate DB Doc for all my connections.
This of course would mean that dependencies between schemas would be inter-linked in the html docs. Such as a table in schema A is referred to in a package at schema B the table name would be a clickable link, pointing to the documentation of the table from A. Currently such links are available only for objects within one schema.
Also a search would alow for me to find, let's say, a package by its name, regardless of its schema (owner), etc.
Or am I getting too greedy :-)
P.S. I have some more nice ideas of the kind
FYI, I've posted a reference to this thread in our internal to do list but you may also want to add this to the Feature Requests at the SQL Developer Exchange. This not only makes sure we don't forget, but also gives other users a chance to add their vote for the feature and provides a forum for you (the user base) to brainstorm on how you prefer it to work.
SQL Developer Team
I`ve just found this thread, and i think there is one feature, that could be added to DBDoc generation:
1a)DBDoc generation wizard - to choose, which of the db objects should be in final document,
1a)scripting options, to configure generation.
This would be very helpful, in case, you must generate a doc from just, for example, 5 updated packages. Now you must wait for whole db doc, and then exclude unnecessary objects...
It would be great, if someone from SQLDev team could look over these ideas.