Script para Informes

Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 49

ITEM Version Descripción

2005 Registro de lecturas por base de datos


Monitor
Monitor 2005 Registro de ESCRITURAS por Base de Datos
Monitor 2005 Consultas costosas por I/O'

Monitor 2005 Consultas costosas por uso de CPU

Monitor 2005 Consultas que sufren mayores bloqueos


SELECT TOP 10
SELECT
[AverageTOPIO]10= (total_logical_reads + total_logical_writes) / qs.execution_count
SELECT
,[Total TOP=Reads]
[Total
IO] 10 = SUM(total_logical_reads)
(total_logical_reads + total_logical_writes)
SELECT
[AverageTOPCPU10used]
,[Execution
,[Execution count] = total_worker_time
count] / qs.execution_count
= SUM(qs.execution_count)
= qs.execution_count
[Total
,[Total CPUWrites]
used] ===total_worker_time
,DatabaseName
,[Individual Query] SUM(total_logical_writes)
=SUBSTRING
DB_NAME(qt.dbid)
(qt.text,qs.statement_start_offset/2, Script
FROM ,[Execution
,[Execution count]count] = SUM(qs.execution_count)
= qs.execution_count
sys.dm_exec_query_stats
(CASE WHEN qs
qs.statement_end_offset = -1
SELECT
CROSS TOPQuery]
APPLY
THEN 10
,DatabaseName
,[Individual = =SUBSTRING
DB_NAME(qt.dbid)
(qt.text,qs.statement_start_offset/2,
sys.dm_exec_sql_text(qs.sql_handle)
LEN(CONVERT(NVARCHAR(MAX), as qt* 2
qt.text))
[Average
FROM
GROUP BYTime
(CASE
ELSE WHEN Blocked]
DB_NAME(qt.dbid) = (total_elapsed_time
sys.dm_exec_query_stats
qs.statement_end_offset = -1- total_worker_time) / qs.execution_count
qs END - qs.statement_start_offset)/2)
qs.statement_end_offset
,[Total
CROSS
ORDER Time
APPLY
THEN Blocked] ==qt.text
total_elapsed_time
LEN(CONVERT(NVARCHAR(MAX),
BY [Total
,[Parent Reads]
Query] DESC; - total_worker_time
sys.dm_exec_sql_text(qs.sql_handle) as qt* 2
qt.text))
,[Execution
GROUP ELSE
,DatabaseName count] = qs.execution_count
BY qs.statement_end_offset
DB_NAME(qt.dbid)
= DB_NAME(qt.dbid) END -
,[Individual Query]
BY [Total = SUBSTRING
ORDERsys.dm_exec_query_stats
Writes]
qs.statement_start_offset)/2)
FROM DESC; (qt.text,qs.statement_start_offset/2,
qs
CROSS (CASE
,[Parent WHEN
Query]
APPLY qs.statement_end_offset = -1 as qt
= qt.text
sys.dm_exec_sql_text(qs.sql_handle)
ORDERTHEN
,DatabaseName LEN(CONVERT(NVARCHAR(MAX),
BY [Average= DB_NAME(qt.dbid)
IO] DESC; qt.text)) * 2
FROMELSE qs.statement_end_offset
sys.dm_exec_query_stats qs END - qs.statement_start_offset)/2)
,[Parent Query]
CROSS APPLY = qt.text
sys.dm_exec_sql_text(qs.sql_handle) as qt
,DatabaseName
ORDER BY [Average = DB_NAME(qt.dbid)
CPU used] DESC;
FROM sys.dm_exec_query_stats qs
CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) as qt
ORDER BY [Average Time Blocked] DESC;
Index Name Internal_Value
1 ProductName NULL
2 ProductVersion 720896
3 Language 1033
4 Platform NULL
5 Comments NULL
6 CompanyName NULL
7 FileDescription NULL
8 FileVersion NULL
9 InternalName NULL
10 LegalCopyright NULL
11 LegalTrademarks NULL
12 OriginalFilename NULL
13 PrivateBuild NULL
14 SpecialBuild 458817536
15 WindowsVersion 458817536
16 ProcessorCount 4
17 ProcessorActiveMask NULL
18 ProcessorType 8664
19 PhysicalMemory 16383
20 Product ID NULL
Character_Value
Microsoft SQL Server
11.0.7001.0
English (United States)
NT x64
SQL
Microsoft Corporation
SQL Server Windows NT - 64 Bit
2011.0110.7001.00 ((SQL11_PCU_Main).170815-1011 )
SQLSERVR
Microsoft Corp. All rights reserved.
Microsoft SQL Server is a registered trademark of Microsoft Corporation.
SQLSERVR.EXE
NULL
NULL
6.1 (7601)
4
f
NULL
16383 (17179267072)
NULL
attribute_id attribute_name
1 DBMS_NAME
2 DBMS_VER
10 OWNER_TERM
11 TABLE_TERM
12 MAX_OWNER_NAME_LENGTH
13 TABLE_LENGTH
14 MAX_QUAL_LENGTH
15 COLUMN_LENGTH
16 IDENTIFIER_CASE
17 TX_ISOLATION
18 COLLATION_SEQ
19 SAVEPOINT_SUPPORT
20 MULTI_RESULT_SETS
22 ACCESSIBLE_TABLES
100 USERID_LENGTH
101 QUALIFIER_TERM
102 NAMED_TRANSACTIONS
103 SPROC_AS_LANGUAGE
104 ACCESSIBLE_SPROC
105 MAX_INDEX_COLS
106 RENAME_TABLE
107 RENAME_COLUMN
108 DROP_COLUMN
109 INCREASE_COLUMN_LENGTH
110 DDL_IN_TRANSACTION
111 DESCENDING_INDEXES
112 SP_RENAME
113 REMOTE_SPROC
500 SYS_SPROC_VERSION
attribute_value
Microsoft SQL Server
Microsoft SQL Server 2012 - 11.0.7001.0
owner
table
128
128
128
128
MIXED
2
charset=iso_1 collation=Modern_Spanish_CI_AS
Y
Y
Y
128
database
Y
Y
Y
16
Y
Y
Y
Y
Y
Y
Y
Y
11.00.7001
name minimum maximum config_value run_value
access check cache bucket count 0 65536 0 0
access check cache quota 0 2147483647 0 0
Ad Hoc Distributed Queries 0 1 0 0
affinity I/O mask -2147483648 2147483647 0 0
affinity mask -2147483648 2147483647 0 0
affinity64 I/O mask -2147483648 2147483647 0 0
affinity64 mask -2147483648 2147483647 0 0
Agent XPs 0 1 1 1
allow updates 0 1 0 0
backup compression default 0 1 0 0
blocked process threshold (s) 0 86400 30 30
c2 audit mode 0 1 0 0
clr enabled 0 1 0 0
common criteria compliance enabled 0 1 0 0
contained database authentication 0 1 0 0
cost threshold for parallelism 0 32767 5 5
cross db ownership chaining 0 1 0 0
cursor threshold -1 2147483647 -1 -1
Database Mail XPs 0 1 0 0
default full-text language 0 2147483647 1033 1033
default language 0 9999 0 0
default trace enabled 0 1 1 1
disallow results from triggers 0 1 0 0
EKM provider enabled 0 1 0 0
filestream access level 0 2 0 0
fill factor (%) 0 100 0 0
ft crawl bandwidth (max) 0 32767 100 100
ft crawl bandwidth (min) 0 32767 0 0
ft notify bandwidth (max) 0 32767 100 100
ft notify bandwidth (min) 0 32767 0 0
index create memory (KB) 704 2147483647 0 0
in-doubt xact resolution 0 2 0 0
lightweight pooling 0 1 0 0
locks 5000 2147483647 0 0
max degree of parallelism 0 32767 0 0
max full-text crawl range 0 256 4 4
max server memory (MB) 128 2147483647 2048 2048
max text repl size (B) -1 2147483647 65536 65536
max worker threads 128 65535 0 0
media retention 0 365 0 0
min memory per query (KB) 512 2147483647 1024 1024
min server memory (MB) 0 2147483647 0 16
nested triggers 0 1 1 1
network packet size (B) 512 32767 4096 4096
Ole Automation Procedures 0 1 0 0
open objects 0 2147483647 0 0
optimize for ad hoc workloads 0 1 0 0
PH timeout (s) 1 3600 60 60
precompute rank 0 1 0 0
priority boost 0 1 0 0
query governor cost limit 0 2147483647 0 0
query wait (s) -1 2147483647 -1 -1
recovery interval (min) 0 32767 0 0
remote access 0 1 1 1
remote admin connections 0 1 0 0
remote login timeout (s) 0 2147483647 10 10
remote proc trans 0 1 0 0
remote query timeout (s) 0 2147483647 600 600
Replication XPs 0 1 0 0
scan for startup procs 0 1 0 0
server trigger recursion 0 1 1 1
set working set size 0 1 0 0
show advanced options 0 1 1 1
SMO and DMO XPs 0 1 1 1
transform noise words 0 1 0 0
two digit year cutoff 1753 9999 2049 2049
user connections 0 32767 0 0
user options 0 32767 0 0
xp_cmdshell 0 1 0 0
Value Data
ProcessorNameString Intel(R) Xeon(R) Platinum 8160 CPU @ 2.10GHz
SRV_NAME SRV_PROVIDERNAME SRV_PRODUCT SRV_DATASOURCE
HOSSASWINPRD SQLNCLI SQL Server HOSSASWINPRD
SRV_PROVIDERSTRING SRV_LOCATION SRV_CAT
NULL NULL NULL
database_name database_size unallocated space
master 4.75 MB 0.70 MB
reserved data index_size unused
3376 KB 1488 KB 1480 KB 408 KB
database_name database_size unallocated space
tempdb 7317.31 MB 7119.98 MB
reserved data index_size unused
2768 KB 1160 KB 1288 KB 320 KB
database_name database_size unallocated space
model 4.00 MB 0.98 MB
reserved data index_size unused
2320 KB 896 KB 1128 KB 296 KB
database_name database_size unallocated space
msdb 83.69 MB 6.13 MB
reserved data index_size unused
78648 KB 66088 KB 10176 KB 2384 KB
database_name database_size unallocated space
ReportServer 6.06 MB 0.80 MB
reserved data index_size unused
4552 KB 2400 KB 1704 KB 448 KB
database_name database_size unallocated space
ReportServerTem 4.06 MB 0.84 MB
reserved data index_size unused
2464 KB 1048 KB 1184 KB 232 KB
database_name database_size unallocated space
Tendencia 828614.69 MB 0.00 MB
reserved data index_size unused
811440872 KB 799165720 KB 9322136 KB 2953016 KB
database_name database_size unallocated space
Tendencias_ZONA 29554.19 MB 4712.21 MB
reserved data index_size unused
13186088 KB 13101144 KB 70024 KB 14920 KB
name db_size
master 4.75 MB

name fileid
master 1
mastlog 2
name db_size
tempdb 7317.31 MB

name fileid
tempdev 1
templog 2
name db_size
model 4.00 MB

name fileid
modeldev 1
modellog 2

name db_size
msdb 83.69 MB

name fileid
MSDBData 1
MSDBLog 2

name db_size
ReportServer 6.06 MB

name fileid
ReportServer 1
ReportServer_log 2

name db_size
ReportServerTempDB 4.06 MB

name fileid
ReportServerTempDB 1
ReportServerTempDB_log 2

name db_size
Tendencia 828614.69
MB

name fileid
Precios_M10 1

Precios_M10_log 2

name db_size
Tendencias_ZONA_FRANCA 29554.19
MB

name fileid
Tendencias_ZONA_FRANCA 1
Tendencias_ZONA_FRANCA_log 2
owner dbid
sa 1

filename filegroup
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\master.mdf PRIMARY
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf NULL
owner dbid
sa 2

filename filegroup
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\tempdb.mdf PRIMARY
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\templog.ldf NULL
owner dbid
sa 3

filename filegroup
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\model.mdf PRIMARY
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\modellog.ldf NULL

owner dbid
sa 4

filename filegroup
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\MSDBData.mdf PRIMARY
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf NULL

owner dbid
HOSSASWINPRD\Administrator 5

filename filegroup
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\ReportServer.mdf PRIMARY
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\ReportServer_log.LDF NULL

owner dbid
HOSSASWINPRD\Administrator 6

filename filegroup
C:\Program Files\Microsoft SQL PRIMARY
C:\Program Files\Microsoft SQL NULL
Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\ReportServerTempDB_log.LDF
owner dbid
sa 7

filename filegroup
E:\Microsoft SQL Server\DATA\Precios_M10.mdf PRIMARY

E:\Microsoft SQL Server\DATA\Precios_M10_log.ldf NULL

owner dbid
sa 12

filename filegroup
C:\Program Files\Microsoft SQL PRIMARY
C:\Program Files\Microsoft SQL NULL
created status compatibility_level
Apr 8 2003 Status=ONLINE, Updateability=READ_WRITE, 100
UserAccess=MULTI_USER, Recovery=SIMPLE, Version=706,
Collation=Modern_Spanish_CI_AS, SQLSortOrder=0,
IsAutoCreateStatistics, IsAutoUpdateStatistics

size maxsize growth usage


4096 KB Unlimited 10% data only
768 KB Unlimited 10% log only
created status compatibility_level
Dec 4 2018 Status=ONLINE, Updateability=READ_WRITE, 110
UserAccess=MULTI_USER, Recovery=SIMPLE, Version=706,
Collation=Modern_Spanish_CI_AS, SQLSortOrder=0,
IsAutoCreateStatistics, IsAutoUpdateStatistics

size maxsize growth usage


7293632 KB Unlimited 10% data only
199296 KB Unlimited 10% log only
created status compatibility_level
Apr 8 2003 Status=ONLINE, Updateability=READ_WRITE, 110
UserAccess=MULTI_USER, Recovery=SIMPLE, Version=706,
Collation=Modern_Spanish_CI_AS, SQLSortOrder=0,
IsAutoCreateStatistics, IsAutoUpdateStatistics

size maxsize growth usage


3328 KB Unlimited 1024 KB data only
768 KB Unlimited 10% log only

created status compatibility_level


Apr 2 2010 Status=ONLINE, Updateability=READ_WRITE, 110
UserAccess=MULTI_USER, Recovery=SIMPLE, Version=706,
Collation=Modern_Spanish_CI_AS, SQLSortOrder=0,
IsAutoCreateStatistics, IsAutoUpdateStatistics, IsFullTextEnabled

size maxsize growth usage


84928 KB Unlimited 10% data only
768 KB 2147483648 KB 10% log only

created status compatibility_level


Nov 30 2015 Status=ONLINE, Updateability=READ_WRITE, 100
UserAccess=MULTI_USER, Recovery=SIMPLE, Version=706,
Collation=Latin1_General_CI_AS_KS_WS, SQLSortOrder=0,
IsAutoCreateStatistics, IsAutoUpdateStatistics, IsFullTextEnabled

size maxsize growth usage


5376 KB Unlimited 1024 KB data only
832 KB 2147483648 KB 10% log only

created status compatibility_level


Nov 30 2015 Status=ONLINE, Updateability=READ_WRITE, 100
UserAccess=MULTI_USER, Recovery=SIMPLE, Version=706,
Collation=Latin1_General_CI_AS_KS_WS, SQLSortOrder=0,
IsAutoCreateStatistics, IsAutoUpdateStatistics, IsFullTextEnabled

size maxsize growth usage


3328 KB Unlimited 1024 KB data only
832 KB 2147483648 KB 10% log only

created status compatibility_level


May 9 2016 Status=ONLINE, Updateability=READ_WRITE, 100
UserAccess=MULTI_USER, Recovery=SIMPLE, Version=706,
Collation=Modern_Spanish_CI_AS, SQLSortOrder=0,
IsAutoCreateStatistics, IsAutoUpdateStatistics, IsFullTextEnabled

size maxsize growth usage


810789248 Unlimited 1024 KB data only
KB
37712192 KB 2147483648 KB 10% log only

created status compatibility_level


Aug 11 2016 Status=ONLINE, Updateability=READ_WRITE, 100
UserAccess=MULTI_USER, Recovery=FULL, Version=706,
Collation=Modern_Spanish_CI_AS, SQLSortOrder=0,
IsAutoCreateStatistics, IsAutoUpdateStatistics, IsFullTextEnabled

size maxsize growth usage


18011392 KB Unlimited 1024 KB data only
12252096 KB 2147483648 KB 10% log only
DatabaseName RecoveryModel Status IsAutoShrinkv IsAutoUpdateStatistics
master SIMPLE ONLINE No Yes
model SIMPLE ONLINE No Yes
msdb SIMPLE ONLINE No Yes
ReportServer SIMPLE ONLINE No Yes
ReportServerTempDB SIMPLE ONLINE No Yes
tempdb SIMPLE ONLINE No Yes
Tendencia SIMPLE ONLINE No Yes
Tendencias_ZONA_FRANCA FULL ONLINE No Yes
IsAutoCreateStatistics IsReadOnly IsTruncLog IsSuspect IsAutoClose
Yes No Yes No No
Yes No Yes No No
Yes No Yes No No
Yes No Yes No No
Yes No Yes No No
Yes No Yes No No
Yes No Yes No No
Yes No No No No
Database Name Log Size (MB) Log Space Used (%) Status
master 1,242,188 5,825,472 0
tempdb 9,999,922 5,833,791 0
model 3,167,969 95,709 0
msdb 3,018,305 1,481,132 0
CONFIRMING 1,600,547 452,177 0
CreditosBancarios 9,061,719 1,006,552 0
CuartaCopia 1,803,672 5,855,027 0
dbDWFactoring 1,461,797 7,854,337 0
Ficha 5,304,922 9,090,394 0
FSCOMITE 9,961,719 6,936,221 0
Gestion 6,570,547 2,944,083 0
FACOPE 7462.43 0.7749693 0
MenuCreditos 3,742,188 2,411,274 0
SecAcceso 1,330,469 248,532 0
SecContab 2,162,867 0.981115 0
SecContab2002 4,763,047 1,866,758 0
SecContab2003 5,000,547 0.479928 0
SecLeaCred 1,961,719 2,254,082 0
SecMail 1,467,969 2,462,746 0
SecMenu 1,999,219 2,161,489 0
SecPizarra 2,999,922 1,692,427 0
SecRecaudacion 9,992,188 1,235,829 0
TRASCON 2,749,297 340,293 0
SecCredito 6,206,797 9,944,806 0
Boletin_Informacion 3,054,688 2,955,563 0
Perf_SRV_FC_P009_20121019 1,212,367 194,464 0
NumDataFile
La BD tempdb NO posee un datafile por cada CPU que posse el servidor

filename size
F:\Microsoft SQL Server\MSSQL.1\MSSQL\tempdb.mdf 524288 KB
F:\Microsoft SQL Server\MSSQL.1\MSSQL\tempdev01.ndf 524288 KB
F:\Microsoft SQL Server\MSSQL.1\MSSQL\tempdev02.ndf 524288 KB
F:\Microsoft SQL Server\MSSQL.1\MSSQL\tempdev03.ndf 524288 KB
F:\Microsoft SQL Server\MSSQL.1\MSSQL\tempdev04.ndf 524288 KB
F:\Microsoft SQL Server\MSSQL.1\MSSQL\tempdev05.ndf 524288 KB
F:\Microsoft SQL Server\MSSQL.1\MSSQL\tempdev06.ndf 524288 KB
F:\Microsoft SQL Server\MSSQL.1\MSSQL\tempdev07.ndf 524288 KB
R:\SQL\Tempdb\tempdev08.ndf 524288 KB

El espacio para data de BD tempdb no supera el 10% de la BD más grande dentro de la instancia

El espacio para data de BD tempdb supera el 20% de la BD más grande dentro de la instancia

EspacioTL
Espacio de transaction Log BD master supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD tempdb supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD model supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD msdb supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD CONFIRMING NO supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD CreditosBancarios supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD CuartaCopia supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD dbDWFactoring supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD Ficha supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD FSCOMITE NO supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD Gestion supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD FACOPE NO supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD MenuCreditos supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecAcceso NO supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecContab supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecContab2002 supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecContab2003 supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecLeaCred NO supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecMail supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecMenu supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecPizarra supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecRecaudacion supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD TRASCON supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD SecCredito supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD Boletin_Informacion supera el 10% del espacio asignado a data

EspacioTL
Espacio de transaction Log BD Perf_SRV_FC_P009_20121019 supera el 10% del espacio asignado a data

EspacioLibre
La base de datos CONFIRMING tiene MENOS de un 10% de espacio libre

EspacioLibre
La base de datos CreditosBancarios tiene MAS de un 20% de espacio libre

EspacioLibre
La base de datos CuartaCopia tiene MENOS de un 10% de espacio libre

EspacioLibre
La base de datos dbDWFactoring tiene MENOS de un 10% de espacio libre

EspacioLibre
La base de datos Ficha se encuentra entre el 20 y 10 % de espacio libre

EspacioLibre
La base de datos FSCOMITE tiene MAS de un 20% de espacio libre

EspacioLibre
La base de datos Gestion se encuentra entre el 20 y 10 % de espacio libre

EspacioLibre
La base de datos FACOPE se encuentra entre el 20 y 10 % de espacio libre

EspacioLibre
La base de datos MenuCreditos tiene MAS de un 20% de espacio libre

EspacioLibre
La base de datos SecAcceso tiene MENOS de un 10% de espacio libre

EspacioLibre
La base de datos SecContab tiene MENOS de un 10% de espacio libre

EspacioLibre
La base de datos SecContab2002 tiene MENOS de un 10% de espacio libre

EspacioLibre
La base de datos SecContab2003 se encuentra entre el 20 y 10 % de espacio libre

EspacioLibre
La base de datos SecLeaCred se encuentra entre el 20 y 10 % de espacio libre

EspacioLibre
La base de datos SecMail tiene MAS de un 20% de espacio libre

EspacioLibre
La base de datos SecMenu tiene MAS de un 20% de espacio libre

EspacioLibre
La base de datos SecPizarra tiene MAS de un 20% de espacio libre

EspacioLibre
La base de datos SecRecaudacion se encuentra entre el 20 y 10 % de espacio libre

EspacioLibre
La base de datos TRASCON se encuentra entre el 20 y 10 % de espacio libre

EspacioLibre
La base de datos SecCredito tiene MAS de un 20% de espacio libre

EspacioLibre
La base de datos Boletin_Informacion tiene MAS de un 20% de espacio libre

EspacioLibre
La base de datos Perf_SRV_FC_P009_20121019 tiene MENOS de un 10% de espacio libre
name recovery_model_desc
master FULL
tempdb SIMPLE
model FULL
msdb FULL
msdbR FULL
masterR FULL
Bdc_Service_DB_acf95814c5f3457 FULL
Application_Registry_Service_DB_ FULL
DB_INTRANET_81 FULL
Managed Metadata Service_9f5d47 FULL
Profile DB FULL
Profile DB_NUPSA FULL
Search_Service_Application_Craw FULL
Search_Service_Application_DB_e FULL
Search_Service_Application_Prop FULL
Secure_Store_Service_DB_2cbaccf FULL
SharePoint_AdminContent_1a5a032FULL
SharePoint_Config FULL
Social DB FULL
Social DB_NUPSA FULL
StateService_e09b7665d9c740b492 FULL
Sync DB FULL
Sync DB_NUPSA FULL
User Profile Service Application_ FULL
User Profile Service Application_ FULL
User Profile Service Application FULL
WebAnalyticsServiceApplication_R FULL
WebAnalyticsServiceApplication_S FULL
WordAutomationServices_419d108 FULL
WSS_Content_07 FULL
WSS_Logging FULL
WSS_Search_HOSGMSSH03 FULL
Nombre_Job Status
PLAN.MANTENCION.CHEQUEO.CONSISTENCIA Enable
PLAN_MANTENCION_INDICES_ESTADISTICAS.Subplan_1 Enable
step_name last_run_date Frecuencia Dias
Subplan_1 20180708 Semanalmente Domingo
Subplan_1 20180707 Semanalmente Sábado
Intervalo Entre
Una vez, a las 200000 Sólo una vez
Una vez, a las 200000 Sólo una vez
Database_Name DaysSinceLastBackup LastBackupDate
master 1 2/6/2019
model 1 2/6/2019
msdb 1 2/6/2019
ReportServer 1 2/6/2019
ReportServerTempDB 1 2/6/2019
tempdb 1000 NEVER
Tendencia 7 05/27/2019
Tendencias_ZONA_FRANCA 7 05/27/2019
database_name Tipo_Backup FechaInicio
master Backup Full 2019-06-02 22:14:39.000
model Backup Log 2018-06-19 11:58:40.000
model Backup Full 2019-06-02 22:15:48.000
model Backup Differential 2019-06-01 22:10:10.000
msdb Backup Differential 2019-06-01 22:10:22.000
msdb Backup Full 2019-06-02 22:15:52.000
ReportServer Backup Differential 2019-06-01 22:10:27.000
ReportServer Backup Log 2018-06-19 11:58:40.000
ReportServer Backup Full 2019-06-02 22:16:08.000
ReportServerTempDB Backup Differential 2019-06-01 22:10:30.000
ReportServerTempDB Backup Full 2019-06-02 22:16:12.000
Tendencia Backup Log 2018-06-19 11:58:41.000
Tendencia Backup Differential 2019-06-01 22:10:32.000
Tendencia Backup Full 2019-05-26 22:16:04.000
Tendencias_ZONA_FRANCA Backup Differential 2019-06-02 00:51:43.000
Tendencias_ZONA_FRANCA Backup Log 2019-02-17 12:17:31.000
Tendencias_ZONA_FRANCA Backup Full 2019-05-27 08:46:30.000
LoginName ServerRole DB Username
sa System Administrators ReportServer RSExecRole
NT AUTHORITY\SYSTEM System Administrators ReportServerTempDB RSExecRole
NT SERVICE\MSSQLSERVER System Administrators Application_Registry_Se SharePoint_
HOSSASWINPRD\Administrator System Administrators DB_INTRANET_81 SharePoint_
NT SERVICE\SQLSERVERAGENT System Administrators Managed Metadata Servic SharePoint_
fasencio System Administrators Profile DB UNIMARC-D
e_gdiazb System Administrators Profile DB SharePoint_
e_vmirandat System Administrators Profile DB_NUPSA UNIMARC-D
respaldo_ibm System Administrators Profile DB_NUPSA SharePoint_
monitoreo_ibm System Administrators Search_Service_Applica SharePoint_
HOSSASWINPRD\devaluju System Administrators Search_Service_Applicat SharePoint_
HOSSASWINPRD\nchakali System Administrators Search_Service_Applicat SharePoint_
HOSSASWINPRD\krchait2 System Administrators Secure_Store_Service_DB SharePoint_
HOSSASWINPRD\sibiswal System Administrators SharePoint_AdminConten SharePoint_
HOSSASWINPRD\gapravee System Administrators SharePoint_Config SharePoint_
e_azamora System Administrators Social DB UNIMARC-D
NT SERVICE\SQLWriter System Administrators Social DB SharePoint_
NT SERVICE\winmgmt System Administrators Social DB_NUPSA UNIMARC-D
Social DB_NUPSA SharePoint_
StateService_e09b7665d SharePoint_
Sync DB UNIMARC-D
Sync DB SharePoint_
Sync DB_NUPSA UNIMARC-D
Sync DB_NUPSA SharePoint_
User Profile Service App SharePoint_
User Profile Service App SharePoint_
User Profile Service Ap SharePoint_
WebAnalyticsServiceAppl SharePoint_
WebAnalyticsServiceAppl SharePoint_
WordAutomationServices SharePoint_
WSS_Content_07 SharePoint_
WSS_Logging SharePoint_
WSS_Search_HOSGMSSH SharePoint_
DBRol LoginEqPass Objeto Habilitado Object
db_owner test xp_cmdshell No syslogins
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
db_owner
Protect Action Grupo Columna
Grant Select public (All)
name Name Habilitado
master guest SI
model guest SI
msdb guest SI
ReportServer guest SI
ReportServerTempDB guest SI
tempdb guest SI
Tendencia guest No
Tendencias_ZONA_FRANCA guest No
Total Reads Execution count DatabaseName Total Writes
69283153 36458627 Tendencia 541380
55968359 4746500 NULL 478420
11010 1162 msdb 20
954 1888 ReportServer 0
328650936 172568 WebAnalyticsServiceApplication_Repor 453827
107810368 19432675 SharePoint_Config 213558
59844753 864488 WebAnalyticsServiceApplication_Stagi 119366
53855409 7165406 WSS_Search_HOSGMSSH03 33607
51694412 11172315 WSS_Logging 20638
17218501 3412003 SharePoint_AdminContent_1a5a032f-2c 17039
Execution count DatabaseName
4746549 NULL
37770571 Tendencia
1172 msdb
1919 ReportServer
16938554 User Profile Service Application_ProfileDB_acd4ac24335e40ec8a6458fc9816fc95
14126892 NULL
3412021 SharePoint_AdminContent_1a5a032f-2cca-48d2-91d9-5580e454d3c4
65987986 Search_Service_Application_DB_efcd0b1779d64654af4404839f20b625
7165512 WSS_Search_HOSGMSSH03
11172456 WSS_Logging
Execution
Average IO Total IO Individual Query
count
7758786 7758786 1 DELETE FROM [dbo].[Carga_CP_Semanal
4668608 4668608 1 DELETE dbo.Tend_Lider_Hist_Detalle
FROM dbo.Tendencia_Por_Semana_Lider
WHERE dbo.Tend_Lider_Hist_Detalle.[Nro.Semana] =
dbo.Tendencia_Por_Semana_Lider.[Nro.Semana]
AND dbo.Tend_Lider_Hist_Detalle.[Año_natural] =
dbo.Tendencia_Por_Semana_Lider.[Año_natural]

4181477 4181477 1 delete from dbo.Tendencia_Por_Semana


-- Loop
2849930 2849930 1 DELETE dbo.Tend_Unim_Hist_Detalle
FROM dbo.Tendencia_Por_Semana
WHERE dbo.Tend_Unim_Hist_Detalle.
[Nro.Semana] = dbo.Tendencia_Por_Semana.[Nro.Semana]
AND dbo.Tend_Unim_Hist_Detalle.
[Año_natural] = dbo.Tendencia_Por_Semana.[Año_natural]

2813258 2813258 1 delete dbo.TomaPreciosNielsen


where dbo.TomaPreciosNielsen.Semana = 19
--and dbo.TomaPreciosNielsen.[Año_natural]IN ('2018');

1260084 1260084 1 INSERT INTO dbo.Tend_Lider_Hist_Detalle


SELECT dbo.Tendencia_Por_Semana_Lider.*
FROM dbo.Tendencia_Por_Semana_Lider
WHERE
dbo.Tendencia_Por_Semana_Lider.Indicador_Comparable = 1
AND
dbo.Tendencia_Por_Semana_Lider.Indicador_pos_fuera_rango =
1
1090375 1090375 1 DELETE FROM [dbo].[Venta_4_Semanas
1042542 1042542 1 INSERT INTO dbo.Tend_Unim_Hist_Detalle
SELECT dbo.Tendencia_Por_Semana.*
FROM dbo.Tendencia_Por_Semana
WHERE
dbo.Tendencia_Por_Semana.Indicador_Comparable = 1
AND
dbo.Tendencia_Por_Semana.Indicador_pos_fuera_rango = 1
808335 808335 1 DELETE dbo.Tend_M10_Hist_Detalle
FROM dbo.Tendencia_Por_Semana_M10_Final
WHERE dbo.Tend_M10_Hist_Detalle.[Nro.Semana] =
dbo.Tendencia_Por_Semana_M10_Final.[Nro.Semana]
AND dbo.Tend_M10_Hist_Detalle.[Año_natural] =
dbo.Tendencia_Por_Semana_M10_Final.[Año_natural]

703463 703463 1 DELETE FROM [dbo].[Venta_Ultima_Semana


DatabaseName

NULL
NULL

Tendencia

NULL

Tendencia

NULL

NULL
NULL

NULL

NULL
Average CPU Total CPU Execution
Individual Query
used used count
72648690 72648690 1 DELETE dbo.Tend_Lider_Hist_Detalle
FROM dbo.Tendencia_Por_Semana_Lider
WHERE dbo.Tend_Lider_Hist_Detalle.[Nro.Semana] =
dbo.Tendencia_Por_Semana_Lider.[Nro.Semana]
AND dbo.Tend_Lider_Hist_Detalle.[Año_natural] =
dbo.Tendencia_Por_Semana_Lider.[Año_natural]
49277209 49277209 1 DELETE dbo.Tend_Unim_Hist_Detalle
FROM dbo.Tendencia_Por_Semana
WHERE dbo.Tend_Unim_Hist_Detalle.
[Nro.Semana] = dbo.Tendencia_Por_Semana.[Nro.Semana]
AND dbo.Tend_Unim_Hist_Detalle.
[Año_natural] = dbo.Tendencia_Por_Semana.[Año_natural]
12530270 12530270 1 DELETE dbo.Tend_M10_Hist_Detalle
FROM dbo.Tendencia_Por_Semana_M10_Final
WHERE dbo.Tend_M10_Hist_Detalle.[Nro.Semana] =
dbo.Tendencia_Por_Semana_M10_Final.[Nro.Semana]
AND dbo.Tend_M10_Hist_Detalle.[Año_natural] =
dbo.Tendencia_Por_Semana_M10_Final.[Año_natural]
10282214 10282214 1 delete from
SELECT dbo.Tendencia_Por_Semana
AVG(CAST(dbo.Maestra_Precios_Nielsen.PRECIO AS
9922274 9922274 1 FLOAT)) AS 'PVP_ACUENTA'
,dbo.Maestra_Precios_Nielsen.BARCODE
,dbo.Maestra_Precios_Nielsen.DESCRIPCION
AS 'Desc_Nielsen'
,dbo.Maestra_Precios_Nielsen.CATEGORIA
AS 'Categoria_Nielsen'

,dbo.RelacionArticuloEAN_Venta_semana_ACU.Material

,dbo.RelacionArticuloEAN_Venta_semana_ACU.[UM venta]
,dbo.Maestra_Precios_Nielsen.SEMANA
,dbo.Maestra_Articulos.[DESC CATEGORIA]
,dbo.Maestra_Articulos.[DESC LINEA]
,dbo.Maestra_Articulos.[DESC SECCION]
,dbo.Maestra_Articulos.[DESC NEGOCIO]
FROM dbo.Maestra_Precios_Nielsen
LEFT JOIN dbo.RelacionArticuloEAN_Venta_semana_ACU
ON (dbo.Maestra_Precios_Nielsen.BARCODE =
dbo.RelacionArticuloEAN_Venta_semana_ACU.[EAN/UPC])
LEFT JOIN dbo.Maestra_Articulos
ON
(dbo.RelacionArticuloEAN_Venta_semana_ACU.Material =
dbo.Maestra_Articulos.Material)
WHERE dbo.Maestra_Precios_Nielsen.FORMATO =
'ACUENTA'
GROUP BY dbo.Maestra_Precios_Nielsen.BARCODE
,dbo.Maestra_Precios_Nielsen.DESCRIPCION
,dbo.Maestra_Precios_Nielsen.CATEGORIA

,dbo.RelacionArticuloEAN_Venta_semana_ACU.Material

,dbo.RelacionArticuloEAN_Venta_semana_ACU.[UM venta]
,dbo.Maestra_Precios_Nielsen.SEMANA
,dbo.Maestra_Articulos.[DESC CATEGORIA]
,dbo.Maestra_Articulos.[DESC LINEA]
,dbo.Maestra_Articulos.[DESC SECCION]
,dbo.Maestra_Articulos.[DESC NEGOCIO]
8974083 17948166 2 select * from "Tendencia"."dbo"."Tendencia_Por_Semana
7385794 7385794 1 select * from "Tendencia"."dbo"."Tendencia_Por_Semana_Lider
5609068 5609068 1 INSERT INTO dbo.Tendencias_Lider_historico_por_Material
SELECT dbo.Tendencia_Por_Semana_Lider.[Nro.Semana]

,dbo.Tendencia_Por_Semana_Lider.Organizacion

,dbo.Tendencia_Por_Semana_Lider.Categoria_H

,dbo.Tendencia_Por_Semana_Lider.Rol_Categoria

,dbo.Tendencia_Por_Semana_Lider.Indicador_Promocion_SMU

,dbo.Tendencia_Por_Semana_Lider.Indicador_Promocion_Compet
encia

,dbo.Tendencia_Por_Semana_Lider.Analista_Pricing

,dbo.Tendencia_Por_Semana_Lider.Comprador

,dbo.Tendencia_Por_Semana_Lider.Categoria_BW
,dbo.Tendencia_Por_Semana_Lider.Material
,dbo.Tendencia_Por_Semana_Lider.UM_Venta

,dbo.Tendencia_Por_Semana_Lider.DescMaterial

,dbo.Tendencia_Por_Semana_Lider.Negocio_H
,dbo.Tendencia_Por_Semana_Lider.Linea_H

,dbo.Tendencia_Por_Semana_Lider.Descripcion_promo

,AVG(dbo.Tendencia_Por_Semana_Lider.Precio_Promedio_Semana
_Unitario)

,AVG(dbo.Tendencia_Por_Semana_Lider.Precio_Competencia_Unit
ario)

,SUM(dbo.Tendencia_Por_Semana_Lider.Venta_Ultimas_4_Seman
as)
5133612 5133612 1 DELETE FROM [dbo].[Carga_CP_Semanal
5056718 5056718 1 INSERT INTO dbo.Tend_Lider_Hist_Detalle
SELECT dbo.Tendencia_Por_Semana_Lider.*
FROM dbo.Tendencia_Por_Semana_Lider
WHERE
dbo.Tendencia_Por_Semana_Lider.Indicador_Comparable = 1
AND
dbo.Tendencia_Por_Semana_Lider.Indicador_pos_fuera_rango =
1
DatabaseName

NULL

NULL

NULL

Tendencia
NULL

NULL
NULL
NULL

NULL
NULL
Average Time Total Time
Execution count
Blocked Blocked
45747323 45747323 1
31863327 63726654 2
24336877 24336877 1
20082640 20082640 1
14042229 84253375 6
11178631 11178631 1
10124970 10124970 1
9644739 9644739 1
8422380 8422380 1
7801495 7801495 1
BD
master
tempdb
model
msdb
SIR
SIR_DM
Opciones
Comisiones
Repositorio_ODS
Scoring
ODS_MARKETING
DM_TRX
Ods_Riesgos
DM_SCR
DTSExec
DM_MDP
Habilitado
Si
Si
No
Si
No
No
No
No
No
No
No
No
No
No
No
No

You might also like