AuroraLens
Settings read-only

Schema check expected vs actual, with the configured login

Every object the SQL templates depend on, whether it exists, whether SELECT is granted, and which expected columns are missing. Copy the Markdown at the bottom into docs/schema/ (or paste it back to the engineer fixing the templates).

31 ok | 0 with findings | 2026-11-26 11:52 UTC

Login AuroraLens on 1342296-DB3 (Enterprise Edition (64-bit) 14.0.1000.169) | database mobitrans | application AuroraLens

Databases: mobitrans ok mobitrans_temp3 ok

ObjectStatusCan SELECTColumns foundMissing expected columnsUsed by templates
dbo.CC_SubscriberTransactionalHistory ok yes 51 / 46 expected retention_oldest_rows, txn_by_reference, txn_by_arn, txn_by_extra, txn_by_extra_recent, txns_by_subscriber, txns_by_error_code, txns_by_error_text, error_code_summary, txns_advanced, txns_advanced_summary, compare_txn_hourly, dashboard_txn_hourly_by_merchant, dashboard_txn_failure_codes, keys_txn_history_range
dbo.CC_PaymentGatewayMerchants ok yes 17 / 6 expected merchants_all
dbo.CC_PaymentGateways ok yes 4 / 2 expected gateways_all
dbo.CC_FailedTransactions ok yes 35 / 27 expected retention_oldest_rows, failed_txn_by_reference, failed_txns_by_email, failed_txns_by_visit, keys_failed_txn_range
dbo.BillingRefund ok yes 10 / 10 expected billing_refunds_by_reference
dbo.Subscribers ok yes 28 / 16 expected subscriber_by_id, subscribers_by_msisdn, subscribers_by_email, operator_subscriber_stats, operator_subscribers_due, keys_subscribers_range, watch_last_subscriptions, watch_subscription_hours, watch_last_pin_subscriptions
dbo.Operators ok yes 30 / 17 expected subscriber_by_id, subscribers_by_msisdn, subscribers_by_email, operators_all, compare_mt_hourly, compare_billing_stats_daily, dashboard_mt_hourly_by_operator, watch_mt_hours, watch_mt_hours_archive, watch_last_subscriptions, watch_last_pin_subscriptions
dbo.Services ok yes 6 / 2 expected subscriber_by_id, subscribers_by_msisdn, subscribers_by_email
dbo.Subscription_Methods ok yes 3 / 3 expected subscription_methods_all
dbo.UnSubscription_Methods ok yes 2 / 2 expected unsubscription_methods_all
dbo.MT_Messages_SourceConnections ok yes 2 / 2 expected mt_source_connections_all
dbo.Web_Subscriptions ok yes 16 / 9 expected visit_by_subscriber, watch_pins_last_hour
dbo.Visits ok yes 25 / 5 expected watch_visits_by_operator
dbo.CC_SubscriberDetails ok yes 26 / 19 expected card_subscription_by_subscriber, subscribers_by_email
dbo.CC_SubscriberCards ok yes 23 / 21 expected cards_by_subscriber
dbo.MT_Messages ok yes 18 / 13 expected retention_oldest_rows, mt_by_reqid, mt_by_subscriber, mt_by_msisdn, compare_mt_hourly, keys_mt_messages_range, dashboard_mt_hourly_by_operator, operator_failed_mts, operator_mt_failure_codes, watch_mt_hours, watch_identity_headroom
dbo.Mt_Messages_Pk_Range ok yes 3 / 3 expected keys_mt_messages_range, keys_mt_archive_range, watch_identity_headroom
dbo.All_Mt_Active ok yes 18 / 6 expected watch_mt_hours_archive
dbo.Dashboard_CounterDetails ok yes 12 / 6 expected watch_counter_thresholds
dbo.Billing_Stats ok yes 11 / 5 expected compare_billing_stats_daily
dbo.MO_Messages ok yes 12 / 9 expected retention_oldest_rows, mo_by_msisdn, operator_mo_counts, keys_mo_messages_range
dbo.Subscribers_Mo_Actions ok yes 5 / 5 expected mo_actions_by_subscriber
dbo.MT_Messages_Status ok yes 5 / 5 expected retention_oldest_rows, webhooks_by_text, keys_webhooks_range
dbo.All_Logs ok yes 16 / 11 expected logs_by_text
dbo.Loggers ok yes 2 / 2 expected logs_by_text_direct
dbo.logs_Level ok yes 2 / 2 expected logs_by_text_direct
dbo.logs_MachineName ok yes 3 / 2 expected logs_by_text_direct
dbo.logs_Process ok yes 2 / 2 expected logs_by_text_direct
dbo.logs_Path ok yes 2 / 2 expected logs_by_text_direct
mobitrans_temp3.dbo.logs ok yes 11 / 11 expected logs_by_text_direct
mobitrans_temp3.dbo.Log_RequestResponse ok yes 6 / 6 expected http_audit_by_text, keys_http_audit_range

Indexes on search columns can the lookups seek, or do they scan?

ObjectColumnSeekableIndex
dbo.CC_SubscriberTransactionalHistory TxnReference seek IX_CC_TrnReference
dbo.CC_SubscriberTransactionalHistory AcquirerBankTxnReference seek IX_AcquirerBankTxnReference
dbo.CC_SubscriberTransactionalHistory Extra not-indexed
dbo.CC_SubscriberTransactionalHistory SubscriberId seek IX_CC_SubscriberId
dbo.CC_SubscriberTransactionalHistory TxnDate not-indexed
dbo.CC_FailedTransactions TxnReference not-indexed
dbo.CC_FailedTransactions Email not-indexed
dbo.CC_FailedTransactions VisitId not-indexed
dbo.CC_FailedTransactions TxnDate not-indexed
dbo.BillingRefund ReferenceId not-indexed
dbo.Subscribers SubscriberId seek PK_Subscribers
dbo.Subscribers Msisdn seek uni_subscription
dbo.Subscribers OC seek Ix_subscribersGrowth
dbo.Web_Subscriptions SubscriberId seek ix_web_subscriptions_subscriberid
dbo.Web_Subscriptions RequestId seek PK_Web_Subscriptions
dbo.Visits DateKey no-leading-index PK_Visits_n
dbo.Visits OperatorId no-leading-index IX_Visits_CampaignId_VisitId_DateCreated_DateKey
dbo.CC_SubscriberDetails SubscriberId seek IX_CC_SubscriberDetails_SubscriberId
dbo.CC_SubscriberDetails Email seek IX_CC_SubscriberDetails_Email
dbo.CC_SubscriberCards SubscriberId seek IX_SubsCards_SubscriberId
dbo.MT_Messages Req_id seek PK_new_mt
dbo.MT_Messages SubscriberId not-indexed
dbo.MT_Messages DA seek mt_messages_da
dbo.Mt_Messages_Pk_Range pk seek PK_Mt_Messages_Pk_Range
dbo.All_Mt_Active Req_id not-visible
dbo.Dashboard_CounterDetails CounterId seek index_Counter_Id
dbo.Billing_Stats Day not-indexed
dbo.Billing_Stats OC not-indexed
dbo.MO_Messages SOA seek Soa
dbo.MO_Messages Req_id seek PK_ReqId
dbo.Subscribers_Mo_Actions SubscriberId seek IX_Subscribers_Mo_Actions_SubscriberId
dbo.MT_Messages_Status Date_created not-indexed
mobitrans_temp3.dbo.logs Id seek pk_log
mobitrans_temp3.dbo.logs Date no-leading-index pk_log
mobitrans_temp3.dbo.Log_RequestResponse id seek pk_Log_RequestResponse
mobitrans_temp3.dbo.Log_RequestResponse date_created no-leading-index pk_Log_RequestResponse
All indexes of the searched tables (43)
ObjectIndexTypeKey columnsIncluded
dbo.CC_SubscriberTransactionalHistory PK__CC_Subsc__3214EC072A27CD81 CLUSTERED Id
dbo.CC_SubscriberTransactionalHistory IX_CC_SubscriberId NONCLUSTERED SubscriberId
dbo.CC_SubscriberTransactionalHistory IX_CC_TrnReference NONCLUSTERED TxnReference
dbo.CC_SubscriberTransactionalHistory IX_AcquirerBankTxnReference NONCLUSTERED AcquirerBankTxnReference
dbo.CC_SubscriberTransactionalHistory IX_CC_Tran_AuthCode NONCLUSTERED AuthCode
dbo.CC_FailedTransactions PK__CC_Faile__3214EC077F2BB4D5 CLUSTERED Id
dbo.BillingRefund PK__BillingR__3213E83FFBB624DB CLUSTERED Id
dbo.Subscribers PK_Subscribers CLUSTERED SubscriberId
dbo.Subscribers uni_subscription NONCLUSTERED Msisdn, Service, OC
dbo.Subscribers IX-msisdn (disabled) NONCLUSTERED Msisdn
dbo.Subscribers subscribedon_index NONCLUSTERED SubscribedOn
dbo.Subscribers Ix_subscribersGrowth NONCLUSTERED OC Active, Service, SubMethod_Id, SubscribedOn, UnSubMethod_Id, UnsubscribedOn
dbo.Web_Subscriptions PK_Web_Subscriptions CLUSTERED RequestId
dbo.Web_Subscriptions Date_Created Index NONCLUSTERED Date_Created
dbo.Web_Subscriptions Stat_Ix NONCLUSTERED DateKey, Countryid, OC, RefId, PageId, SrvcId SubscriberId
dbo.Web_Subscriptions ix_web_subscriptions_visitid NONCLUSTERED VisitId
dbo.Web_Subscriptions ix_web_subscriptions_subscriberid NONCLUSTERED SubscriberId
dbo.Web_Subscriptions Msisdn NONCLUSTERED Msisdn
dbo.Visits PK_Visits_n CLUSTERED | 170 partitions VisitId, DateKey
dbo.Visits ix_visits_n_msisdn NONCLUSTERED | 170 partitions Msisdn
dbo.Visits ix_visits_datecreated NONCLUSTERED | 170 partitions DateCreated
dbo.Visits IX_Visits_CampaignId_DateKey NONCLUSTERED | 170 partitions CampaignId, DateKey ImpressionId
dbo.Visits IX_Visits_CampaignId_VisitId_DateCreated_DateKey NONCLUSTERED | 170 partitions CampaignId, VisitId, DateCreated, DateKey CountryId, LanguageId, OperatorId, PageID
dbo.CC_SubscriberDetails PK_cc_subscriberdetails CLUSTERED ID
dbo.CC_SubscriberDetails IX_CC_SubscriberDetails_Email NONCLUSTERED Email
dbo.CC_SubscriberDetails IX_CC_SubscriberDetails_SubscriberId NONCLUSTERED SubscriberId
dbo.CC_SubscriberDetails IX_CC_SubsDetails_msisdn_OC_SrvcId NONCLUSTERED Msisdn, OC, SrvcId
dbo.CC_SubscriberCards PK__CC_Subsc__55FECDAE066112B8 CLUSTERED CardId
dbo.CC_SubscriberCards IX_SubsCards_SubscriberId NONCLUSTERED SubscriberId
dbo.MT_Messages PK_new_mt CLUSTERED Req_id
dbo.MT_Messages mt_messages_da NONCLUSTERED DA
dbo.MT_Messages mt_messages_submit_id NONCLUSTERED Submit_Id OC
dbo.Mt_Messages_Pk_Range PK_Mt_Messages_Pk_Range CLUSTERED pk
dbo.Dashboard_CounterDetails PK_Dashboard_CounterDetails CLUSTERED PK
dbo.Dashboard_CounterDetails index_Counter_Id NONCLUSTERED CounterId
dbo.Billing_Stats PK_Billing_Stats CLUSTERED Pk
dbo.MO_Messages PK_ReqId CLUSTERED Req_id
dbo.MO_Messages Soa NONCLUSTERED SOA
dbo.Subscribers_Mo_Actions PK_Subscribers_Mo_Actions CLUSTERED pk
dbo.Subscribers_Mo_Actions IX_Subscribers_Mo_Actions_SubscriberId NONCLUSTERED SubscriberId
dbo.MT_Messages_Status PK_MT_Messages_Status CLUSTERED Pk
mobitrans_temp3.dbo.logs pk_log CLUSTERED | 60 partitions Id, Date
mobitrans_temp3.dbo.Log_RequestResponse pk_Log_RequestResponse CLUSTERED | 408 partitions id, date_created

Markdown (copy)

Keyboard shortcuts

/
focus the search box
Esc
clear the search box (again: leave it) | close this list
Alt + 1
Search
Alt + 2
Advanced search (CCB view)
Alt + 3
Compare
Alt + 4
Dashboard
Alt + 5
Watch
?
this list
Tab then Enter
on a column header: sort the table (again: reverse, a third time: the original order)