[英]DB tables technical info in SAP Data Dictionary
I was given a task to develop a report that would present the following details (as separate columns in ALV): 1) Name of the DB table (like MSEG, EKPO etc.) 2) Size of the DB table in megabytes 3) Number of records 4) Number of read requests performed on the table 5) Number of write requests performed on the table我的任务是开发一份报告,该报告将显示以下详细信息(作为 ALV 中的单独列):1) 数据库表的名称(如 MSEG、EKPO 等)2) 数据库表的大小 (MB) 3) 数字记录数 4) 对表执行的读请求数 5) 对表执行的写请求数
There are DB* tables that contain such kind of info.有包含此类信息的 DB* 表。 Specifically I am referring to DB6PMHST and DB6HISTBS.
具体来说,我指的是 DB6PMHST 和 DB6HISTBS。 When I try to view them via SE11 or SE16, system reports that these tables do not hold any records.
当我尝试通过 SE11 或 SE16 查看它们时,系统报告这些表没有任何记录。 I tried all three development, testing and production landscapes.
我尝试了所有三种开发、测试和生产环境。 Please may you provide a guidance on what I am doing wrong?
请您提供有关我做错了什么的指导吗? Maybe there are some other system tables that would contain the necessary info?
也许还有其他一些系统表会包含必要的信息? PS I tried to debug ST04 transaction in order to see the tables from which the report selects data, but wasn't able to find those lines of the source code.
PS 我试图调试 ST04 事务以查看报告从中选择数据的表,但无法找到源代码的那些行。
I would deeply appreciate your kind assistance.我将非常感谢您的帮助。
PSS Checked the table MSSDBSTATT - it is empty as well (our enterprise uses MS SQL Database) PSS 检查表 MSDBSTATT - 它也是空的(我们的企业使用 MS SQL 数据库)
The number of reads and writes on a table is a subject specific to the type of database ( MSSQL ) -> please tag your question accordingly.表上的读取和写入次数是特定于数据库类型 ( MSSQL ) 的主题 -> 请相应地标记您的问题。
If you get an answer by an MSSQL expert, which says that the data is stored in some MSSQL tables, then you cannot query those tables using "Open SQL" but you may query them using "native SQL" (ie EXEC SQL
or ADBC for instance).如果您得到 MSSQL 专家的回答,说数据存储在某些 MSSQL 表中,那么您不能使用“Open SQL”查询这些表,但可以使用“本机 SQL”(即
EXEC SQL
或 ADBC for实例)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.