| |

VerySource

 Forgot password?
 Register
Search
View: 1180|Reply: 10

In which system table can I see the used space of the logfile file?

[Copy link]

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 Germany

Post time: 2020-1-21 11:00:02
| Show all posts |Read mode
sysfile looks at the allocation size of the logfile file
 You can see the space usage of data files in sysindexes, but where is the usage of logfile space?
   Not found, thank you all
Reply

Use magic Report

0

Threads

93

Posts

46.00

Credits

Newbie

Rank: 1

Credits
46.00

 China

Post time: 2020-1-30 16:18:01
| Show all posts
sysdatabases this is the database information
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-1-30 16:36:01
| Show all posts
Yes i don't know
Reply

Use magic Report

0

Threads

93

Posts

46.00

Credits

Newbie

Rank: 1

Credits
46.00

 China

Post time: 2020-1-30 16:54:02
| Show all posts
Here are the join relationships of the tables:
declare @object_id int
set @ object_id = object_id ('ta')
  select name from syscolumns where id = @ object_id and colid in (
   select colid from sysindexkeys where @ object_id = id and indid in (
    select indid from sysindexes where @ object_id = id and name in (
     select name from sysobjects where xtype = 'PK' and parent_obj = @ object_id
   )))
Reply

Use magic Report

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

 Author| Post time: 2020-1-30 18:18:01
| Show all posts
No, to log space information, use DBCC SQLPERF (LOGSPACE)
Can be found out, but I want to know in which table the usage of this log space is placed. I haven't found it for a long time
Reply

Use magic Report

0

Threads

211

Posts

108.00

Credits

Newbie

Rank: 1

Credits
108.00

 China

Post time: 2020-1-30 18:45:01
| Show all posts
sysaltfiles
Reply

Use magic Report

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

 Author| Post time: 2020-1-30 22:00:01
| Show all posts
The one is the same as in sysfiles, only the space allocated to him is recorded, and it does not indicate how much space the log has used.
Reply

Use magic Report

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

 Author| Post time: 2020-1-31 22:18:01
| Show all posts
Does anyone know?
Reply

Use magic Report

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

 Author| Post time: 2020-2-19 22:00:01
| Show all posts
Which prawn to answer, still can't find it.
Reply

Use magic Report

0

Threads

20

Posts

19.00

Credits

Newbie

Rank: 1

Credits
19.00

 China

Post time: 2020-3-31 14:45:01
| Show all posts
Log File (s) Used Size (KB) of each database in sysperfinfo
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list