• Complain

Stelios Charalambides - Oracle SQL tuning with Oracle SQLTXPLAIN

Here you can read online Stelios Charalambides - Oracle SQL tuning with Oracle SQLTXPLAIN full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Stelios Charalambides Oracle SQL tuning with Oracle SQLTXPLAIN
  • Book:
    Oracle SQL tuning with Oracle SQLTXPLAIN
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2013
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Oracle SQL tuning with Oracle SQLTXPLAIN: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Oracle SQL tuning with Oracle SQLTXPLAIN" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Oracle SQL Tuning with SQLTXPLAIN is a practical guide to SQL tuning the way Oracles own experts do it, using a freely downloadable tool called SQLTXPLAIN. Using this simple tool youll learn how to tune even the most complex SQL, and youll learn to do it quickly, without the huge learning curve usually associated with tuning as a whole. Firmly based in real world problems, this book helps you reclaim system resources and avoid the most common bottleneck in overall performance, badly tuned SQL. Youll learn how the optimizer works, how to take advantage of its latest features, and when its better to turn them off.* Quickly tune any SQL statement no matter how complex.* Build and tune test cases without affecting production.* Use the latest tuning features with confidence.What youll learn* How and why complex SQL goes wrong* When statistics are crucial and when they are not* How and when the tuning facilities of the database can help or hinder* When to tune and when not to tune* Which steps in an execution plan are crucial to performance* How the optimizer works out the execution planWho this book is forOracle SQL Tuning with SQLTXPLAIN is ideal for everyone who deals with SQL and SQL tuning. Both developers and DBAs will benefit from learning how to use the SQLTXPLAIN tool along with the problem solving approach described in this book.

Stelios Charalambides: author's other books


Who wrote Oracle SQL tuning with Oracle SQLTXPLAIN? Find out the surname, the name of the author of the book and a list of all author's works by series.

Oracle SQL tuning with Oracle SQLTXPLAIN — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Oracle SQL tuning with Oracle SQLTXPLAIN" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make

About the Author

Stelios Charalambides has more than 20 years experience working with Oracle - photo 1

Stelios Charalambides has more than 20 years experience working with Oracle databases. He is OCP certified from 7 to 11g and has worked as a Senior Consultant DBA on both sides of the Atlantic, dealing with all aspects of system design, implementation, and post-production support, solving practical problems in a wide variety of environments. He now works as a Principal Oracle Support Engineer developing time- critical solutions for tier-one customers with high-profile performance problems. Though born in the UK, Stelios now lives in New Hampshire with his wife, two children, and two dogs. Once this book is complete, he looks forward to devoting more time to his hobbies.

About the Technical Reviewer

Mark Bobak is a Senior Oracle DBA at ProQuest Company in Ann Arbor, MI. Hes been working in IT for over 25 years. For the past 13 years, he has worked as an Oracle DBA. He is an Oracle ACE and a member of the OakTable Network. He is also active in his local Oracle User Group (SEMOP) and attends and presents at conferences at the local, state, national, and international levels.

Acknowledgments

Carlos Sierra is the author of SQLTXPLAIN. His enthusiasm, patience, and willingness to listen allowed me to enter the world of Oracle SQL tuning with SQLT. Without his help and inspiration, this book would not have been possible. I hope that the text meets his expectations and that I havent made any errors in my description of his baby. If I have I apologize. The error was all mine.

Thanks are also due to my first family within Oracle (The Oracle Performance Group), Chris Crocker, and Cathy Scully (who had the good sense to hire a Brit) and Mike Matagranno, whose persistence in getting me to move to Oracle was truly astounding. I hope none of you have regretted that decision. Special mention must go to Mauro Pagano, whose special knowledge and endless enthusiasm convinced me that I had something useful to say about SQLT.

Many thanks also to Mike Gervais, my first manager, whose kindness helped so much during my first months at Oracle. Alan Bashy, Nick Meola, and Peter Gadah are fellow members of the performance team who also deserve special mention. They are truly awesome and showed me that no matter how much you think you know about tuning, there is always more to learn. I have been very lucky to come across so many knowledgeable and enthusiastic colleagues and managers. There isnt room here to thank them all, and for that I am sorry.

Thanks are also due to Professor Garry Hunt who always believed in my potential and taught me that anything is possible if you put your mind to it.

From Apress, Jonathan Gennick made the final decision to publish this book, showing faith when others were doubtful. Thanks also to Anamika Panchoo, who put up with my missed deadlines: Im sorry, I did my best. Last but by no means least, Chris Nelsons herculean efforts have made immeasurable improvements to my poor illiterate scratchings (dont change that) and allowed me to produce a book I hope will be useful for years to come. Chris shouted, pushed, and otherwise kept me going by telling me the finish line was just around the corner. For your patience and hard work I sincerely thank you.

APPENDIX A

Picture 2

Installing SQLTXPLAIN

You may ask, why show the installation log for a utility that installs in five minutes and only has at most five parameters as inputs. The plain fact of the matter is that despite the simplicity of the inputs and that most installs can be quick and easy, there are situations where the installation can fail: either because the inputs were wrong or because the installation steps were not done from suitably privileged accounts. You occasionally get questions about an installation that may have worked, but the user is not clear. This is another reason to show what a normal installation looks like. I also look at alternative ways in which SQLT can be installed, including a silent mode and a remote install mode. There are also ways to change the setup of SQLT after it has installed, and I mention some of the options available there. Finally I also mention how to de-install SQLT, in case you want to install a later version, for example. By showing these options and describing the installation, I hope to convince you that the installation is simple and robust and should be considered an asset to any system rather than a liability.

A Standard SQLT Installation

As an assistance to anyone installing SQLT I have supplied a partial install log of the SQLT utility. I have highlighted and documented those areas of the installation that are of interest and note. New comers to SQLT may find this useful, but regular users will find the section on other ways to install SQLT more interesting. In the example SQLT installation below I have bolded my responses to make it clear where I am entering data, and I have removed blank lines for brevity. In this example the SQLT zip file has been downloaded to a local directory and unzipped. Inside the zip file we find the sqlt directory and the install directory (as we saw in Chapter 1). Now we connect as SYS into SQL*Plus and start the main installation script sqcreate.sql

SQL> @sqcreate
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
RDBMS_RELEASE
-------------
11.2
RDBMS_VERSION
--------------------------------
11.2.0.1.0
no rows selected

So far the installation has initialized and discovered the environment it is installing itself into. The next steps are to gather information so that the installation can be properly targeted. For most circumstances installing into the local database is the easiest and simplest option. You only need a tablespace in which SQLT will store its information, packages, functions, and the data repository. The size of this is generally very small (in my small installation this was about 2 Mbytes). If you specify a remote connection here the data will be stored elsewhere, such as on a remote database.

Specify optional Connect Identifier (as per Oracle Net)
Include "@" symbol, ie. @PROD
If not applicable, enter nothing and hit the "Enter" key.
This connect identifier is only used while exporting SQLT
repository everytime you execute one of the main methods.
Optional Connect Identifier (ie: @PROD):

The optional Connect Identifier is not often used, as you are normally installing SQLT locally. We cover the case of a remote install later, in the section A Remote SQLT Installation. In this case, however, we just press Return.

PL/SQL procedure successfully completed.
Define SQLTXPLAIN password (hidden and case sensitive).
Password for user SQLTXPLAIN: oracle
Re-enter password: oracle
PL/SQL procedure successfully completed.
... please wait
TABLESPACE FREE_SPACE_MB
------------------------------ -------------
USERS 246
Specify PERMANENT tablespace to be used by SQLTXPLAIN.
Tablespace name is case sensitive.
Default tablespace [UNKNOWN]: USERS
PL/SQL procedure successfully completed.
... please wait
TABLESPACE
------------------------------
TEMP
Specify TEMPORARY tablespace to be used by SQLTXPLAIN.
Tablespace name is case sensitive.
Temporary tablespace [UNKNOWN]: TEMP
PL/SQL procedure successfully completed.

The next section is the part of the installation that most often causes confusion. The main application user of SQLT is the schema name of the user that actually executes the SQL to be analyzed. This is not SQLTXPLAIN. Throughout most of this book my example schema is called STELIOS, so I enter

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Oracle SQL tuning with Oracle SQLTXPLAIN»

Look at similar books to Oracle SQL tuning with Oracle SQLTXPLAIN. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Oracle SQL tuning with Oracle SQLTXPLAIN»

Discussion, reviews of the book Oracle SQL tuning with Oracle SQLTXPLAIN and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.