0

I'm loading a RDB with dummy data to practice query optimization. MySQL Workbench executed 10,000 INSERTs without returning an error into my customers table. Yet, when I SELECT * from that table I am only getting back exactly 1000 records in the result set. I am using InnoDB as my table engine

According to this link I should have unlimited records available and a 64TB overall sizelimit.. Im inserting 10,000 records with 4 VARCHAR(255)columns and 2 BOOLEAN columns each and I don't think that tops 1 TB. Am I wrong in this assumption?

Is the result grid limited to 1000 records? Is there an alternative to InnoDB which supports foreign keys? Is the problem that VARCHAR(255) is way too large and I need to reduce to something like VARCHAR(50)? What am I not understanding.

THANK YOU IN ADVANCE

Bill Karwin
  • 538,548
  • 86
  • 673
  • 828
MagicGAT
  • 135
  • 7

4 Answers4

0

No, it is not limited to 1000 records. I have InnoDB complex tables of more than 50 million records with blobs and multiple indexes. InnoDB is perfectly fine, you don't have to look for another engine. Could you be more precise about the context where you executed the query? Was it from a programming language? command line mysql client? Another Mysql client?

Thomas Dev
  • 91
  • 2
  • 4
0

Many database query tools limit the number of rows returned. Try selecting some data from a high row number to see if your data is there (it should be).

daShier
  • 2,056
  • 2
  • 8
  • 14
  • When I ran `SELECT` statements on records above _id = 1000 they were displayed no problem. Thank you – MagicGAT Jul 29 '19 at 17:11
0

In the query editor toolbar there's a drop down where you can limit the number of records you want to have returned. Default is 1000, but you can change that in a wide range, including no limitation.

Mike Lischke
  • 48,925
  • 16
  • 119
  • 181
0

I thought this would be useful for future reference: In Microsoft SQL Server Management Studio, under Tools->Options->SQL Server Object Explorer->Value for Select Top <n> Rows Command change the number of rows returned:

SQL Server Management Studio Tools->Options Dialog

daShier
  • 2,056
  • 2
  • 8
  • 14