Issue Details (XML | Word | Printable)

Key: DERBY-737
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Mamta A. Satoor
Reporter: Kathey Marsden
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

SYSCS_UTIL.SYSCS_COMPRESS_TABLE should create statistics if they do not exist

Created: 01/Dec/05 09:52 AM   Updated: 28/Feb/08 05:21 PM
Return to search
Component/s: SQL
Affects Version/s: 10.0.2.0, 10.0.2.1, 10.0.2.2, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6
Fix Version/s: 10.2.2.0, 10.3.1.4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works DERBY737_v1_diff_SYSCS_COMPRESS_TABLE.txt 2006-10-12 03:11 AM Mamta A. Satoor 15 kB
Text File Licensed for inclusion in ASF works DERBY737_v1_stat_SYSCS_COMPRESS_TABLE.txt 2006-10-12 03:11 AM Mamta A. Satoor 0.4 kB
Issue Links:
Reference
 

Resolution Date: 16/Oct/06 09:44 PM


 Description  « Hide
There must be an entry in the SYSSTATISTICS table in order for the cardinality statistics in SYSSTATISTICS to be created with SYSCS_UTIL.SYSCS_COMPRESS_TABLE

SYSCS_UTIL.SYSCS_COMPRESS_TABLE should create statistics if they don't exist. The only way to create them if the index was created on an empty table, seems to be to drop and recreate the index after the table has been loaded.


The documentation will also need updating if this change is made.
http://db.apache.org/derby/docs/10.1/tuning/ctunstats57373.html

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.