Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
The Voice of the DBA
 

Daily Coping Tip

Decide to lift people up rather than put them down

I also have a thread at SQLServerCentral dealing with coping mechanisms and resources. Feel free to participate.

For many of you out there working in a new way, I'm including a thought of the day on how to cope in this challenging time from The Action for Happiness Coping Calendar. My items will be on my blog, feel free to share yours.

The Rise of Vector Databases

I had never heard of a vector database. I assumed this was a specialist type of database used for a particular problem domain, like a streaming database or graph database. There is a need for specialized platforms in certain situations, but I wasn't sure what a vector was. The description I saw for a vector database was that they "... are specifically designed to work with the unique characteristics of vector embeddings. They index data in a way that makes it easy to search and retrieve objects according to their numerical values."

That sounds like any database. However, I saw a few more articles on the hype and then some details about the ways in which this type of database is helpful. Essentially, this is a database designed to store the outputs from various Artificial Intelligence (AI) and Machine Learning (ML) models that examine unstructured data. Things like images, video, audio, and even text are turned into numerical values, or vectors. The vector database is designed to help index and then search these vectors.

What is interesting about the possibilities here is that the entire image, video, or whatever isn't turned into a single numerical hash of some sort. Instead, the AI/ML process might identify that Steve Jones is in this video. That he is wearing a hat, or that he's wearing a kilt. If I wanted to search for other videos of Steve Jones, or if this is the type of hat he's wearing, a vector database can help. It's much more powerful than simple tags that might be placed on a video because the details of the content are rendered into vectors which can be compared to other vectors. Not for exact matches, but likely ones.

One interesting example in the second link above is that content could be "vectorized" to determine if an apple in the content refers to a fruit or the company that Steve Jobs and Steve Wozniak made famous. Not easy to do with a tag, but more possible with a vector database.

And lots of data. Lots of vectors specifically, whose inventory is growing all the time. As more software is built to analyze unstructured data, and as organizations collect more unstructured data, the need to apply database techniques to this data becomes important.

For those of us working with databases, I'd expect a lot of the mechanics of dealing with a database would still apply. Things like security, backups, and indexing will be needed with vector databases. We'll get calls about slow performance, missing data, or strange results, and we'll troubleshoot the system. How we do that specifically might vary, but those are just details we'll work out.

I like the idea of new databases, which provide more tools, challenges, and opportunities for us as data professionals. I haven't met anyone using a vector database yet, but I'm looking forward to the day when that happens.

Steve Jones - SSC Editor

Join the debate, and respond to today's editorial on the forums

 
 Featured Contents
SQLServerCentral Article

The Data Fabric – Future of Data Management

Ajay Kumar from SQLServerCentral

This article provides an overview of Data Fabric and its components.

External Article

Ingesting Data from Google Drive to Azure Data Lake Gen2 using Azure Data Factory

Additional Articles from MSSQLTips.com

Learn how to setup, configure and ingest data from Google Drive using Azure Data Factory in this step-by-step article.

External Article

Introducing the MySQL common table expression

Additional Articles from SimpleTalk

As with many relational database management systems, MySQL provides a variety of methods for combining data in a data manipulation language (DML) statement. You can join multiple tables in a single query or add subqueries that pull data in from other tables.

Blog Post

From the SQL Server Central Blogs - When to have multiple data lakes

James Serra from James Serra's Blog

A question I get asked frequently from customers when discussing Data lake architecture is “Should I use one data lake for all my data, or multiple lakes?”. Ideally, you...

Blog Post

From the SQL Server Central Blogs - What is calling my T-SQL scalar function (millions of times)?

Matthew McGiffen from Matthew McGiffen DBA

In this post we look at a method using Extended Events (XE) to identify what parent objects are calling a given SQL function and how often. The background is...

SQL Server 2022 Query Performance Tuning

SQL Server 2022 Query Performance Tuning: Troubleshoot and Optimize Query Performance

Steve Jones - SSC Editor from SQLServerCentral

Troubleshoot slow-performing queries and make them run faster. Database administrators and SQL developers are constantly under pressure to provide more speed. This new edition has been redesigned and rewritten from scratch based on the last 15 years of learning, knowledge, and experience accumulated by the author. The book Includes expanded information on using extended events, automatic execution plan correction, and other advanced features now available in SQL Server.

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

Backup Permissions

 

Think you know the answer? Click here, and find out if you are right.

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Backup to Object Storage

In SQL Server 2022, there is a new Backup to URL feature that allows backups to which cloud storage types?

Answer: Any S3 compatible object storage

Explanation: The new connector in SQL Server 2022 is an S3 REST API compatible connector, so any S3 object storage from any cloud vendor is supported. Ref: SQL Server backup to URL for S3-compatible object storage - https://learn.microsoft.com/en-us/sql/relational-databases/backup-restore/sql-server-backup-to-url-s3-compatible-object-storage?view=sql-server-ver16

Discuss this question and answer on the forums

 

 

 

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.


SQL Server 2017 - Administration
SQL Server has encountered [x] occurrence(s) of I/O requests taking longer - Hi, We have this error from time to time, not all the time but when it does SQL is reporting as high as thousands of occurrences. It happens on random days, but when it does happen the timestamp is always within a couple of minutes of the same time. We never had it from go-live […]
SQL Server 2017 - Development
Problem with a SQL Server Proxy account - I am using an Application which  accesses certain registry hives. the application runs fine as long as I am logged in with a specific user (which was made especially for this purpose) Now the task is, to run this appliation unattended via sql server agent or from SSIS. To do this , I set up […]
SQL 2012 - General
Safa Insert - Hello, i'm looking a way to make safe insert in a table avoiding PK problems. I have a table like this CREATE TABLE [dbo].[Passaggi]( [Code] [varchar](6) NOT NULL, [DataPassaggio] [datetime2](7) NOT NULL, [idServizio] [smallint] NOT NULL, CONSTRAINT [PK_Passaggi] PRIMARY KEY CLUSTERED ( [Code] ASC, [DataPassaggio] ASC, [idServizio] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, […]
SQL Server 2019 - Administration
Access to Jobs history - bug? - Hi all, A few of my users reported a weird issue with access to agent's jobs. I wander if that's the bug in management studio and what I can do about that. If I go with my account with SA privileges to SQL Server Agent > right mouse click on any job > Properties at […]
Append data using migration assistant - Hi friends, I'm migrating data from Oracle to SQL server 2019 using SSMA for Oracle. Faced a lot of hiccups in the process, finally data is migrating however it is very slow (source DB is 500G).  Migration is at 80% but we are running out of memory on the target server. There are a few […]
Table permission grantor - Hi, fn_my_permissions show me grant 'insert' for db user but I couldn't find who is grantor. It looks it's granted from the schema on the whole , where table is located . database_permissions and sp_helprotect couldn't help me. Can it be hidden for sysadmin ? See attach with output. Thank you  in advance for your […]
SQL Server 2019 - Development
Subtract time passed midnight - Hello all! I hope everyone's great I have these columns here that are hour and minute for entry and for exit. I also have a column that let us know if it passed midnight or not. I would like to know the time spent. Here's what I have: My first approach (and I don't know […]
How to Reseed an Identity Column on Temp Table After data has been removed - Hi there We have a temp table in our code that contains an Identity column. Now data will get removed from this table and I want to reorder the ID Column sequentially , so that ID appears as 1,2,3 , 4 etc... /****** Table and Data re-creation script ***********************************************************************************************************************************************/ DROP TABLE IF EXISTS [#zzitems] CREATE […]
SQL Server 2019 Agent Execution of SSIS Package with UNC Paths to Flat Files - I am in the process of migrating my SSIS packages from SQL Server 2016 to 2019.  This is generally a pretty tedious, but fairly simple process.  I am taking the time to move my SQL connections from the classic SQL Native Client driver to the new SQL Server OLE DB driver so I have to […]
SQL Azure - Development
JSON formatting output nested array - Hi Guys, Apologies if this is posted in the wrong forum, but I have a query that moves data from a 'flat' table to a JSON formatted one. Query=========== insert into [SDB].[JSON].[RawJson]([results_incident_OSVC_Incident_ID],[results_incident_OSvC_Refnum],[JsonPayload]) select b.[results_incident_OSVC_Incident_ID], b.results_incident_OSvC_Refnum, (select a.results_incident_OSVC_Incident_ID as 'incident.IncidentID', a.results_incident_OSvC_Refnum as 'incident.RefNum', a.results_incident_Learner_OSvC_Learner_ID as 'incident.Learner.LearnerID', a.results_incident_subject_SUBJECT_CODE as 'incident.subject.SubjectCode', a.results_incident_schools_OSvC_SchoolAppID as 'incident.schools.SchoolAppID', a.results_incident_PrimaryParent_OSvC_P_ParentID as 'incident.PrimaryParent.PrimaryParent', a.results_incident_Application_OSvC_ApplicationID […]
SQL Azure - Administration
Looking for a DML script running tool - My company is still in start-up mode.  Because of this, we have a lot of holes in things like "Administrative Apps".  Right not, service tickets to fix data in the back end are completed by our engineers creating SQL scripts and editing live data.  I want to stop that practice. Does anyone know of any […]
Amazon AWS and other cloud vendors
Can't figure why i extend EBS free tier limit. - To introduce myself, i'm math student (last year), and i would say something between begginer and intermediate programmer. So i made bot that runs 24/7 on EC2 back in November. And i'm updating it since. I had no problem with free tier prior to this month. My EC2 instance have 8gb volume attached on it, […]
Reporting Services
Report server configuration manager question - Hi all, have query related to Report server configuration manager. Click on Report server configuration manager. Server Name is loading, but Report Server Instance is not loading . could you please me to solve this regards            
SQLServerCentral.com Website Issues
Old QotD's Are Crosslinked - I just noticed that when I go to the forum for one of my old question of the day, the link in the first post of the forum goes to another QotD not the actual question for the forum. If you go to this forum.   https://www.sqlservercentral.com/forums/topic/are-we-in-all-these-cities Click the link in the first post "Are we […]
SQL Server 2022 - Development
Select values from second table that are not linked to first table - This is a simplified version of the actual tables and query I'm working with. I feel like it shouldn't be that difficult, maybe i'm not seeing the forest for the trees. I have a product table with 3 products in it. I have a product_user table with  "links" to the products. An entry for each […]
 

 

RSS FeedTwitter

This email has been sent to {email}. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. This newsletter was sent to you because you signed up at SQLServerCentral.com.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -