Insight O' Mate

Use case · DBAs & DevOps

Safe Ad-Hoc Data Inspection for Database Admins & DevOps.

Inspect database state during production incidents, audits, and performance tuning. Generate guaranteed read-only queries with safe scanning and automatic reserved-word handling.

Architecture

100% Local Execution

Privacy

Zero Data Retention

Safety Guard

Read-Only Queries

Credentials

OS Native Keychain

Context & Impact

The challenge vs. the solution

The Bottleneck

Incident triage under pressure leads to dangerous syntax errors

Running non-performant queries like KEYS * in Redis can freeze clusters, while writing ad-hoc DynamoDB expressions under time pressure invites syntax failures.

  • ×Running blocking commands (e.g. KEYS in Redis) that disrupt latency-sensitive production services.
  • ×Accidentally running unbounded scans that saturate database IOPS or trigger high AWS DynamoDB bills.
  • ×Tripping over DynamoDB reserved keywords (like 'status', 'date', 'year') during manual expression crafting.
  • ×Time lost looking up schema specifics for rarely touched auxiliary collections.
With Insight O' Mate

Strictly read-only, non-blocking query intelligence

Insight O’ Mate applies safe querying rules by design. It generates non-blocking SCAN commands for Redis, wraps DynamoDB reserved words automatically, and enforces strictly read-only execution.

  • ✓Never generates mutating commands (INSERT, UPDATE, DELETE, DEL, FLUSHDB).
  • ✓Redis safe: always uses iterative cursor SCAN instead of blocking KEYS *.
  • ✓DynamoDB safe: manages ExpressionAttributeNames and ExpressionAttributeValues automatically.
  • ✓Zero telemetry: database credentials and schema values never leave your terminal/desktop.

Workflow

How database adminswork with Insight O' Mate

01

Connect read-only credentials

Provide connection strings or AWS IAM credentials. All secrets are secured in your OS Keychain.

02

Describe your inspection goal

Type 'How many Redis keys match session:*?' or 'Find DynamoDB items with failed login count > 5'.

03

Execute safely with audit trail

Inspect the generated read-only command and verify live counts without impacting production traffic.

Live Query Translation

Example queries for database admins

Here is how Insight O' Mate translates real-world questions into production-grade database queries:

Prompt:“How many Redis keys match the session:* pattern?”
// Non-blocking iterative SCAN (never blocking KEYS)
let cursor = '0';
let count = 0;
do {
  const reply = await redis.scan(cursor, 'MATCH', 'session:*', 'COUNT', 100);
  cursor = reply[0];
  count += reply[1].length;
} while (cursor !== '0');
console.log('Total matching session keys:', count);

Under the hood: Enforces non-blocking iterative SCAN batches rather than the dangerous KEYS * command which freezes single-threaded Redis.

Prompt:“Show the most recent 10 orders in DynamoDB”
const params = {
  TableName: "Orders",
  IndexName: "StatusCreatedAtIndex",
  KeyConditionExpression: "#s = :status",
  ExpressionAttributeNames: { "#s": "status" },
  ExpressionAttributeValues: { ":status": "COMPLETED" },
  ScanIndexForward: false,
  Limit: 10
};
await docClient.send(new QueryCommand(params));

Under the hood: Applies reverse index ordering (ScanIndexForward: false) and strict limit to avoid costly full table scans.

Prompt:“Find MongoDB users with failed login counts above 5”
db.users.find(
  { failedLoginAttempts: { $gt: 5 } },
  { _id: 1, email: 1, failedLoginAttempts: 1, lastAttemptAt: 1 }
).sort({ failedLoginAttempts: -1 }).limit(50);

Under the hood: Applies field projection and limits to pinpoint security anomalies without pulling heavy document payloads.

Prompt:“Count Firestore documents where status is pending”
const countSnap = await db.collection("jobs")
  .where("status", "==", "pending")
  .count()
  .get();

console.log("Pending queue size:", countSnap.data().count);

Under the hood: Executes lightweight aggregation metadata count without reading document bodies across network boundaries.

FAQ

Frequently asked questions

Is it safe to run Insight O’ Mate against production databases?

Yes. Insight O’ Mate is engineered for safety: it never issues write or delete commands, enforces pagination/limits, and avoids blocking calls like Redis KEYS.

Where are database credentials stored?

In your operating system's native keychain (macOS Keychain, Windows Credential Vault, or Linux libsecret). They are never transmitted over the internet.

Can I inspect the query before running it?

Yes. You can review the exact command or code snippet generated by the AI before executing it against your database.

Start querying your database in plain English

The free plan includes 20 queries per day across MongoDB, Firestore, Redis, DynamoDB, and Excel/CSV. No credit card required. Credentials remain locked in your OS keychain.