article thumbnail

Impact of Querying Table Information From information_schema

Percona

The percentage in degradation will vary depending on many factors {hardware, workload, number of tables, configuration, etc.}. having to open each table.frm (and in which my test runs, I have purposely read a very high number of tables compared to “Table-open-cache” variable). Results for Percona Server for MySQL 8.0

Cache 98
article thumbnail

SQL Server I/O Basics Chapter #1

SQL Server According to Bob

Books Online (BOL) References: ​​ All BOL references cited in this paper are taken from the Microsoft SQL Server 2000 Books Online site (updated to include SP3 functionality), which can be found at: [link] Click the Product Documentation link. This cache is often supported by a battery-powered backup facility.

Servers 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Examining the Performance Impact of an Adhoc Workload

SQL Performance

It’s one of the things we look at during a health audit, and Kimberly has a great query from her Plan cache and optimizing for adhoc workloads post that’s part of our toolkit. About 1GB of the plan cache is for prepared and procedure plans, and they only take up about 300MB worth of space. DBCC FREEPROCCACHE ; GO. EXEC dbo. [

Cache 54
article thumbnail

SQL Server I/O Basics Chapter #2

SQL Server According to Bob

The ​​ SQL Server 2000 I/O Basics ​​ document is a prerequisite to ​​ the information contained in this ​​ document. and ​​ 2000. DBCC Page Auditing DBCC page auditing is the process of executing common DBCC consistency checks as pages are read from disk.

Servers 40
article thumbnail

A thorough introduction to bpftrace

Brendan Gregg

hardware Hardware counter-based instrumentation. Kernel dynamic tracing of read() bytes bpftrace -e 'kretprobe:vfs_read { @bytes = lhist(retval, 0, 2000, 200) }'. There are also two modes visible, one between 1 and 2 milliseconds, and another between 8 and 16 milliseconds: this sounds like cache hits and cache misses.

Latency 68
article thumbnail

SQL 2016 – It Just Runs Faster: DBCC Scales 7x Better

SQL Server According to Bob

On the same hardware/machine repeat steps 1 thru 3 using an instance of SQL Server 2016 CTP 3.0 Note: You may need to execute the dbcc a second time so buffer cache is hot, eliminating I/O sub-system variants. iID int NOT NULL IDENTITY(1,1) PRIMARY KEY CLUSTERED, strData nvarchar(2000) NOT NULL. ). or newer release. begin tran.

article thumbnail

SQL Server On Linux: Forced Unit Access (Fua) Internals

SQL Server According to Bob

SQL Server relies on Forced-Unit-Access (Fua) I/O subsystem capabilities to provide data durability, detailed in the following documents: SQL Server 2000 I/O Basic and SQL Server I/O Basics, Chapter 2. Device level flushing may have an impact on your I/O caching, read ahead or other behaviors of the storage system. Device Flush.

Servers 90