home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!WMAVM7.VNET.IBM.COM!MASEMORT
- Message-ID: <SQLINFO%93012115234266@UICVM.CC.UIC.EDU>
- Newsgroups: bit.listserv.sqlinfo
- Date: Thu, 21 Jan 1993 16:04:56 EST
- Sender: "Forum for SQL/DS and Related Topics" <SQLINFO@UICVM.BITNET>
- From: MASEMORT@WMAVM7.VNET.IBM.COM
- Subject: SQL performance
- Lines: 41
-
- Concerning Gene Branham's performance questions
-
- >1). If an index is not clustered at 10000, does reorganizing that index
- > help? or does the file need to be dumped and reloaded?
-
- Reorganizing an index will NOT recluster the data. Clustering refers to
- the data being physically in the same sequence as the index key values.
- Index values in SQL/DS are ALWAYS maintained in key value sequence. The
- file must be dumped and reloaded.
-
- >2). Does any one know if the Reorganize function of DBSU use pages in the
- > DBSPACE of the index, or pages in the Internal DBSPACE area for work
- > pages?
-
- The REORGANIZE INDEX function uses internal DBSPACE for work pages.
-
- >3). Is there a rule of thumb to estimate how many pages will be
- > needed for a reorganization?
-
- If you are referring to REORGANIZE INDEX, all index key values will be
- saved in an internal DBSPACE, which can be used to calculate space
- requirements.
-
- >4). At what clustering level (i.e. 9000 8000 etc.) would you say that
- > performance is degraded to the point that table reloading is
- > required?
-
- SQL/DS Development has continued to support the use of the CLUSTER flag
- for determining when to reorganize the data, rather than the clusterratio
- value, which does not translate directly to the CLUSTER value.
-
- >Any information or suggestions anyone can give me on perofrmance tuning
- >would be greatly appreciated.
-
- From IBM, GG24-3429, "SQL/DS Performance Analysis and Tuning Cookbook".
-
- From Dov Gilor, published by John Wiley & Sons, "SQL/DS Performance,
- Techniques for Improvement".
-
- Terry L. Masemore
- IBM SQL Master/VM Development
-