I am setting up an ASE 15.7 database with auto-expansion enabled. I have the growby rates and thresholds configured. When the auto-expansion detects it's time to expand the device, we clearly see information about the expansion in the ASE log file. Information in the log file is similar to:
00:0002:00000:00024:2015/08/20 12:03:09.98 server background task message: Threshold action procedure 'sp_dbxt_extend_db' fired in db 'QIP' on segment 'infraaudit2015seg'. Space left: 640 logical pages ('10M').
00:0002:00000:00024:2015/08/20 12:03:09.98 server background task message: DISK RESIZE name = 'qip_infra_partition1', size = '4.0M' -- Db: QIP Segment: infraaudit2015seg
00:0004:00000:00000:2015/08/20 12:03:09.98 kernel Performing space allocation for device '/opt/sybase/data/qip_infra_partition1' (0.00 Gb). This may take some time.
00:0002:00000:00024:2015/08/20 12:03:10.00 kernel Finished initialization.
00:0002:00000:00024:2015/08/20 12:03:10.01 server background task message: sp_dbxt_do_resize_dev: Device qip_infra_partition1 of size 24M resized by 4M to a total size of 28M.
00:0002:00000:00024:2015/08/20 12:03:10.01 server background task message: ALTER DATABASE QIP on qip_infra_partition1 = '4.0M' -- Segment: infraaudit2015seg
00:0002:00000:00024:2015/08/20 12:03:10.01 server Extending database by 256 pages (4.0 megabytes) on disk qip_infra_partition1
00:0002:00000:00024:2015/08/20 12:03:10.03 server background task message: Database 'QIP' was altered by total size '4M' for segment 'infraaudit2015seg'.
Can I query this information in the database? Does sp_dbxt_extend_db write any of this data to a table? I would like to expose some of this data to a WEB/UI interface, and would prefer a query, rather than parsing a log file.
Thanks!
Lisa Sayre